#include <LANAPI.h>
Public Types | |
| enum | { MSG_REQUEST_LOCATIONS , MSG_GAME_ANNOUNCE , MSG_LOBBY_ANNOUNCE , MSG_REQUEST_JOIN , MSG_JOIN_ACCEPT , MSG_JOIN_DENY , MSG_REQUEST_GAME_LEAVE , MSG_REQUEST_LOBBY_LEAVE , MSG_SET_ACCEPT , MSG_MAP_AVAILABILITY , MSG_CHAT , MSG_GAME_START , MSG_GAME_START_TIMER , MSG_GAME_OPTIONS , MSG_INACTIVE , MSG_REQUEST_GAME_INFO , MSG_MAX } |
Public Attributes | ||
| enum LANMessage:: { ... } | LANMessageType | |
| WideChar | name [g_lanPlayerNameLength+1] | |
| My name, for convenience. | ||
| char | userName [g_lanLoginNameLength+1] | |
| login name, for convenience | ||
| char | hostName [g_lanHostNameLength+1] | |
| machine name, for convenience | ||
| union { | ||
| struct { | ||
| Int seconds | ||
| } StartTimer | ||
| struct { | ||
| WideChar gameName [g_lanGameNameLength+1] | ||
| } GameToLeave | ||
| struct { | ||
| WideChar gameName [g_lanGameNameLength+1] | ||
| Bool inProgress | ||
| char options [m_lanMaxOptionsLength+1] | ||
| Bool isDirectConnect | ||
| } GameInfo | ||
| struct { | ||
| UnsignedInt ip | ||
| WideChar playerName [g_lanPlayerNameLength+1] | ||
| } PlayerInfo | ||
| struct { | ||
| UnsignedInt gameIP | ||
| UnsignedInt exeCRC | ||
| UnsignedInt iniCRC | ||
| char serial [g_maxSerialLength] | ||
| } GameToJoin | ||
| struct { | ||
| WideChar gameName [g_lanGameNameLength+1] | ||
| UnsignedInt gameIP | ||
| UnsignedInt playerIP | ||
| Int slotPosition | ||
| } GameJoined | ||
| struct { | ||
| WideChar gameName [g_lanGameNameLength+1] | ||
| UnsignedInt gameIP | ||
| UnsignedInt playerIP | ||
| LANAPIInterface::ReturnType reason | ||
| } GameNotJoined | ||
| struct { | ||
| WideChar gameName [g_lanGameNameLength+1] | ||
| Bool isAccepted | ||
| } Accept | ||
| struct { | ||
| WideChar gameName [g_lanGameNameLength+1] | ||
| UnsignedInt mapCRC | ||
| Bool hasMap | ||
| } MapStatus | ||
| struct { | ||
| WideChar gameName [g_lanGameNameLength+1] | ||
| LANAPIInterface::ChatType chatType | ||
| WideChar message [g_lanMaxChatLength+1] | ||
| } Chat | ||
| struct { | ||
| char options [m_lanMaxOptionsLength+1] | ||
| } GameOptions | ||
| }; | ||
| anonymous enum |
| union { ... } LANMessage |
| struct { ... } LANMessage::Accept |
| struct { ... } LANMessage::Chat |
| LANAPIInterface::ChatType LANMessage::chatType |
| UnsignedInt LANMessage::exeCRC |
| struct { ... } LANMessage::GameInfo |
| UnsignedInt LANMessage::gameIP |
| struct { ... } LANMessage::GameJoined |
| struct { ... } LANMessage::GameNotJoined |
| struct { ... } LANMessage::GameOptions |
| struct { ... } LANMessage::GameToJoin |
| struct { ... } LANMessage::GameToLeave |
| char LANMessage::hostName[g_lanHostNameLength+1] |
| UnsignedInt LANMessage::iniCRC |
| UnsignedInt LANMessage::ip |
| enum { ... } LANMessage::LANMessageType |
| UnsignedInt LANMessage::mapCRC |
| struct { ... } LANMessage::MapStatus |
| WideChar LANMessage::name[g_lanPlayerNameLength+1] |
| struct { ... } LANMessage::PlayerInfo |
| UnsignedInt LANMessage::playerIP |
| LANAPIInterface::ReturnType LANMessage::reason |
| struct { ... } LANMessage::StartTimer |
| char LANMessage::userName[g_lanLoginNameLength+1] |