|
Planeshift
|
Sends messages to the client indicating player combat stance. More...
#include <messages.h>
Public Types | |
| enum | playerMode { PEACE = 1, COMBAT, SPELL_CASTING, WORK, DEAD, SIT, OVERWEIGHT, EXHAUSTED, DEFEATED, STATUE, PLAY, WALK, RUN } |
Public Member Functions | |
| PSF_DECLARE_MSG_FACTORY () | |
| psModeMessage (uint32_t clientnum, EID actorID, uint8_t mode, uint32_t value) | |
| psModeMessage (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 | |
| EID | actorID |
| uint8_t | mode |
| uint32_t | value |
| stance if COMBAT, duration if SPELL_CASTING, ... More... | |
Public Attributes inherited from psMessageCracker | |
| int | filterNumber |
| csRef< MsgEntry > | msg |
| bool | valid |
Additional Inherited Members | |
Static Public Attributes inherited from psMessageCracker | |
| static MsgHandler * | msghandler |
Sends messages to the client indicating player combat stance.
Definition at line 1528 of file messages.h.
| Enumerator | |
|---|---|
| PEACE | |
| COMBAT | |
| SPELL_CASTING | |
| WORK | |
| DEAD | |
| SIT | |
| OVERWEIGHT | |
| EXHAUSTED | |
| DEFEATED | |
| STATUE | |
| PLAY | |
| WALK | |
| RUN | |
Definition at line 1544 of file messages.h.
| psModeMessage::psModeMessage | ( | uint32_t | clientnum, |
| EID | actorID, | ||
| uint8_t | mode, | ||
| uint32_t | value | ||
| ) |
| psModeMessage::psModeMessage | ( | MsgEntry * | message | ) |
| psModeMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
|
virtual |
Converts the message into human readable string.
| accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
| EID psModeMessage::actorID |
Definition at line 1562 of file messages.h.
| uint8_t psModeMessage::mode |
Definition at line 1563 of file messages.h.
| uint32_t psModeMessage::value |
stance if COMBAT, duration if SPELL_CASTING, ...
Definition at line 1564 of file messages.h.