Planeshift
Public Types | Public Member Functions | Public Attributes

psLootItemMessage Class Reference

Sends messages to the server to indicate what to loot. More...

#include <messages.h>

List of all members.

Public Types

enum  { LOOT_SELF, LOOT_ROLL }

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psLootItemMessage (MsgEntry *message)
 psLootItemMessage (int client, EID entity, int item, int action)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

EID entity
int lootaction
int lootitem

Detailed Description

Sends messages to the server to indicate what to loot.

Definition at line 1815 of file messages.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
LOOT_SELF 
LOOT_ROLL 

Definition at line 1818 of file messages.h.


Constructor & Destructor Documentation

psLootItemMessage::psLootItemMessage ( int  client,
EID  entity,
int  item,
int  action 
)
psLootItemMessage::psLootItemMessage ( MsgEntry message)

Member Function Documentation

psLootItemMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psLootItemMessage::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Converts the message into human readable string.

Parameters:
accessPointersA struct to a number of access pointers.
Returns:
Return a human readable string for the message.

Implements psMessageCracker.


Member Data Documentation

Definition at line 1836 of file messages.h.

Definition at line 1838 of file messages.h.

Definition at line 1837 of file messages.h.


The documentation for this class was generated from the following file: