$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

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 ResourcesOption
Uint32 UnitsOption
 Resources option.
Uint32 FogOfWar
 Unit # option.
Uint32 RevealMap
 Fog of war option.
Uint32 TilesetSelection
 Reveal all the map.
Uint32 GameTypeOption
 Tileset select option.
Uint32 Difficulty
 Game type option.
Uint32 MapRichness
 Difficulty option.
Uint32 CompOpt [PlayerMax]
 Map richness option.
Uint32 Ready [PlayerMax]
 Free slot option selection {"Available", "Computer", "Closed" }.
Uint32 Race [PlayerMax]
 Client ready state.
Uint32 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 CServerSetup::CompOpt[PlayerMax]

Map richness option.

Uint32 CServerSetup::Ready[PlayerMax]

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

Uint32 CServerSetup::Race[PlayerMax]

Client ready state.

Uint32 CServerSetup::LastFrame[PlayerMax]

Client race selection.


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