_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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 | |
CNetworkHost () | |
bool | IsValid () |
net_message.cpp - The network message code. | |
size_t | Serialize (unsigned char *buf) const |
size_t | Deserialize (const unsigned char *buf) |
void | Clear () |
void | SetName (const char *name) |
Static Public Member Functions | |
static size_t | Size () |
Public Attributes | |
uint32_t | Host |
uint16_t | Port |
Host address. More... | |
uint16_t | PlyNr |
Port on host. More... | |
char | PlyName [NetPlayerNameSize] |
Player number. More... | |
Network systems active in current game.
|
inline |
void CNetworkHost::Clear | ( | ) |
size_t CNetworkHost::Deserialize | ( | const unsigned char * | buf | ) |
|
inline |
size_t CNetworkHost::Serialize | ( | unsigned char * | buf | ) | const |
void CNetworkHost::SetName | ( | const char * | name | ) |
|
inlinestatic |
uint32_t CNetworkHost::Host |
char CNetworkHost::PlyName[NetPlayerNameSize] |
Player number.
uint16_t CNetworkHost::PlyNr |
Port on host.
uint16_t CNetworkHost::Port |
Host address.