API Referenceglobal
InvokeBlockclass
Call a global method or a method on a component.
Constructors1
Showing 1 constructors
public InvokeBlock()
No results match this filter.
Methods2
Showing 2 methods
public virtual void CollectArguments(System.Collections.Generic.HashSet`1<string> arguments)
| Parameter | Type | Description |
|---|---|---|
| arguments | HashSet<string> | — |
Returns:
void—public virtual string GetNodeString()
Returns:
string—No results match this filter.
Properties5
Showing 5 properties
public System.Collections.Generic.List`1<Sandbox.Doo.Expression> Sandbox.Doo.InvokeBlock.Arguments { get; set; }
The list of argument expressions to pass to the method.
public Sandbox.Doo.InvokeType Sandbox.Doo.InvokeBlock.InvokeType { get; set; }
Whether this invokes a static global method or a component member.
public string Sandbox.Doo.InvokeBlock.Member { get; set; }
The fully qualified method path to invoke (e.g. "Log.Info").
Returns:
string—public string Sandbox.Doo.InvokeBlock.ReturnVariable { get; set; }
Variable name to set to the returned value. Leave empty to ignore the return value.
Returns:
string—public Sandbox.Doo.TargetComponent Sandbox.Doo.InvokeBlock.TargetComponent { get; set; }
The component instance to invoke the method on when using `Sandbox.Doo.InvokeType.Member`.
No results match this filter.