#include <message.h>
Data Fields | |
Uint8 | data [510] |
The array of arbitrary data. | |
Sint16 | length |
The length of the message in bytes. |
The size of this struct is a power of two for efficient use of dynamically allocated memory.
Definition at line 206 of file message.h.
Uint8 NetBuffer_t::data[510] |
The array of arbitrary data.
Definition at line 210 of file message.h.
Referenced by AddMessage(), AppendPlayerData(), CalculateOffset(), HandleAck(), HandleArea(), HandleConnAccept(), HandleConnDisconn(), HandleConnReq(), HandleGameOption(), HandleObstacle(), HandlePlayerSpawn(), HandlePlayerUpdate(), HandleScoreUpdate(), MakeAreaBuffers(), MakeBuffers(), MsgFailDropConnection(), ReceiveMessages(), Send(), SendDisconnectMessage(), SendScoreUpdate(), and SendSpawnRequest().
Sint16 NetBuffer_t::length |
The length of the message in bytes.
A negative value is interpreted as an error.
Definition at line 215 of file message.h.
Referenced by AddMessage(), AppendPlayerData(), BufferNew(), CalculateOffset(), HandleAck(), HandleArea(), HandleConnAccept(), HandleConnDeny(), HandleGameOption(), HandlePlayerSpawn(), HandlePlayerUpdate(), HandleScoreUpdate(), MakeBuffers(), MsgFailDropConnection(), ReceiveMessages(), Send(), SendDisconnectMessage(), SendScoreUpdate(), SendSpawnRequest(), and ServiceGameConfig().