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

Public Member Functions | List of all members
CClient Class Reference

Public Member Functions

void SetServerHost (const CHost &host)
 
int GetNetworkState () const
 

netconnect.cpp - The network high level connection code.

void Init (const std::string &name, CUDPSocket *socket, CServerSetup *serverSetup, CServerSetup *localSetup, unsigned long tick)
 
bool Parse (const unsigned char *buf, const CHost &host)
 
bool Update (unsigned long tick)
 
void DetachFromServer ()
 

Member Function Documentation

◆ DetachFromServer()

void CClient::DetachFromServer ( )

◆ GetNetworkState()

int CClient::GetNetworkState ( ) const
inline

◆ Init()

void CClient::Init ( const std::string &  name,
CUDPSocket socket,
CServerSetup serverSetup,
CServerSetup localSetup,
unsigned long  tick 
)

◆ Parse()

bool CClient::Parse ( const unsigned char *  buf,
const CHost host 
)

◆ SetServerHost()

void CClient::SetServerHost ( const CHost host)
inline

◆ Update()

bool CClient::Update ( unsigned long  tick)

The documentation for this class was generated from the following file:
(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.