Appearance
helix / FunctionRef
Interface: FunctionRef โ
Defined in: core/function_ref.ts:12
A function in the pack. Run it with ctx.call(ref); add commands with .build(...).
It renders as its id, so it can go wherever a command takes a function (schedule).
Extended by โ
Implements โ
Properties โ
node โ
node:
FunctionNode
Defined in: core/function_ref.ts:13
Methods โ
build() โ
build(
builder):this
Defined in: core/function_ref.ts:16
Appends builder's commands to the function; returns the ref.
Parameters โ
builder โ
(ctx) => void
Returns โ
this
getName() โ
getName():
string
Defined in: core/function_ref.ts:23
The function's output name, e.g. zzzprivate/door/open.
Returns โ
string
render() โ
render():
string
Defined in: core/function_ref.ts:28
The function's id, e.g. pack:zzzprivate/door/open.
Returns โ
string
Implementation of โ
CommandValue.render