Planeshift
|
#include <messages.h>
Public Member Functions | |
PSF_DECLARE_MSG_FACTORY () | |
psViewItemUpdate (MsgEntry *me, NetBase::AccessPointers *accessPointers) | |
Crack out the details from the message. | |
psViewItemUpdate (uint32_t to, EID containerID, uint32_t slotID, bool clearSlot, const char *itemName, const char *icon, const char *meshName, const char *materialName, uint32_t stackCount, EID ownerID, csStringSet *msgstrings) | |
Constructs a message to go out to a client. | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts the message into human readable string. | |
Public Attributes | |
bool | clearSlot |
indicates if the slot should be cleared | |
EID | containerID |
The EID for the container we're updating. | |
csString | icon |
csString | materialName |
csString | meshName |
csString | name |
Item info. | |
EID | ownerID |
int | slotID |
int | stackCount |
Definition at line 4446 of file messages.h.
psViewItemUpdate::psViewItemUpdate | ( | uint32_t | to, |
EID | containerID, | ||
uint32_t | slotID, | ||
bool | clearSlot, | ||
const char * | itemName, | ||
const char * | icon, | ||
const char * | meshName, | ||
const char * | materialName, | ||
uint32_t | stackCount, | ||
EID | ownerID, | ||
csStringSet * | msgstrings | ||
) |
Constructs a message to go out to a client.
to | The desitination client. |
containerID | The destination container's entity ID (it's always a world container). |
slotID | The slot in the container where to make the update. |
clearSlot | Boolean that indicates if the update is to clear out the slot. |
itemName | The name of the item requested. |
icon | The 2D gui image to draw for this item. |
meshName | The mesh name. |
materialName | the name of the material to apply to this item when in the 3d world. |
stackCount | The number of items in the stack. |
ownerID | The GEM entity ID of the owner |
msgstrings | A message strings cache. |
psViewItemUpdate::psViewItemUpdate | ( | MsgEntry * | me, |
NetBase::AccessPointers * | accessPointers | ||
) |
Crack out the details from the message.
psViewItemUpdate::PSF_DECLARE_MSG_FACTORY | ( | ) |
virtual csString psViewItemUpdate::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
indicates if the slot should be cleared
Definition at line 4483 of file messages.h.
The EID for the container we're updating.
Definition at line 4486 of file messages.h.
csString psViewItemUpdate::icon |
Definition at line 4490 of file messages.h.
csString psViewItemUpdate::materialName |
Definition at line 4492 of file messages.h.
csString psViewItemUpdate::meshName |
Definition at line 4491 of file messages.h.
csString psViewItemUpdate::name |
Item info.
Definition at line 4489 of file messages.h.
Definition at line 4495 of file messages.h.
Definition at line 4493 of file messages.h.
Definition at line 4494 of file messages.h.