____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

CNetworkHost Class Reference

#include <netconnect.h>

List of all members.

Public Member Functions

unsigned char * Serialize () const
void Deserialize (const unsigned char *p)

Static Public Member Functions

static size_t Size ()

Public Attributes

Uint32 Host
 Host address.
Uint16 Port
 Port on host.
Uint16 PlyNr
 Player nummer.
char PlyName [16]
 Name of player.


Detailed Description

Network systems active in current game.

Definition at line 65 of file netconnect.h.


Member Function Documentation

unsigned char * CNetworkHost::Serialize (  )  const

Definition at line 101 of file netconnect.cpp.

References Host, PlyName, PlyNr, Port, and Size().

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

Definition at line 117 of file netconnect.cpp.

References Host, PlyName, PlyNr, and Port.

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

Definition at line 69 of file netconnect.h.

Referenced by CInitMessage::Deserialize(), CInitMessage::Serialize(), and Serialize().


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6