____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
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"#include <netconnect.h>
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. | |
Definition at line 65 of file netconnect.h.
| unsigned char * CNetworkHost::Serialize | ( | ) | const |
| void CNetworkHost::Deserialize | ( | const unsigned char * | p | ) |
| static size_t CNetworkHost::Size | ( | ) | [inline, static] |
Definition at line 69 of file netconnect.h.
Referenced by CInitMessage::Deserialize(), CInitMessage::Serialize(), and Serialize().
| Uint32 CNetworkHost::Host |
Host address.
Definition at line 71 of file netconnect.h.
Referenced by ClientParseAsync(), ClientParseConnecting(), ClientParseSynced(), Deserialize(), KickDeadClient(), NetworkInitClientConnect(), NetworkInitServerConnect(), NetworkServerStartGame(), Serialize(), ServerParseHello(), and ServerParseResync().
| Uint16 CNetworkHost::Port |
Port on host.
Definition at line 72 of file netconnect.h.
Referenced by ClientParseAsync(), ClientParseConnecting(), ClientParseSynced(), Deserialize(), KickDeadClient(), NetworkInitClientConnect(), NetworkInitServerConnect(), NetworkServerStartGame(), Serialize(), ServerParseHello(), and ServerParseResync().
| Uint16 CNetworkHost::PlyNr |
Player nummer.
Definition at line 73 of file netconnect.h.
Referenced by ClientParseAsync(), ClientParseConnecting(), ClientParseSynced(), Deserialize(), InitNetwork2(), KickDeadClient(), NetworkConnectSetupGame(), NetworkEvent(), NetworkGamePrepareGameSettings(), NetworkInitClientConnect(), NetworkInitServerConnect(), NetworkRecover(), NetworkServerStartGame(), NetworkSyncCommands(), Serialize(), ServerParseHello(), and ServerParseResync().
| char CNetworkHost::PlyName[16] |
Name of player.
Definition at line 74 of file netconnect.h.
Referenced by ClientParseAsync(), ClientParseConnecting(), ClientParseSynced(), Deserialize(), NetworkInitServerConnect(), NetworkProcessClientRequest(), NetworkServerStartGame(), Serialize(), ServerParseHello(), and ServerParseResync().
1.5.6