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

Detailed Description

Removes variable from the memory by its name.

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

Public Types

enum  ResultBehaviorModel { AlwaysSuccess , Raw }
 Defines behavior model for returning result. More...
 

Public Member Functions

override Result Pass (Brain ai)
 Requests variable to remove. 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 key = ""
 Key of variable in memory
 
ResultBehaviorModel mode = ResultBehaviorModel.AlwaysSuccess
 Defines behavior model of the node.
 

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

◆ ResultBehaviorModel

Defines behavior model for returning result.

Enumerator
AlwaysSuccess 

Returns Result.Success event if variable not found in memory.

Raw 

Real result that returned by handler.

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.Remove.Pass ( Brain  ai)
virtual

Requests variable to remove.

Parameters
aiTarget memory holder.
Returns
Depends from selected mode

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: