$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <netconnect.h>
Public Member Functions | |
netconnect.cpp - The network high level connection code. | |
unsigned char * | Serialize () const |
void | Deserialize (const unsigned char *p) |
Static Public Member Functions | |
static size_t | Size () |
Public Attributes | |
uint8_t | Type |
uint8_t | SubType |
Init message type. | |
int32_t | Stratagus |
Init message subtype. | |
int32_t | Version |
Stratagus engine version. | |
uint32_t | ConfUID |
Network protocol version. | |
uint32_t | MapUID |
Engine configuration UID (Checksum) FIXME: not available yet. | |
int32_t | Lag |
UID of map to play. FIXME: add MAP name, path, etc. | |
int32_t | Updates |
Lag time. | |
uint8_t | HostsCount |
Update frequency. | |
union { | |
CNetworkHost Hosts [PlayerMax] | |
char MapPath [256] | |
Participant information. | |
CServerSetup State | |
} | u |
Number of hosts. |
unsigned char * CInitMessage::Serialize | ( | ) | const |
void CInitMessage::Deserialize | ( | const unsigned char * | p | ) |
static size_t CInitMessage::Size | ( | ) | [inline, static] |
uint8_t CInitMessage::Type |
uint8_t CInitMessage::SubType |
Init message type.
int32_t CInitMessage::Stratagus |
Init message subtype.
int32_t CInitMessage::Version |
Stratagus engine version.
uint32_t CInitMessage::ConfUID |
Network protocol version.
uint32_t CInitMessage::MapUID |
Engine configuration UID (Checksum) FIXME: not available yet.
int32_t CInitMessage::Lag |
UID of map to play. FIXME: add MAP name, path, etc.
int32_t CInitMessage::Updates |
Lag time.
uint8_t CInitMessage::HostsCount |
Update frequency.
CNetworkHost CInitMessage::Hosts[PlayerMax] |
char CInitMessage::MapPath[256] |
Participant information.
union { ... } CInitMessage::u |
Number of hosts.