Planeshift
|
Sends messages to the server to indicate what to loot. More...
#include <messages.h>
Public Types | |
enum | { LOOT_SELF, LOOT_ROLL } |
Public Member Functions | |
PSF_DECLARE_MSG_FACTORY () | |
psLootItemMessage (int client, EID entity, int item, int action) | |
psLootItemMessage (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 | |
EID | entity |
int | lootaction |
int | lootitem |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
Sends messages to the server to indicate what to loot.
Definition at line 1815 of file messages.h.
anonymous enum |
Enumerator | |
---|---|
LOOT_SELF | |
LOOT_ROLL |
Definition at line 1818 of file messages.h.
psLootItemMessage::psLootItemMessage | ( | MsgEntry * | message | ) |
psLootItemMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
|
virtual |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
EID psLootItemMessage::entity |
Definition at line 1836 of file messages.h.
int psLootItemMessage::lootaction |
Definition at line 1838 of file messages.h.
int psLootItemMessage::lootitem |
Definition at line 1837 of file messages.h.