跳转到内容

ScriptFrame

此内容尚不支持你的语言。

Defined in: logic/ScriptGraphRunner.ts:187

One GRAPH’s state inside one instance. The entity’s own graph has one; so does each graph.call site, for the graph it calls — which is what makes a called graph’s variables local to the call rather than shared with its caller.

calls: Map<string, ScriptFrame>

Defined in: logic/ScriptGraphRunner.ts:195

graph.call node id → the frame of the graph that call enters.


produced: Map<string, Record<string, ScriptValue>>

Defined in: logic/ScriptGraphRunner.ts:193

What an impure node last handed back, so a wire off it reads that.


timers: Map<string, number>

Defined in: logic/ScriptGraphRunner.ts:191

flow.delay node id → seconds still to wait.


vars: Map<string, ScriptValue>

Defined in: logic/ScriptGraphRunner.ts:189

Graph variables, by name.