#include <StagingRoomGameInfo.h>
Inherits GameSlot, and GameSlot.
Public Member Functions | |
| GameSpyGameSlot () | |
| Int | getProfileID (void) const |
| void | setProfileID (Int id) |
| AsciiString | getLoginName (void) const |
| void | setLoginName (AsciiString name) |
| AsciiString | getLocale (void) const |
| void | setLocale (AsciiString name) |
| Int | getWins (void) const |
| Int | getLosses (void) const |
| void | setWins (Int wins) |
| void | setLosses (Int losses) |
| Int | getSlotRankPoints (void) const |
| Int | getFavoriteSide (void) const |
| void | setSlotRankPoints (Int val) |
| void | setFavoriteSide (Int val) |
| void | setPingString (AsciiString pingStr) |
| AsciiString | getPingString (void) const |
| Int | getPingAsInt (void) const |
| GameSpyGameSlot () | |
| Int | getProfileID (void) |
| void | setProfileID (Int id) |
| AsciiString | getLoginName (void) |
| void | setLoginName (AsciiString name) |
| AsciiString | getLocale (void) |
| void | setLocale (AsciiString name) |
Public Member Functions inherited from GameSlot | |
| GameSlot () | |
| virtual void | reset () |
| void | setAccept (void) |
| Accept the current options. | |
| void | unAccept (void) |
| Unaccept (options changed, etc) | |
| Bool | isAccepted (void) const |
| Non-human slots are always accepted. | |
| void | setMapAvailability (Bool hasMap) |
| Set whether the slot has the map. | |
| Bool | hasMap (void) const |
| Non-human slots always have the map. | |
| void | setState (SlotState state, UnicodeString name=UnicodeString::TheEmptyString, UnsignedInt IP=0) |
| Set the slot's state (human, AI, open, etc) | |
| SlotState | getState (void) const |
| Get the slot state. | |
| void | setColor (Int color) |
| Int | getColor (void) const |
| void | setStartPos (Int startPos) |
| Int | getStartPos (void) const |
| void | setPlayerTemplate (Int playerTemplate) |
| Int | getPlayerTemplate (void) const |
| void | setTeamNumber (Int teamNumber) |
| Int | getTeamNumber (void) const |
| void | setName (UnicodeString name) |
| UnicodeString | getName (void) const |
| void | setIP (UnsignedInt IP) |
| UnsignedInt | getIP (void) const |
| void | setPort (UnsignedShort port) |
| UnsignedShort | getPort (void) const |
| void | setNATBehavior (FirewallHelperClass::FirewallBehaviorType NATBehavior) |
| FirewallHelperClass::FirewallBehaviorType | getNATBehavior () const |
| void | saveOffOriginalInfo (void) |
| Int | getOriginalPlayerTemplate (void) const |
| Int | getOriginalColor (void) const |
| Int | getOriginalStartPos (void) const |
| Int | getApparentPlayerTemplate (void) const |
| Int | getApparentColor (void) const |
| Int | getApparentStartPos (void) const |
| UnicodeString | getApparentPlayerTemplateDisplayName (void) const |
| Bool | isHuman (void) const |
| Is this slot occupied by a human player? | |
| Bool | isOccupied (void) const |
| Is this slot occupied (by a human or an AI)? | |
| Bool | isAI (void) const |
| Is this slot occupied by an AI? | |
| Bool | isPlayer (AsciiString userName) const |
| Does this slot contain the given user? | |
| Bool | isPlayer (UnicodeString userName) const |
| Does this slot contain the given user? | |
| Bool | isPlayer (UnsignedInt ip) const |
| Is this slot at this IP? | |
| Bool | isOpen (void) const |
| void | setLastFrameInGame (UnsignedInt frame) |
| void | markAsDisconnected (void) |
| UnsignedInt | lastFrameInGame (void) const |
| Bool | disconnected (void) const |
| void | mute (Bool isMuted) |
| Bool | isMuted (void) const |
Protected Attributes | |
| Int | m_profileID |
| AsciiString | m_gameSpyLogin |
| AsciiString | m_gameSpyLocale |
| AsciiString | m_pingStr |
| Int | m_pingInt |
| Int | m_wins |
| Int | m_losses |
| Int | m_rankPoints |
| Int | m_favoriteSide |
Protected Attributes inherited from GameSlot | |
| SlotState | m_state |
| Bool | m_isAccepted |
| Bool | m_hasMap |
| Bool | m_isMuted |
| Int | m_color |
| color, or -1 for random | |
| Int | m_startPos |
| start position, or -1 for random | |
| Int | m_playerTemplate |
| PlayerTemplate. | |
| Int | m_teamNumber |
| alliance, -1 for none | |
| Int | m_origColor |
| color, or -1 for random | |
| Int | m_origStartPos |
| start position, or -1 for random | |
| Int | m_origPlayerTemplate |
| PlayerTemplate. | |
| UnicodeString | m_name |
| Only valid for human players. | |
| UnsignedInt | m_IP |
| Only valid for human players in LAN/WOL. | |
| UnsignedShort | m_port |
| Only valid for human players in LAN/WOL. | |
| FirewallHelperClass::FirewallBehaviorType | m_NATBehavior |
| The NAT behavior for this slot's player. | |
| UnsignedInt | m_lastFrameInGame |
| Bool | m_disconnected |
Definition at line 37 of file StagingRoomGameInfo.h.
| GameSpyGameSlot::GameSpyGameSlot | ( | ) |
Definition at line 59 of file StagingRoomGameInfo.cpp.
| GameSpyGameSlot::GameSpyGameSlot | ( | ) |
|
inline |
Definition at line 53 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 51 of file GameSpyGameInfo.h.
|
inline |
Definition at line 45 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 49 of file GameSpyGameInfo.h.
|
inline |
Definition at line 43 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 48 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 59 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 58 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 47 of file GameSpyGameInfo.h.
|
inline |
Definition at line 41 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 52 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 47 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 55 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 46 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 52 of file GameSpyGameInfo.h.
|
inline |
Definition at line 44 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 50 of file GameSpyGameInfo.h.
|
inline |
Definition at line 50 of file StagingRoomGameInfo.h.
| void GameSpyGameSlot::setPingString | ( | AsciiString | pingStr | ) |
Definition at line 449 of file StagingRoomGameInfo.cpp.
|
inline |
Definition at line 42 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 48 of file GameSpyGameInfo.h.
|
inline |
Definition at line 54 of file StagingRoomGameInfo.h.
|
inline |
Definition at line 49 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 69 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 64 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 63 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 68 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 67 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 66 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 62 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 69 of file StagingRoomGameInfo.h.
|
protected |
Definition at line 68 of file StagingRoomGameInfo.h.