Planeshift
|
this struct represents the data that is sent out through the network (all additional stuff should go into the struct MsgEntry More...
#include <message.h>
Public Member Functions | |
size_t | GetSize () const |
size_t | GetTotalSize () const |
void | SetSize (size_t len) |
void | SetTotalSize (size_t len) |
Public Attributes | |
char | payload [0] |
this can be used as a pointer to the data | |
uint16_t | size |
the size of the following data | |
msgtype | type |
Version. |
this struct represents the data that is sent out through the network (all additional stuff should go into the struct MsgEntry
char psMessageBytes::payload[0] |
uint16_t psMessageBytes::size |