_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <net_message.h>
Public Member Functions | |
CNetworkPacketHeader () | |
net_message.cpp - The network message code. | |
size_t | Serialize (unsigned char *buf) const |
size_t | Deserialize (const unsigned char *buf) |
Static Public Member Functions | |
static size_t | Size () |
Public Attributes | |
uint8_t | Type [MaxNetworkCommands] |
uint8_t | Cycle |
Commands in packet. More... | |
uint8_t | OrigPlayer |
Destination game cycle. More... | |
Network packet header.
Header for the packet.
|
inline |
size_t CNetworkPacketHeader::Deserialize | ( | const unsigned char * | buf | ) |
size_t CNetworkPacketHeader::Serialize | ( | unsigned char * | buf | ) | const |
|
inlinestatic |
uint8_t CNetworkPacketHeader::Cycle |
Commands in packet.
uint8_t CNetworkPacketHeader::OrigPlayer |
Destination game cycle.
uint8_t CNetworkPacketHeader::Type[MaxNetworkCommands] |