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

Detailed Description

Removes entire variables from memory by a string representation of a type.

Inheritance diagram for Doloro.AI.Memory.RemoveByType:
Collaboration diagram for Doloro.AI.Memory.RemoveByType:

Public Types

enum  CompareMode { Same , SameOrDerived }
 Defines comparison behavior model for the node. More...
 

Public Member Functions

override Result Pass (Brain ai)
 Removes 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 type = ""
 Type of variable in memory
 
CompareMode mode = CompareMode.Same
 Defines comparison behavior type.
 

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 Enumeration Documentation

◆ CompareMode

Defines comparison behavior model for the node.

Enumerator
Same 

Type of variable must be equal to requested.

SameOrDerived 

Type of the variable could be the same as requested or derived from requested class.

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.

◆ Init()

◆ Pass()

override Result Doloro.AI.Memory.RemoveByType.Pass ( Brain  ai)
virtual

Removes

Parameters
ai
Returns

Implements Doloro.AI.Action.

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: