NetBuffer_t Struct Reference
[Messaging System]

The buffer type used to store messages sent and received over the network. More...

#include <message.h>


Data Fields

Uint8 data [510]
 The array of arbitrary data.
Sint16 length
 The length of the message in bytes.


Detailed Description

The buffer type used to store messages sent and received over the network.

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.


Field Documentation

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().


The documentation for this struct was generated from the following file:
Generated on Mon May 28 04:41:44 2007 for Retro Tank Super Attack by  doxygen 1.5.2