Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.Core.PipelineMap Class Reference

Detailed Description

Object that represents cross-session entity of the AI node.

Inheritance diagram for Doloro.AI.Core.PipelineMap:
Collaboration diagram for Doloro.AI.Core.PipelineMap:

Classes

class  BinaryPropertyContainer
 COntainer that contains a property for a node. More...
 

Public Member Functions

void Init (PipelineMap parentRef, string script)
 Initialized node's meta-data. More...
 
void Rescan ()
 Rescans hierarchy.
 
PipelineItem Restore (PipelineItem parent, Brain ai)
 Restoring objects from the map. More...
 
void AddItemToBuffer (ref List< PipelineMap > buffer)
 Collects all items to list. More...
 
void SearchString (ref List< string > linksList, string key)
 Search mentioning of sting key in titles and sting variables on pipeline map item and children. Return list with directories. More...
 
void SetProperty (FieldInfo fi)
 Creating entry for the field bonded with the target.action instance. Updating value in case if entry already exists. More...
 
IEnumerator< PipelineMapGetEnumerator ()
 Returns enumerator of children. More...
 
object Clone ()
 Creates clone of the hierarchy. More...
 

Static Public Member Functions

static void RemoveAt (List< PipelineMap > items, int index)
 Removes item by index with executing internal handlers. More...
 
static string GetFullPath (PipelineMap item)
 Return the full path of item in DAI logical tree. More...
 
static string GetFullPath (PipelineMap item, string separator)
 Return the full path of item in DAI logical tree. More...
 

Public Attributes

string title = ""
 Public name of the node.
 
string itemScript = ""
 Path to the source script bond with the Action in assembly.
 
string itemScriptAssembly = ""
 Assembly name where the script is located.
 
System.Version itemScriptVersion = new System.Version(1, 0, 0)
 Version of the script using for mapping.
 
string tag = ""
 Tag to manage actions and orders as group.
 
bool open = false
 Define is the node opened at the editor.
 
bool execute = true
 Defines is the node enabled or not.
 
IterationType iterationType = IterationType.Never
 Is require repeating of action?
 
Result debugBreak = Result.None
 On which targetBuffer must be paused unity editor.
 
bool debugBreakPaused = false
 If true then the break point would be skipped.
 
List< Variablevariables
 List of variables.
 
BinaryPropertyContainer[] binaryData = new BinaryPropertyContainer[0]
 Binary storage for properties data base.
 
PipelineMap parent
 Parent node.
 
List< PipelineMapitems = new List<PipelineMap>()
 Children list.
 

Properties

bool IsSaved = false [get, set]
 Marker that defines is the node saved or not.
 
PipelineItem target [get, set]
 Reference to PipelineItem that was created from this map.
 

Member Function Documentation

◆ AddItemToBuffer()

void Doloro.AI.Core.PipelineMap.AddItemToBuffer ( ref List< PipelineMap buffer)

Collects all items to list.

Parameters
bufferOutput list.

◆ Clone()

object Doloro.AI.Core.PipelineMap.Clone ( )

Creates clone of the hierarchy.

Returns
Cloned branch.

◆ GetEnumerator()

IEnumerator< PipelineMap > Doloro.AI.Core.PipelineMap.GetEnumerator ( )

Returns enumerator of children.

Returns

◆ GetFullPath() [1/2]

static string Doloro.AI.Core.PipelineMap.GetFullPath ( PipelineMap  item)
static

Return the full path of item in DAI logical tree.

Parameters
item
Returns

◆ GetFullPath() [2/2]

static string Doloro.AI.Core.PipelineMap.GetFullPath ( PipelineMap  item,
string  separator 
)
static

Return the full path of item in DAI logical tree.

Parameters
item
Returns

◆ Init()

void Doloro.AI.Core.PipelineMap.Init ( PipelineMap  parentRef,
string  script 
)

Initialized node's meta-data.

Parameters
parentRefParent node.
scriptScript path in assembly.
typeType of the node.

◆ RemoveAt()

static void Doloro.AI.Core.PipelineMap.RemoveAt ( List< PipelineMap items,
int  index 
)
static

Removes item by index with executing internal handlers.

Parameters
itemsItems source.
indexIndex to remove.

◆ Restore()

PipelineItem Doloro.AI.Core.PipelineMap.Restore ( PipelineItem  parent,
Brain  ai 
)

Restoring objects from the map.

Parameters
parentParent node.
aiTarget AI.
Returns

◆ SearchString()

void Doloro.AI.Core.PipelineMap.SearchString ( ref List< string >  linksList,
string  key 
)

Search mentioning of sting key in titles and sting variables on pipeline map item and children. Return list with directories.

Parameters
linksList
key

◆ SetProperty()

void Doloro.AI.Core.PipelineMap.SetProperty ( FieldInfo  fi)

Creating entry for the field bonded with the target.action instance. Updating value in case if entry already exists.

Parameters
fiMember to update.

The documentation for this class was generated from the following file: