$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

CServerSetup Class Reference

#include <netconnect.h>

List of all members.


Public Member Functions

void Clear ()
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

uint32_t ResourcesOption
uint32_t UnitsOption
 Resources option.
uint32_t FogOfWar
 Unit # option.
uint32_t RevealMap
 Fog of war option.
uint32_t TilesetSelection
 Reveal all the map.
uint32_t GameTypeOption
 Tileset select option.
uint32_t Difficulty
 Game type option.
uint32_t MapRichness
 Difficulty option.
uint32_t CompOpt [PlayerMax]
 Map richness option.
uint32_t Ready [PlayerMax]
 Free slot option selection {"Available", "Computer", "Closed" }.
uint32_t Race [PlayerMax]
 Client ready state.
uint32_t LastFrame [PlayerMax]
 Client race selection.

Detailed Description

Multiplayer game setup menu state

Member Function Documentation

unsigned char * CServerSetup::Serialize (  )  const

void CServerSetup::Deserialize ( const unsigned char *  p  ) 

static size_t CServerSetup::Size (  )  [inline, static]

void CServerSetup::Clear (  )  [inline]


Member Data Documentation

Resources option.

Unit # option.

Fog of war option.

Reveal all the map.

Tileset select option.

Game type option.

Difficulty option.

uint32_t CServerSetup::CompOpt[PlayerMax]

Map richness option.

uint32_t CServerSetup::Ready[PlayerMax]

Free slot option selection {"Available", "Computer", "Closed" }.

uint32_t CServerSetup::Race[PlayerMax]

Client ready state.

uint32_t CServerSetup::LastFrame[PlayerMax]

Client race selection.


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.