Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.Brain Class Reference

Detailed Description

AI Components that executes node based actions map.

Inheritance diagram for Doloro.AI.Brain:
Collaboration diagram for Doloro.AI.Brain:

Public Member Functions

void Restore ()
 Restoring hierarchy from the map.
 
bool AddToQueue (PipelineItem item)
 Add item to queue behaviorManager automatically. More...
 
PipelineItem FindItemByTag (string tag, PipelineItem starPoint)
 Returns the first placed object by bundle. Select ai.mainNode as startPoin if want search between all More...
 
void DropQueue ()
 Clear current plan to computing. Restore main item.
 
void DropItemsByTag (string tag)
 Remove from queue and next queue items with requested parameters. More...
 
void DropItemsByTitle (string title)
 Remove from queue and next queue items with requested parameters. More...
 
void DropItems (string title, string tag)
 Remove from queue and next queue items with equal both requested parameters. More...
 
void DropItems (string title, string tag, System.Type type)
 Remove from queue and next queue items with requested parameters. More...
 

Static Public Member Functions

static T GetEntityFormString< T > (string scriptName)
 Getting instance from string representation of the class. More...
 

Protected Member Functions

virtual void Start ()
 Restores instance from the map.
 
virtual void FixedUpdate ()
 

Properties

DAIProject project [get]
 AI project instance
 
string ProjectSignature [get, set]
 Unique sign of the project using for referential integrity.
 
DebugDepth TrackingDepth [get, set]
 Level of object tracking with debug shell or external tools.
 
List< PipelineItemQueue [get]
 Queue of nodes for calculation in current step.
 
List< PipelineItemQueueNext [get]
 Queue of nodes for calculation for next step.
 
PipelineItem Root [get]
 Return the reference to main node.
 
LogicCoresRoot RootAction [get]
 
int QueueIteration = 0 [get]
 Current cyclomatic index of the pass.
 
Memory memory [get]
 AI's memory. Stores the reference to in-game objects or raw type values.
 
float CalculationLimitTime [get, set]
 How many time in seconds should passed to make the left nodes in current queue to be passed to the new step queue.
 
float LogicalThreadFrequency [get, set]
 Max amount of times in second to call each node bond to the parallel execution order.
 
int ItemsDeleyed = 0 [get]
 How many items will delayed to the next step
 

Member Function Documentation

◆ AddToQueue()

bool Doloro.AI.Brain.AddToQueue ( PipelineItem  item)

Add item to queue behaviorManager automatically.

Parameters
item

◆ DropItems() [1/2]

void Doloro.AI.Brain.DropItems ( string  title,
string  tag 
)

Remove from queue and next queue items with equal both requested parameters.

Parameters
titleDemanded title to drop.
tagDemanded tag to drop.

◆ DropItems() [2/2]

void Doloro.AI.Brain.DropItems ( string  title,
string  tag,
System.Type  type 
)

Remove from queue and next queue items with requested parameters.

Parameters
titleNode PipelineMap.title to drop.
tagNode PipelineMap.tag to drop.
typeNode type to drop.

◆ DropItemsByTag()

void Doloro.AI.Brain.DropItemsByTag ( string  tag)

Remove from queue and next queue items with requested parameters.

Parameters
tagTag to drop.

◆ DropItemsByTitle()

void Doloro.AI.Brain.DropItemsByTitle ( string  title)

Remove from queue and next queue items with requested parameters.

Parameters
titleTitle of item to drop,

◆ FindItemByTag()

PipelineItem Doloro.AI.Brain.FindItemByTag ( string  tag,
PipelineItem  starPoint 
)

Returns the first placed object by bundle. Select ai.mainNode as startPoin if want search between all

Parameters
tagPipelineItem.Tag to search.
starPointPoint of hierarchy to search start.
Returns

◆ GetEntityFormString< T >()

static T Doloro.AI.Brain.GetEntityFormString< T > ( string  scriptName)
static

Getting instance from string representation of the class.

Template Parameters
TType of the entity.
Parameters
scriptNameSource class full name.
Returns
Instance of the class.
Exceptions
TypeAccessExceptionScript can't be represented.

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