Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Game.AI.MyBotCollection Class Reference

Public Member Functions

 MyBotCollection (MyBehaviorTreeCollection behaviorTreeCollection)
 
void UnloadData ()
 
void Update ()
 
void AddBot (int botHandler, IMyBot newBot)
 
void ResetBots (string treeName)
 
void CheckCompatibilityWithBots (MyBehaviorTree behaviorTree)
 
int GetHandleToFirstBot ()
 
int GetHandleToFirstBot (string behaviorType)
 
BotType GetBotType (int botHandler)
 
void TryRemoveBot (int botHandler)
 
int GetCurrentBotsCount (string behaviorType)
 
BotType TryGetBot< BotType > (int botHandler)
 
DictionaryReader< int, IMyBotGetAllBots ()
 
void GetBotsData (List< MyObjectBuilder_AIComponent.BotData > botDataList)
 
int GetCreatedBotCount ()
 
int GetGeneratedBotCount ()
 
bool IsBotSelectedForDegugging (IMyBot bot)
 

Properties

bool HasBot [get]
 
int TotalBotCount [get, set]
 
Dictionary< int, IMyBotBotsDictionary [get]
 

Detailed Description

Definition at line 20 of file MyBotCollection.cs.

Constructor & Destructor Documentation

Sandbox.Game.AI.MyBotCollection.MyBotCollection ( MyBehaviorTreeCollection  behaviorTreeCollection)
inline

Definition at line 40 of file MyBotCollection.cs.

Member Function Documentation

void Sandbox.Game.AI.MyBotCollection.AddBot ( int  botHandler,
IMyBot  newBot 
)
inline

Definition at line 67 of file MyBotCollection.cs.

void Sandbox.Game.AI.MyBotCollection.CheckCompatibilityWithBots ( MyBehaviorTree  behaviorTree)
inline

Definition at line 116 of file MyBotCollection.cs.

DictionaryReader<int, IMyBot> Sandbox.Game.AI.MyBotCollection.GetAllBots ( )
inline

Definition at line 211 of file MyBotCollection.cs.

void Sandbox.Game.AI.MyBotCollection.GetBotsData ( List< MyObjectBuilder_AIComponent.BotData botDataList)
inline

Definition at line 216 of file MyBotCollection.cs.

BotType Sandbox.Game.AI.MyBotCollection.GetBotType ( int  botHandler)
inline

Definition at line 155 of file MyBotCollection.cs.

int Sandbox.Game.AI.MyBotCollection.GetCreatedBotCount ( )
inline

Definition at line 229 of file MyBotCollection.cs.

int Sandbox.Game.AI.MyBotCollection.GetCurrentBotsCount ( string  behaviorType)
inline

Definition at line 193 of file MyBotCollection.cs.

int Sandbox.Game.AI.MyBotCollection.GetGeneratedBotCount ( )
inline

Definition at line 240 of file MyBotCollection.cs.

int Sandbox.Game.AI.MyBotCollection.GetHandleToFirstBot ( )
inline

Definition at line 135 of file MyBotCollection.cs.

int Sandbox.Game.AI.MyBotCollection.GetHandleToFirstBot ( string  behaviorType)
inline

Definition at line 143 of file MyBotCollection.cs.

bool Sandbox.Game.AI.MyBotCollection.IsBotSelectedForDegugging ( IMyBot  bot)
inline

Definition at line 264 of file MyBotCollection.cs.

void Sandbox.Game.AI.MyBotCollection.ResetBots ( string  treeName)
inline

Definition at line 105 of file MyBotCollection.cs.

BotType Sandbox.Game.AI.MyBotCollection.TryGetBot< BotType > ( int  botHandler)
inline
Type Constraints
BotType :class 
BotType :IMyBot 

Definition at line 201 of file MyBotCollection.cs.

void Sandbox.Game.AI.MyBotCollection.TryRemoveBot ( int  botHandler)
inline

Definition at line 166 of file MyBotCollection.cs.

void Sandbox.Game.AI.MyBotCollection.UnloadData ( )
inline

Definition at line 49 of file MyBotCollection.cs.

void Sandbox.Game.AI.MyBotCollection.Update ( )
inline

Definition at line 57 of file MyBotCollection.cs.

Property Documentation

Dictionary<int, IMyBot> Sandbox.Game.AI.MyBotCollection.BotsDictionary
get

Definition at line 38 of file MyBotCollection.cs.

bool Sandbox.Game.AI.MyBotCollection.HasBot
get

Definition at line 30 of file MyBotCollection.cs.

int Sandbox.Game.AI.MyBotCollection.TotalBotCount
getset

Definition at line 33 of file MyBotCollection.cs.


The documentation for this class was generated from the following file: