_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CServerSetup Class Reference

#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...
 

Detailed Description

Multiplayer game setup menu state

Constructor & Destructor Documentation

CServerSetup::CServerSetup ( )
inline

Member Function Documentation

void CServerSetup::Clear ( )
size_t CServerSetup::Deserialize ( const unsigned char *  p)
bool CServerSetup::operator!= ( const CServerSetup rhs) const
inline
bool CServerSetup::operator== ( const CServerSetup rhs) const
size_t CServerSetup::Serialize ( unsigned char *  p) const
static size_t CServerSetup::Size ( )
inlinestatic

Member Data Documentation

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.


The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.