#include <messages.h>
|
| | PSF_DECLARE_MSG_FACTORY () |
| |
| | 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. More...
|
| |
| | psViewItemUpdate (MsgEntry *me, NetBase::AccessPointers *accessPointers) |
| | Crack out the details from the message. More...
|
| |
| 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 () |
| |
Definition at line 4449 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.
- Parameters
-
| 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. |
Crack out the details from the message.
| psViewItemUpdate::PSF_DECLARE_MSG_FACTORY |
( |
| ) |
|
Converts the message into human readable string.
- Parameters
-
| accessPointers | A struct to a number of access pointers. |
- Returns
- Return a human readable string for the message.
Implements psMessageCracker.
| bool psViewItemUpdate::clearSlot |
indicates if the slot should be cleared
Definition at line 4486 of file messages.h.
| EID psViewItemUpdate::containerID |
The EID for the container we're updating.
Definition at line 4489 of file messages.h.
| csString psViewItemUpdate::icon |
| csString psViewItemUpdate::materialName |
| csString psViewItemUpdate::meshName |
| csString psViewItemUpdate::name |
| EID psViewItemUpdate::ownerID |
| int psViewItemUpdate::slotID |
| int psViewItemUpdate::stackCount |
The documentation for this class was generated from the following file: