_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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 | |
CServerSetup () | |
bool | operator!= (const CServerSetup &rhs) const |
net_message.cpp - The network message code. | |
size_t | Serialize (unsigned char *p) const |
size_t | Deserialize (const unsigned char *p) |
void | Clear () |
bool | operator== (const CServerSetup &rhs) const |
Static Public Member Functions | |
static size_t | Size () |
Public Attributes | |
uint8_t | ResourcesOption |
uint8_t | UnitsOption |
Resources option. More... | |
uint8_t | FogOfWar |
Unit # option. More... | |
uint8_t | Inside |
Fog of war option. More... | |
uint8_t | RevealMap |
Inside option. More... | |
uint8_t | TilesetSelection |
Reveal all the map. More... | |
uint8_t | GameTypeOption |
Tileset select option. More... | |
uint8_t | Difficulty |
Game type option. More... | |
uint8_t | MapRichness |
Difficulty option. More... | |
uint8_t | Opponents |
Map richness option. More... | |
uint8_t | CompOpt [PlayerMax] |
Number of AI opponents. More... | |
uint8_t | Ready [PlayerMax] |
Free slot option selection {"Available", "Computer", "Closed" }. More... | |
uint8_t | Race [PlayerMax] |
Client ready state. More... | |
Multiplayer game setup menu state
|
inline |
void CServerSetup::Clear | ( | ) |
size_t CServerSetup::Deserialize | ( | const unsigned char * | p | ) |
|
inline |
bool CServerSetup::operator== | ( | const CServerSetup & | rhs | ) | const |
size_t CServerSetup::Serialize | ( | unsigned char * | p | ) | const |
|
inlinestatic |
uint8_t CServerSetup::CompOpt[PlayerMax] |
Number of AI opponents.
uint8_t CServerSetup::Difficulty |
Game type option.
uint8_t CServerSetup::FogOfWar |
Unit # option.
uint8_t CServerSetup::GameTypeOption |
Tileset select option.
uint8_t CServerSetup::Inside |
Fog of war option.
uint8_t CServerSetup::MapRichness |
Difficulty option.
uint8_t CServerSetup::Opponents |
Map richness option.
uint8_t CServerSetup::Race[PlayerMax] |
Client ready state.
uint8_t CServerSetup::Ready[PlayerMax] |
Free slot option selection {"Available", "Computer", "Closed" }.
uint8_t CServerSetup::ResourcesOption |
uint8_t CServerSetup::RevealMap |
Inside option.
uint8_t CServerSetup::TilesetSelection |
Reveal all the map.
uint8_t CServerSetup::UnitsOption |
Resources option.