|
| | GameSpyStagingRoom () |
| |
| virtual void | reset (void) |
| |
| void | cleanUpSlotPointers (void) |
| |
| void | setID (Int id) |
| |
| Int | getID (void) const |
| |
| void | setHasPassword (Bool val) |
| |
| Bool | getHasPassword (void) const |
| |
| void | setAllowObservers (Bool val) |
| |
| Bool | getAllowObservers (void) const |
| |
| void | setVersion (UnsignedInt val) |
| |
| UnsignedInt | getVersion (void) const |
| |
| void | setExeCRC (UnsignedInt val) |
| |
| UnsignedInt | getExeCRC (void) const |
| |
| void | setIniCRC (UnsignedInt val) |
| |
| UnsignedInt | getIniCRC (void) const |
| |
| void | setReportedNumPlayers (Int val) |
| |
| Int | getReportedNumPlayers (void) const |
| |
| void | setReportedMaxPlayers (Int val) |
| |
| Int | getReportedMaxPlayers (void) const |
| |
| void | setReportedNumObservers (Int val) |
| |
| Int | getReportedNumObservers (void) const |
| |
| void | setLadderIP (AsciiString ladderIP) |
| |
| AsciiString | getLadderIP (void) const |
| |
| void | setLadderPort (UnsignedShort ladderPort) |
| |
| UnsignedShort | getLadderPort (void) const |
| |
| void | setPingString (AsciiString pingStr) |
| |
| AsciiString | getPingString (void) const |
| |
| Int | getPingAsInt (void) const |
| |
| virtual Bool | amIHost (void) const |
| | Convenience function - is the local player the game host?
|
| |
| GameSpyGameSlot * | getGameSpySlot (Int index) |
| |
| AsciiString | generateGameSpyGameResultsPacket (void) |
| |
| AsciiString | generateLadderGameResultsPacket (void) |
| |
| void | markGameAsQM (void) |
| |
| Bool | isQMGame (void) |
| |
| virtual void | init (void) |
| |
| virtual void | resetAccepted (void) |
| | Reset the accepted flag on all players.
|
| |
| virtual void | startGame (Int gameID) |
| | Mark our game as started and record the game ID.
|
| |
| void | launchGame (void) |
| | NAT negotiation has finished - really start.
|
| |
| virtual Int | getLocalSlotNum (void) const |
| | Get the local slot number, or -1 if we're not present.
|
| |
| void | setGameName (UnicodeString name) |
| |
| UnicodeString | getGameName (void) const |
| |
| void | setLocalName (AsciiString name) |
| |
| | GameInfo () |
| |
| void | init (void) |
| |
| void | clearSlotList (void) |
| |
| Int | getNumPlayers (void) const |
| | How many players (human and AI) are in the game?
|
| |
| Int | getNumNonObserverPlayers (void) const |
| | How many non-observer players (human and AI) are in the game?
|
| |
| Int | getMaxPlayers (void) const |
| | How many players (human and AI) can be in the game?
|
| |
| void | enterGame (void) |
| | Mark us as having entered the game.
|
| |
| void | leaveGame (void) |
| | Mark us as having left the game.
|
| |
| void | endGame (void) |
| | Mark us as out of game.
|
| |
| Int | getGameID (void) const |
| | Get the game ID of the current game or the last one if we're not in game.
|
| |
| void | setInGame (void) |
| | set the m_inGame flag
|
| |
| Bool | isInGame (void) const |
| | Are we (in game or in game setup)? As opposed to chatting, matching, etc.
|
| |
| Bool | isGameInProgress (void) const |
| | Is the game in progress?
|
| |
| void | setGameInProgress (Bool inProgress) |
| | Set whether the game is in progress or not.
|
| |
| void | setSlot (Int slotNum, GameSlot slotInfo) |
| | Set the slot state (human, open, AI, etc)
|
| |
| GameSlot * | getSlot (Int slotNum) |
| | Get the slot.
|
| |
| const GameSlot * | getConstSlot (Int slotNum) const |
| | Get the slot.
|
| |
| Int | getSlotNum (AsciiString userName) const |
| | Get the slot number corresponding to a specific user, or -1 if he's not present.
|
| |
| void | setMap (AsciiString mapName) |
| | Set the map to play on.
|
| |
| void | setMapCRC (UnsignedInt mapCRC) |
| | Set the map CRC.
|
| |
| void | setMapSize (UnsignedInt mapSize) |
| | Set the map size.
|
| |
| void | setMapContentsMask (Int mask) |
| | Set the map contents mask (1=map,2=preview,4=map.ini)
|
| |
| AsciiString | getMap (void) const |
| | Get the game map.
|
| |
| UnsignedInt | getMapCRC (void) const |
| | Get the map CRC.
|
| |
| UnsignedInt | getMapSize (void) const |
| | Get the map size.
|
| |
| Int | getMapContentsMask (void) const |
| | Get the map contents mask.
|
| |
| void | setSeed (Int seed) |
| | Set the random seed for the game.
|
| |
| Int | getSeed (void) const |
| | Get the game seed.
|
| |
| Int | getUseStats (void) const |
| | Does this game count towards gamespy stats?
|
| |
| void | setUseStats (Int useStats) |
| |
| UnsignedShort | getSuperweaponRestriction (void) const |
| | Get any optional limits on superweapons.
|
| |
| void | setSuperweaponRestriction (UnsignedShort restriction) |
| | Set the optional limits on superweapons.
|
| |
| const Money & | getStartingCash (void) const |
| |
| void | setStartingCash (const Money &startingCash) |
| |
| void | setSlotPointer (Int index, GameSlot *slot) |
| | Set the slot info pointer.
|
| |
| void | setLocalIP (UnsignedInt ip) |
| | Set the local IP.
|
| |
| UnsignedInt | getLocalIP (void) const |
| | Get the local IP.
|
| |
| Bool | isColorTaken (Int colorIdx, Int slotToIgnore=-1) const |
| |
| Bool | isStartPositionTaken (Int positionIdx, Int slotToIgnore=-1) const |
| |
| virtual void | resetStartSpots (void) |
| | reset the start spots for the new map.
|
| |
| virtual void | adjustSlotsForMap (void) |
| | adjusts the slots to open and closed depending on the players in the game and the number of players the map can hold.
|
| |
| virtual void | closeOpenSlots (void) |
| | close all slots that are currently unoccupied.
|
| |
| void | setCRCInterval (Int val) |
| |
| Int | getCRCInterval (void) const |
| |
| Bool | haveWeSurrendered (void) |
| |
| void | markAsSurrendered (void) |
| |
| Bool | isSkirmish (void) |
| |
| Bool | isMultiPlayer (void) |
| |
| Bool | isSandbox (void) |
| |
| Bool | isPlayerPreorder (Int index) |
| |
| void | markPlayerAsPreorder (Int index) |
| |
| Bool | oldFactionsOnly (void) const |
| |
| void | setOldFactionsOnly (Bool oldFactionsOnly) |
| |
GameSpyStagingRoom class - maintains information about the GameSpy game and the contents of its slot list throughout the game.
Definition at line 76 of file StagingRoomGameInfo.h.