UTRemoteBot::GameState Class Reference

List of all members.

Public Member Functions

string GetBotNameFromID (string botID)
 Get a Bot's name from a given ID.
bool IsBot (string id)
 Check to see if a specified ID is from a Bot.

Properties

List< UTBotOppStatePlayersVisible
 List of UTBotOppState containing all the Opponent Bots that you can currently see.
List< UTItemPointItemsVisible
 List of UTInvItem containing all the inventory item pickups that you can currently see.
List< UTNavPointNavPointsVisible
 List of UTNavPoint containing all the Navigation Points you can currently see.
List< UTPlayerScoreCurrentScores
 List of UTPlayerScore containing all the bots in the game and their scores.
internal int FragLimit

Private Member Functions

internal GameState ()
internal void UpdateGameState (Queue< UTMessage > messageQueue)
internal void UpdateGameState (UTMessage msg)
internal void Clear ()
internal void SetScores (UTMessage msg)
void RemoveOldScores (UTMessage msg)
internal void PrintScores (TextWriter output)

Private Attributes

List< UTBotOppStateoppList = new List<UTBotOppState>()
List< UTItemPointinvList = new List<UTItemPoint>()
List< UTNavPointnavList = new List<UTNavPoint>()
string selfID = ""
List< UTPlayerScorescoresList = new List<UTPlayerScore>()
int fragLimit
const int CHECK_INTERVAL = 10
int checkTime = CHECK_INTERVAL

Constructor & Destructor Documentation

internal UTRemoteBot::GameState::GameState  )  [inline, private]
 


Member Function Documentation

internal void UTRemoteBot::GameState::Clear  )  [inline, private]
 

string UTRemoteBot::GameState::GetBotNameFromID string  botID  )  [inline]
 

Get a Bot's name from a given ID.

Parameters:
botID The ID to search for
Returns:
The name of the bot with this id, or "" if the botID isnt in the game

bool UTRemoteBot::GameState::IsBot string  id  )  [inline]
 

Check to see if a specified ID is from a Bot.

Parameters:
id The ID to check
Returns:
True if the ID belongs to a Bot, false otherwise

internal void UTRemoteBot::GameState::PrintScores TextWriter  output  )  [inline, private]
 

void UTRemoteBot::GameState::RemoveOldScores UTMessage  msg  )  [inline, private]
 

internal void UTRemoteBot::GameState::SetScores UTMessage  msg  )  [inline, private]
 

internal void UTRemoteBot::GameState::UpdateGameState UTMessage  msg  )  [inline, private]
 

internal void UTRemoteBot::GameState::UpdateGameState Queue< UTMessage messageQueue  )  [inline, private]
 


Member Data Documentation

const int UTRemoteBot::GameState::CHECK_INTERVAL = 10 [private]
 

int UTRemoteBot::GameState::checkTime = CHECK_INTERVAL [private]
 

int UTRemoteBot::GameState::fragLimit [private]
 

List<UTItemPoint> UTRemoteBot::GameState::invList = new List<UTItemPoint>() [private]
 

List<UTNavPoint> UTRemoteBot::GameState::navList = new List<UTNavPoint>() [private]
 

List<UTBotOppState> UTRemoteBot::GameState::oppList = new List<UTBotOppState>() [private]
 

List<UTPlayerScore> UTRemoteBot::GameState::scoresList = new List<UTPlayerScore>() [private]
 

string UTRemoteBot::GameState::selfID = "" [private]
 


Property Documentation

List<UTPlayerScore> UTRemoteBot::GameState::CurrentScores [get]
 

List of UTPlayerScore containing all the bots in the game and their scores.

internal int UTRemoteBot::GameState::FragLimit [get, set, private]
 

List<UTItemPoint> UTRemoteBot::GameState::ItemsVisible [get]
 

List of UTInvItem containing all the inventory item pickups that you can currently see.

List<UTNavPoint> UTRemoteBot::GameState::NavPointsVisible [get]
 

List of UTNavPoint containing all the Navigation Points you can currently see.

List<UTBotOppState> UTRemoteBot::GameState::PlayersVisible [get]
 

List of UTBotOppState containing all the Opponent Bots that you can currently see.


The documentation for this class was generated from the following file:
Generated on Thu Jan 26 09:12:40 2006 for UTUserBot by  doxygen 1.4.6-NO