API Referenceglobal
public class Sandbox.Doo.InvokeBlock : Sandbox.Doo.Block
Call a global method or a method on a component.
Constructors
Showing 1 constructors
public InvokeBlock()
No results match this filter.
Methods
Showing 2 methods
public virtual void CollectArguments(System.Collections.Generic.HashSet`1<string> arguments)
public virtual string GetNodeString()
No results match this filter.
Properties
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").
public string Sandbox.Doo.InvokeBlock.ReturnVariable { get; set; }
Variable name to set to the returned value. Leave empty to ignore the return value.
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.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Doo.InvokeBlock |