Planeshift
|
The 3rd message sent from server to superclient after successful login. More...
#include <npcmessages.h>
Classes | |
struct | NPCRaceInfo_t |
Public Member Functions | |
void | AddRace (csString &name, float walkSpeed, float runSpeed, const csVector3 &size, float scale, bool last) |
Add Race Info to the message. | |
PSF_DECLARE_MSG_FACTORY () | |
psNPCRaceListMessage (MsgEntry *message) | |
Crack incoming psMessageBytes struct for inbound use. | |
psNPCRaceListMessage (uint32_t clientToken, int count) | |
Create psMessageBytes struct for outbound use. | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Convert the message into human readable string. | |
Public Attributes | |
csArray< NPCRaceInfo_t > | raceInfo |
The 3rd message sent from server to superclient after successful login.
It is a list of races and its properties.
Definition at line 155 of file npcmessages.h.
psNPCRaceListMessage::psNPCRaceListMessage | ( | uint32_t | clientToken, |
int | count | ||
) |
Create psMessageBytes struct for outbound use.
psNPCRaceListMessage::psNPCRaceListMessage | ( | MsgEntry * | message | ) |
Crack incoming psMessageBytes struct for inbound use.
void psNPCRaceListMessage::AddRace | ( | csString & | name, |
float | walkSpeed, | ||
float | runSpeed, | ||
const csVector3 & | size, | ||
float | scale, | ||
bool | last | ||
) |
Add Race Info to the message.
psNPCRaceListMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
virtual csString psNPCRaceListMessage::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Convert the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
Definition at line 169 of file npcmessages.h.