Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Base class for math operation AI behaviors.
T | Type of operating values. |
Public Member Functions | |
override void | Init (Brain ai) |
Initializing behavior at the its start. More... | |
override Result | Pass (Brain ai) |
Operate to variable to each other. 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 | var1 = "" |
Name of variable in AI's sourceBuffer that contains the first element of compression | |
string | var2 = "" |
Name of variable in AI's sourceBuffer that contains the second element of compression | |
T | var2Const |
Var for comparison in const mode. | |
VarMode | varMode = VarMode.Const |
Var select mode. | |
string | result = "" |
Name of variable in AI's sourceBuffer that will contains the targetBuffer of calculation | |
int | operatorTypeId = 0 |
Id of current comparison operator | |
Protected Member Functions | |
abstract T | Plus (T v1, T v2) |
abstract T | Subscruct (T v1, T v2) |
abstract T | Multiply (T v1, T v2) |
abstract T | Divide (T v1, T v2) |
Properties | |
T | ComutedResult [get, protected set] |
Result of operation at the last pass. | |
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. | |
|
virtualinherited |
Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail
ai | Source AI entity. |
Reimplemented in Doloro.AI.Parallel, and Doloro.AI.LogicCoresRoot.
|
virtual |
Initializing behavior at the its start.
ai | Source AI entity. |
Reimplemented from Doloro.AI.Action.
|
virtual |
Operate to variable to each other.
ai | Source AI entity. |
Implements Doloro.AI.Action.
|
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.