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. More... | |
PSF_DECLARE_MSG_FACTORY () | |
psNPCRaceListMessage (uint32_t clientToken, int count) | |
Create psMessageBytes struct for outbound use. More... | |
psNPCRaceListMessage (MsgEntry *message) | |
Crack incoming psMessageBytes struct for inbound use. More... | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Convert the message into human readable string. More... | |
![]() | |
void | FireEvent () |
Publishes the message to the local program. More... | |
virtual csString | GetMessageTypeName () const =0 |
Gets the name of the message type. More... | |
void | Multicast (csArray< PublishDestination > &multi, uint32_t except, float range) |
Multicasts the message to all current connections. More... | |
psMessageCracker () | |
void | SendMessage () |
Sends the message to the client/server. More... | |
virtual | ~psMessageCracker () |
Public Attributes | |
csArray< NPCRaceInfo_t > | raceInfo |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
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 |
Convert the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csArray<NPCRaceInfo_t> psNPCRaceListMessage::raceInfo |
Definition at line 169 of file npcmessages.h.