|
| void | Add (const char *str) |
| | Add a string to the current psMessageBytes buffer. More...
|
| |
| void | Add (const float f) |
| | Add a float to the current psMessageBytes buffer. More...
|
| |
| void | Add (const uint16_t s) |
| | Add a double the current psMessageBytes buffer. More...
|
| |
| void | Add (const int16_t s) |
| | Add signed 16 bit int to current psMessageBytes buffer. More...
|
| |
| void | Add (const int32_t i) |
| | Add unsigned 32Bit Int to current psMessageBytes buffer. More...
|
| |
| void | Add (const uint32_t i) |
| | Add unsigned 4byte int to current psMessageBytes buffer. More...
|
| |
| void | Add (const uint8_t i) |
| | Add 8bit unsigned int to current psMessageBytes buffer. More...
|
| |
| void | Add (const int8_t i) |
| | Add 8 bit signed int to buffer. More...
|
| |
| void | Add (const bool b) |
| | Add bool to current psMessageBytes buffer. More...
|
| |
| void | Add (const csVector2 &v) |
| | Add an x,y vector to the buffer. More...
|
| |
| void | Add (const csVector3 &v) |
| | Add an x,y,z vector to the buffer. More...
|
| |
| void | Add (const csVector4 &v) |
| | Add an x,y,z,w vector to the buffer. More...
|
| |
| void | Add (const iSector *sector, const csStringSet *msgstrings, const csStringHashReversible *msgstringshash=NULL) |
| |
| void | Add (const iSector *sector) |
| |
| void | Add (const void *datastream, const uint32_t length) |
| | Add a processed buffer of some kind; should only be used by files and the like. More...
|
| |
| void | AddPointer (const uintptr_t i) |
| | Add a pointer to the current psMessageBytes buffer. Pointers must never be sent over the network! More...
|
| |
| void | ClipToCurrentSize () |
| |
| bool | GetBool () |
| | Get a bool from the current psMessageBytes buffer. More...
|
| |
| void * | GetBufferPointerUnsafe (uint32_t &length) |
| |
| float | GetFloat () |
| | Get a float from the current psMessageBytes buffer. More...
|
| |
| int16_t | GetInt16 () |
| | Get a signed 16bit Integer from the current psMessageBytes buffer. More...
|
| |
| int32_t | GetInt32 () |
| | Get a signed 32Bit Integer from the current psMessageBytes buffer. More...
|
| |
| int8_t | GetInt8 () |
| | Get a signed 8bit Integer from the current psMessageBytes buffer. More...
|
| |
| bool | GetPending () |
| |
| uintptr_t | GetPointer () |
| | Get a pointer from the current psMessageBytes buffer. Pointers must never be sent over the network! More...
|
| |
| iSector * | GetSector (const csStringSet *msgstrings, const csStringHashReversible *msgstringshash, iEngine *engine) |
| |
| iSector * | GetSector () |
| |
| int | GetSequenceNumber () |
| |
| size_t | GetSize () |
| | Return the size of the databuffer. More...
|
| |
| const char * | GetStr () |
| | Get a null-terminated string from the current psMessageBytes buffer. More...
|
| |
| uint8_t | GetType () |
| |
| uint16_t | GetUInt16 () |
| | Get a unsigned 16bit Integer from the curren psMessageBytes buffer. More...
|
| |
| uint32_t | GetUInt32 () |
| | Get an unsigned 4byte int from the current psMessageBytes buffer. More...
|
| |
| uint8_t | GetUInt8 () |
| | Get an unsigned 8Bit Integer from the current psMessageBytes buffer. More...
|
| |
| csVector2 | GetVector2 () |
| |
| csVector3 | GetVector3 () |
| |
| csVector4 | GetVector4 () |
| |
| bool | HasMore (int howMuchMore=1) |
| | Check if we have more data in the current psMessageBytes buffer. More...
|
| |
| bool | IsEmpty () |
| | Check if we are at the end of the current psMessageBytes buffer. More...
|
| |
| | MsgEntry (size_t datasize=0, uint8_t msgpriority=PRIORITY_HIGH, uint8_t sequence=0) |
| |
| | MsgEntry (const psMessageBytes *msg) |
| |
| | MsgEntry (const MsgEntry *me) |
| |
| void | Reset (int pos=0) |
| |
| void | SetPending (bool) |
| |
| void | SetType (uint8_t type) |
| |
| virtual | ~MsgEntry () |
| |
| | csSyncRefCount () |
| | Initialize object and set reference to 1. More...
|
| |
| void | DecRef () |
| | Decrease the number of references to this object. More...
|
| |
| int32 | GetRefCount () |
| | Get the reference count (only for debugging). More...
|
| |
| void | IncRef () |
| | Increase the number of references to this object. More...
|
| |
The structure of 1 queue entry (pointer to a message)
Definition at line 143 of file message.h.