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

Public Attributes | Static Public Attributes | List of all members
CNetworkParameter Class Reference

#include <network.h>

Public Attributes

std::string localHost
 
unsigned int localPort
 Local network address to use. More...
 
unsigned int gameCyclesPerUpdate
 Local network port to use. More...
 
unsigned int NetworkLag
 Network update each # game cycles. More...
 
unsigned int timeoutInS
 Network lag (# update cycles) More...
 

Static Public Attributes

static const int defaultPort = 6660
 Number of seconds until player times out. More...
 

network.cpp - The network.

static CNetworkParameter Instance
 Default communication port. More...
 
 CNetworkParameter ()
 
void FixValues ()
 

Constructor & Destructor Documentation

◆ CNetworkParameter()

CNetworkParameter::CNetworkParameter ( )

Member Function Documentation

◆ FixValues()

void CNetworkParameter::FixValues ( )

Member Data Documentation

◆ defaultPort

const int CNetworkParameter::defaultPort = 6660
static

Number of seconds until player times out.

◆ gameCyclesPerUpdate

unsigned int CNetworkParameter::gameCyclesPerUpdate

Local network port to use.

◆ Instance

CNetworkParameter CNetworkParameter::Instance
static

Default communication port.

◆ localHost

std::string CNetworkParameter::localHost

◆ localPort

unsigned int CNetworkParameter::localPort

Local network address to use.

◆ NetworkLag

unsigned int CNetworkParameter::NetworkLag

Network update each # game cycles.

◆ timeoutInS

unsigned int CNetworkParameter::timeoutInS

Network lag (# update cycles)


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.