|
Planeshift
|
Messages that are sent to/from the ActionManager. More...
#include <messages.h>
Public Types | |
| enum | commands { QUERY, NOT_HANDLED, SAVE, LIST, LIST_QUERY, DELETE_ACTION, RELOAD_CACHE } |
Public Member Functions | |
| PSF_DECLARE_MSG_FACTORY () | |
| psMapActionMessage (uint32_t clientnum, uint32_t cmd, const char *xml) | |
| psMapActionMessage (MsgEntry *message) | |
| virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
| Converts the message into human readable string. More... | |
Public Member Functions inherited from psMessageCracker | |
| 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 | |
| csStringFast< 1024 > | actionXML |
| uint32_t | command |
Public Attributes inherited from psMessageCracker | |
| int | filterNumber |
| csRef< MsgEntry > | msg |
| bool | valid |
Additional Inherited Members | |
Static Public Attributes inherited from psMessageCracker | |
| static MsgHandler * | msghandler |
Messages that are sent to/from the ActionManager.
Definition at line 1464 of file messages.h.
| Enumerator | |
|---|---|
| QUERY | |
| NOT_HANDLED | |
| SAVE | |
| LIST | |
| LIST_QUERY | |
| DELETE_ACTION | |
| RELOAD_CACHE | |
Definition at line 1469 of file messages.h.
| psMapActionMessage::psMapActionMessage | ( | uint32_t | clientnum, |
| uint32_t | cmd, | ||
| const char * | xml | ||
| ) |
| psMapActionMessage::psMapActionMessage | ( | MsgEntry * | message | ) |
| psMapActionMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
|
virtual |
Converts the message into human readable string.
| accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
| csStringFast<1024> psMapActionMessage::actionXML |
Definition at line 1480 of file messages.h.
| uint32_t psMapActionMessage::command |
Definition at line 1468 of file messages.h.