Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Base class for compare operation AI behaviors.
T | Type of comparing values. |
Public Member Functions | |
override Result | Pass (Brain ai) |
Return the targetBuffer of comparison. Warning: Do not use type checks to increase the speed of AI work. 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 | |
new ComparisonOperation | compressionId = ComparisonOperation.Equal |
Id of current comparison operator | |
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 = default |
Var for comparison in const mode. | |
VarMode | varMode = VarMode.Const |
Var select mode. | |
Protected Member Functions | |
abstract bool | Less (T v1, T v2) |
Handler for less operation. More... | |
abstract bool | LessOrEqual (T v1, T v2) |
Handler for less or equal operation. More... | |
abstract bool | GreaterOrEqual (T v1, T v2) |
Handler for greater or equal operation. More... | |
abstract bool | Greater (T v1, T v2) |
Handler for greater operation. More... | |
abstract bool | Equal (T v1, T v2) |
Handler for equal operation. More... | |
abstract bool | NotEqual (T v1, T v2) |
Handler for not equal operation. More... | |
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. | |
|
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.
|
protectedpure virtualinherited |
Handler for equal
operation.
v1 | First value to comparison. |
v2 | Second value to comparison. |
|
protectedpure virtual |
Handler for greater
operation.
v1 | First value to comparison. |
v2 | Second value to comparison. |
|
protectedpure virtual |
Handler for greater or equal
operation.
v1 | First value to comparison. |
v2 | Second value to comparison. |
|
virtualinherited |
Calling one time when AI initializing.
ai | Source AI entity. |
Reimplemented in Doloro.AI.Get.ChildObject, Doloro.AI.Operators.AMathAction< T >, Doloro.AI.Set.SetAnimatorProperty, Doloro.AI.BreakableSequence, Doloro.AI.Parallel, Doloro.AI.ReorderableSequence, Doloro.AI.LogicCoresRoot, Doloro.AI.Sensors.ASelectingSensorAction, Doloro.AI.Sensors.ASensorAction, Doloro.AI.Sensors.Filters.ASensorFilterAction< T >, Doloro.AI.Sensors.Instance.DeclareDependentFilteredSensor, Doloro.AI.Sensors.Instance.DeclareFilteredSphereSensor, Doloro.AI.Sensors.Instance.ReleaseSensor, and Doloro.AI.Sensors.Visual.
|
protectedpure virtual |
Handler for less
operation.
v1 | First value to comparison. |
v2 | Second value to comparison. |
|
protectedpure virtual |
Handler for less or equal
operation.
v1 | First value to comparison. |
v2 | Second value to comparison. |
|
protectedpure virtualinherited |
Handler for not equal
operation.
v1 | First value to comparison. |
v2 | Second value to comparison. |
|
virtual |
Return the targetBuffer of comparison. Warning: Do not use type checks to increase the speed of AI work.
ai | Source AI entity. |
Reimplemented from Doloro.AI.Compare.ABinaryCompareAction< T >.
|
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.