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

Detailed Description

Embeds external AI behavior project to the current behavior by the resource path.

Disables itself in case if requested map not found. Sends error log to the console to inform developer.

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

Public Member Functions

override Result Pass (Brain ai)
 Bing the external AI behavior. More...
 
virtual Result GetCommonResult ()
 Return the common targetBuffer of all item calculation More...
 
virtual void Init (Brain ai)
 Calling one time when AI initializing. More...
 
virtual void End (Brain ai)
 Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail More...
 

Public Attributes

string behaviorPath = ""
 Path to behavior in resource folder.
 
List< PipelineItemitems = new List<PipelineItem>()
 List of actions pipeline
 
int actionInProgress = 0
 

Properties

PipelineItem self [get, set]
 Reference to node that contains this action.
 
virtual DataManagement.DynamicResources.Version version [get]
 Source version. More...
 
virtual string author [get]
 Source author.
 

Member Function Documentation

◆ End()

virtual void Doloro.AI.Action.End ( Brain  ai)
virtualinherited

Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail

Parameters
aiSource AI entity.

Reimplemented in Doloro.AI.Parallel, and Doloro.AI.LogicCoresRoot.

◆ GetCommonResult()

virtual Result Doloro.AI.Order.GetCommonResult ( )
virtualinherited

Return the common targetBuffer of all item calculation

Returns

◆ Init()

◆ Pass()

override Result Doloro.AI.BindExternal.Pass ( Brain  ai)
virtual

Bing the external AI behavior.

Parameters
aiSource AI entity.
Returns
Result of branch computing. Result.Fail in case if map not found.

Implements Doloro.AI.Action.

Member Data Documentation

◆ actionInProgress

int Doloro.AI.Order.actionInProgress = 0
inherited

Todo:
Number of action in progress

Property Documentation

◆ version

virtual DataManagement.DynamicResources.Version Doloro.AI.Action.version
getinherited
Initial value:
=
DataManagement.DynamicResources.Version._100

Source version.

Should be a constant value that defines what a version of relevant source is. Could be use for patching of the data according with version changes.


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