Planeshift
|
The message sent from client to server on login. More...
#include <messages.h>
Public Member Functions | |
bool | NetVersionOk () |
psAuthenticationMessage (MsgEntry *message) | |
This constructor receives a PS Message struct and cracks it apart to provide more easily usable fields. | |
psAuthenticationMessage (uint32_t clientnum, const char *userid, const char *password, const char *os, uint16 os_ver_major, uint16 os_ver_minor, const char *os_platform, const char *machine_type, const char *gfxcard, const char *gfxversion, const char *sPassword256="", uint32_t version=PS_NETVERSION) | |
This function creates a PS Message struct given a userid and password to send out. | |
PSF_DECLARE_MSG_FACTORY () | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts the message into human readable string. | |
Public Attributes | |
csString | gfxcard_ |
csString | gfxversion_ |
csString | machine_type |
uint32_t | netversion |
csString | os_ |
csString | os_platform |
uint16 | os_ver_major |
uint16 | os_ver_minor |
csString | sAddr |
csString | sPassword |
csString | sPassword256 |
csString | sUser |
The message sent from client to server on login.
Definition at line 587 of file messages.h.
psAuthenticationMessage::psAuthenticationMessage | ( | uint32_t | clientnum, |
const char * | userid, | ||
const char * | password, | ||
const char * | os, | ||
uint16 | os_ver_major, | ||
uint16 | os_ver_minor, | ||
const char * | os_platform, | ||
const char * | machine_type, | ||
const char * | gfxcard, | ||
const char * | gfxversion, | ||
const char * | sPassword256 = "" , |
||
uint32_t | version = PS_NETVERSION |
||
) |
This function creates a PS Message struct given a userid and password to send out.
This would be used for outgoing, new message creation when a user wants to log in.
psAuthenticationMessage::psAuthenticationMessage | ( | MsgEntry * | message | ) |
This constructor receives a PS Message struct and cracks it apart to provide more easily usable fields.
It is intended for use on incoming messages.
bool psAuthenticationMessage::NetVersionOk | ( | ) |
Reimplemented in psNPCAuthenticationMessage.
psAuthenticationMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
Reimplemented in psNPCAuthenticationMessage.
virtual csString psAuthenticationMessage::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csString psAuthenticationMessage::gfxcard_ |
Definition at line 591 of file messages.h.
csString psAuthenticationMessage::gfxversion_ |
Definition at line 591 of file messages.h.
Definition at line 591 of file messages.h.
uint32_t psAuthenticationMessage::netversion |
Definition at line 590 of file messages.h.
csString psAuthenticationMessage::os_ |
Definition at line 591 of file messages.h.
csString psAuthenticationMessage::os_platform |
Definition at line 591 of file messages.h.
Definition at line 599 of file messages.h.
Definition at line 599 of file messages.h.
csString psAuthenticationMessage::sAddr |
Definition at line 591 of file messages.h.
csString psAuthenticationMessage::sPassword |
Definition at line 591 of file messages.h.
Definition at line 591 of file messages.h.
csString psAuthenticationMessage::sUser |
Definition at line 591 of file messages.h.