UTRemoteBot::UTBotSelfState Class Reference

Inheritance diagram for UTRemoteBot::UTBotSelfState:

UTRemoteBot::UTBotState UTRemoteBot::UTObject List of all members.

Public Member Functions

bool HasWeapon (WeaponType type)
bool IsCloseTo (UTVector location)
 Checks to see if your bot is stood close to the specified location. Useful to see if your bot has reached a Location it was running to.
bool IsCloseTo (UTObject toObject)
 Checks to see if your bot is stood close to the specified object. Useful to see if your bot has reached a location it was running to.

Properties

int CurrentAmmo
 Ammo count for your currently selected weapon.
int Armour
 The amount of armour you currently have.

Private Member Functions

internal UTBotSelfState (UTMessage selfMessage)
internal override void UpdateState (UTMessage selfMessage)
internal UTItem AddInventoryItem (UTMessage msg)
internal string GetInvetoryItemID (WeaponType type)

Private Attributes

int currentAmmo
int armour
string[] inventory

Constructor & Destructor Documentation

internal UTRemoteBot::UTBotSelfState::UTBotSelfState UTMessage  selfMessage  )  [inline, private]
 


Member Function Documentation

internal UTItem UTRemoteBot::UTBotSelfState::AddInventoryItem UTMessage  msg  )  [inline, private]
 

internal string UTRemoteBot::UTBotSelfState::GetInvetoryItemID WeaponType  type  )  [inline, private]
 

bool UTRemoteBot::UTBotSelfState::HasWeapon WeaponType  type  )  [inline]
 

bool UTRemoteBot::UTBotSelfState::IsCloseTo UTObject  toObject  )  [inline]
 

Checks to see if your bot is stood close to the specified object. Useful to see if your bot has reached a location it was running to.

Parameters:
toObject The object to check
Returns:
True if your bot is currently stood at this location

bool UTRemoteBot::UTBotSelfState::IsCloseTo UTVector  location  )  [inline]
 

Checks to see if your bot is stood close to the specified location. Useful to see if your bot has reached a Location it was running to.

Parameters:
location The location to check
Returns:
True if your bot is currently stood at this location

internal override void UTRemoteBot::UTBotSelfState::UpdateState UTMessage  selfMessage  )  [inline, private, virtual]
 

Reimplemented from UTRemoteBot::UTBotState.


Member Data Documentation

int UTRemoteBot::UTBotSelfState::armour [private]
 

int UTRemoteBot::UTBotSelfState::currentAmmo [private]
 

string [] UTRemoteBot::UTBotSelfState::inventory [private]
 


Property Documentation

int UTRemoteBot::UTBotSelfState::Armour [get]
 

The amount of armour you currently have.

int UTRemoteBot::UTBotSelfState::CurrentAmmo [get]
 

Ammo count for your currently selected weapon.


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