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

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CInitMessage_Welcome Class Reference

#include <net_message.h>

Public Member Functions

const CInitMessage_HeaderGetHeader () const
 
net_message.cpp - The network message code.
 CInitMessage_Welcome ()
 
const unsigned char * Serialize () const
 
void Deserialize (const unsigned char *p)
 

Static Public Member Functions

static size_t Size ()
 

Public Attributes

CNetworkHost hosts [PlayerMax]
 
uint16_t NetHostSlot
 Participants information. More...
 
int32_t Lag
 slot for the receiving host in the server host array More...
 
int32_t gameCyclesPerUpdate
 Lag time. More...
 

Constructor & Destructor Documentation

◆ CInitMessage_Welcome()

CInitMessage_Welcome::CInitMessage_Welcome ( )

Member Function Documentation

◆ Deserialize()

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

◆ GetHeader()

const CInitMessage_Header& CInitMessage_Welcome::GetHeader ( ) const
inline

◆ Serialize()

const unsigned char * CInitMessage_Welcome::Serialize ( ) const

◆ Size()

static size_t CInitMessage_Welcome::Size ( )
inlinestatic

Member Data Documentation

◆ gameCyclesPerUpdate

int32_t CInitMessage_Welcome::gameCyclesPerUpdate

Lag time.

◆ hosts

CNetworkHost CInitMessage_Welcome::hosts[PlayerMax]

◆ Lag

int32_t CInitMessage_Welcome::Lag

slot for the receiving host in the server host array

◆ NetHostSlot

uint16_t CInitMessage_Welcome::NetHostSlot

Participants information.


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.