Planeshift
|
#include <messages.h>
Public Member Functions | |
PSF_DECLARE_MSG_FACTORY () | |
psSystemMessage (uint32_t clientnum, uint32_t msgtype, const char *fmt,...) | |
psSystemMessage (uint32_t clientnum, uint32_t msgtype, const char *fmt, va_list args) | |
psSystemMessage (MsgEntry *message) | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts 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 | |
csString | msgline |
uint32_t | type |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Protected Member Functions | |
psSystemMessage () | |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
Definition at line 935 of file messages.h.
|
inlineprotected |
Definition at line 938 of file messages.h.
psSystemMessage::psSystemMessage | ( | uint32_t | clientnum, |
uint32_t | msgtype, | ||
const char * | fmt, | ||
... | |||
) |
psSystemMessage::psSystemMessage | ( | uint32_t | clientnum, |
uint32_t | msgtype, | ||
const char * | fmt, | ||
va_list | args | ||
) |
psSystemMessage::psSystemMessage | ( | MsgEntry * | message | ) |
psSystemMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
|
virtual |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csString psSystemMessage::msgline |
Definition at line 940 of file messages.h.
uint32_t psSystemMessage::type |
Definition at line 941 of file messages.h.