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

Public Member Functions

 MyPerTreeBotMemory ()
 
void AddNodeMemory (MyBehaviorTreeNodeMemory nodeMemory)
 
void AddBlackboardMemoryInstance (string name, MyBBMemoryValue obj)
 
void RemoveBlackboardMemoryInstance (MyStringId name)
 
MyBehaviorTreeNodeMemory GetNodeMemoryByIndex (int index)
 
void ClearNodesData ()
 
void Clear ()
 
bool TryGetFromBlackboard< T > (MyStringId id, out T value)
 
void SaveToBlackboard (MyStringId id, MyBBMemoryValue value)
 
MyBBMemoryValue TrySaveToBlackboard (MyStringId id, Type type)
 

Properties

int NodesMemoryCount [get]
 
ListReader< MyBehaviorTreeNodeMemoryNodesMemory [get]
 
IEnumerable< KeyValuePair< MyStringId, MyBBMemoryValue > > BBMemory [get]
 

Detailed Description

Definition at line 14 of file MyPerTreeBotMemory.cs.

Constructor & Destructor Documentation

Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.MyPerTreeBotMemory ( )
inline

Definition at line 24 of file MyPerTreeBotMemory.cs.

Member Function Documentation

void Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.AddBlackboardMemoryInstance ( string  name,
MyBBMemoryValue  obj 
)
inline

Definition at line 35 of file MyPerTreeBotMemory.cs.

void Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.AddNodeMemory ( MyBehaviorTreeNodeMemory  nodeMemory)
inline

Definition at line 30 of file MyPerTreeBotMemory.cs.

void Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.Clear ( )
inline

Definition at line 57 of file MyPerTreeBotMemory.cs.

void Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.ClearNodesData ( )
inline

Definition at line 51 of file MyPerTreeBotMemory.cs.

MyBehaviorTreeNodeMemory Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.GetNodeMemoryByIndex ( int  index)
inline

Definition at line 46 of file MyPerTreeBotMemory.cs.

void Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.RemoveBlackboardMemoryInstance ( MyStringId  name)
inline

Definition at line 41 of file MyPerTreeBotMemory.cs.

void Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.SaveToBlackboard ( MyStringId  id,
MyBBMemoryValue  value 
)
inline

Definition at line 72 of file MyPerTreeBotMemory.cs.

bool Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.TryGetFromBlackboard< T > ( MyStringId  id,
out T  value 
)
inline
Type Constraints
T :MyBBMemoryValue 

Definition at line 63 of file MyPerTreeBotMemory.cs.

MyBBMemoryValue Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.TrySaveToBlackboard ( MyStringId  id,
Type  type 
)
inline

Definition at line 81 of file MyPerTreeBotMemory.cs.

Property Documentation

IEnumerable<KeyValuePair<MyStringId, MyBBMemoryValue> > Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.BBMemory
get

Definition at line 22 of file MyPerTreeBotMemory.cs.

ListReader<MyBehaviorTreeNodeMemory> Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.NodesMemory
get

Definition at line 20 of file MyPerTreeBotMemory.cs.

int Sandbox.Game.AI.BehaviorTree.MyPerTreeBotMemory.NodesMemoryCount
get

Definition at line 19 of file MyPerTreeBotMemory.cs.


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