Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Root node that manages logic cores of the AI. Executes child nodes in parallel way.
Public Member Functions | |
override void | Init (Brain ai) |
Initializes base parameters. More... | |
override Result | Pass (Brain ai) |
Calculation of inherited nodes More... | |
override void | End (Brain ai) |
Finalizing entity. More... | |
void | ClearSessionData () |
Remove a temp data about child computing. | |
virtual Result | GetCommonResult () |
Return the common targetBuffer of all item calculation More... | |
Public Attributes | |
bool | breakCalculated = false |
If true then will not add children that already has calculated targetBuffer. | |
float | maxFrequencyPerSecondByChild = 30 |
What a maximum count of per second calls of every child. Children will called only if average delta will passed. | |
bool | recordLogs = false |
If true the will record log of its computing. More... | |
List< PipelineItem > | items = new List<PipelineItem>() |
List of actions pipeline | |
int | actionInProgress = 0 |
Properties | |
string | Log [get] |
Log generated during last pass. More... | |
bool | IsSessionComputed [get] |
Check does every node will be computed as minimum one time during item session. | |
Dictionary< int, bool > | ComputeTable [get] |
Return the map of children' computing status. If child will be computed as minimum one time per session then it will be marked as true. | |
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. | |
|
virtual |
|
virtualinherited |
Return the common targetBuffer of all item calculation
|
virtual |
|
inherited |
bool Doloro.AI.LogicCoresRoot.recordLogs = false |
If true the will record log of its computing.
Enable of this feature will lead to garbage leak. Not affects compiled game build.
|
get |
Log generated during last pass.
recordLogs must be true.
|
getinherited |
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.