Planeshift
Classes | Defines

npcmessages.h File Reference

#include "net/message.h"
#include "net/messages.h"
#include <csutil/csstring.h>
#include <csutil/databuf.h>
#include <csgeom/vector3.h>
#include "util/psstring.h"

Go to the source code of this file.

Classes

struct  psNPCRaceListMessage::NPCRaceInfo_t
class  psAllEntityPosMessage
 The message sent from server to superclient every 2.5 seconds. More...
class  psLocationMessage
 Handle Location changes from server to superclient. More...
class  psMapListMessage
 The 2nd message sent from server to superclient after successful login. More...
class  psNewNPCCreatedMessage
 The message sent from server to superclient after successful NPC Creation. More...
class  psNPCAuthenticationMessage
 The message sent from superclient to server on login. More...
class  psNPCCommandsMessage
 The message sent from server to superclient after successful login. More...
class  psNPCDeletedMessage
 The message sent from server to superclient when a NPC is deleted from the server. More...
class  psNPCListMessage
 The message sent from server to superclient after successful login. More...
class  psNPCRaceListMessage
 The 3rd message sent from server to superclient after successful login. More...
class  psNPCReadyMessage
 The message sent from superclient to server after receiving all entities. More...
class  psNPCWorkDoneMessage
 The message sent from server to superclient upon a successful work done. More...
class  psPathNetworkMessage
 Handle PathNetwork changes from server to superclient. More...
class  psPETCommandMessage
 The message sent from client to server to control the players pet. More...
class  psServerCommandMessage
 Server command message is for using npcclient as a remote command and debugging console for psserver. More...

Defines

#define ALLENTITYPOS_MAX_AMOUNT   (MAX_MESSAGE_SIZE-2)/ALLENTITYPOS_SIZE_PER_ENTITY
#define ALLENTITYPOS_SIZE_PER_ENTITY   (4 * sizeof(float) + sizeof(bool) + sizeof(uint32_t) + 100*sizeof(char))