$treeview $search $mathjax
Stratagus
2.2.6
$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 | Type |
Uint8 | SubType |
Init message type. | |
Sint32 | Stratagus |
Init message subtype. | |
Sint32 | Version |
Stratagus engine version. | |
Uint32 | ConfUID |
Network protocol version. | |
Uint32 | MapUID |
Engine configuration UID (Checksum) FIXME: not available yet. | |
Sint32 | Lag |
UID of map to play. FIXME: add MAP name, path, etc. | |
Sint32 | Updates |
Lag time. | |
Uint8 | 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 CInitMessage::Type |
Uint8 CInitMessage::SubType |
Init message type.
Sint32 CInitMessage::Stratagus |
Init message subtype.
Sint32 CInitMessage::Version |
Stratagus engine version.
Uint32 CInitMessage::ConfUID |
Network protocol version.
Uint32 CInitMessage::MapUID |
Engine configuration UID (Checksum) FIXME: not available yet.
Sint32 CInitMessage::Lag |
UID of map to play. FIXME: add MAP name, path, etc.
Sint32 CInitMessage::Updates |
Lag time.
Uint8 CInitMessage::HostsCount |
Update frequency.
CNetworkHost CInitMessage::Hosts[PlayerMax] |
char CInitMessage::MapPath[256] |
Participant information.
union { ... } CInitMessage::u |
Number of hosts.