Table of Contents

Class FlowGraph

Namespace
Ceres.Graph.Flow
Assembly
cs.temp.dll.dll
public class FlowGraph : CeresGraph, IDisposableUnregister
Inheritance
object
FlowGraph
Implements
IDisposableUnregister
Derived
Inherited Members

Constructors

FlowGraph(FlowGraphSerializedData)

public FlowGraph(FlowGraphSerializedData flowGraphData)

Parameters

flowGraphData FlowGraphSerializedData

Properties

Events

All ExecutableEvent inside this graph

public ExecutableEvent[] Events { get; }

Property Value

ExecutableEvent[]

Methods

Compile(CeresGraphCompiler)

Compile graph just in time

public override void Compile(CeresGraphCompiler compiler)

Parameters

compiler CeresGraphCompiler

Runtime compiler

Dispose()

public override void Dispose()

ExecuteEvent(UObject, string, EventBase)

Execute graph event

public void ExecuteEvent(UObject contextObject, string eventName, EventBase evtBase = null)

Parameters

contextObject UObject

Graph execution context object

eventName string

The name of event to execute

evtBase EventBase

Source event

GetExecutionContext()

Get current execution context

public ExecutionContext GetExecutionContext()

Returns

ExecutionContext

LinkPort(CeresPort, CeresNode, CeresPortData)

protected override void LinkPort(CeresPort port, CeresNode ownerNode, CeresPortData portData)

Parameters

port CeresPort
ownerNode CeresNode
portData CeresPortData

TryExecuteEvent(UObject, string, EventBase)

Try to execute graph event

public bool TryExecuteEvent(UObject contextObject, string eventName, EventBase evtBase = null)

Parameters

contextObject UObject
eventName string
evtBase EventBase

Returns

bool