API ReferenceFacepunch.ActionGraphs
Variableclass
Variables have a name and type, and are local to each invocation of an `Facepunch.ActionGraphs.Variable.ActionGraph`. They are assigned with a `!:NodeLibrary.SetVar` node, and read with `!:NodeLibrary.GetVar`.
object→Variable
Methods1
Showing 1 methods
public void Remove()
Remove this variable from its action graph. This will clear any references to it.
Returns:
void—No results match this filter.
Properties8
Showing 8 properties
public virtual sealed Facepunch.ActionGraphs.ActionGraph Facepunch.ActionGraphs.Variable.ActionGraph { get; set; }
The action graph this variable belongs to.
public object Facepunch.ActionGraphs.Variable.DefaultValue { get; set; }
Initial value of the variable before being assigned.
Returns:
object—public virtual sealed bool Facepunch.ActionGraphs.Variable.IsValid { get; set; }
Becomes false when this variable is removed.
Returns:
bool—public string Facepunch.ActionGraphs.Variable.Name { get; set; }
The name of this variable, unique in its action graph.
Returns:
string—public System.Collections.Generic.IEnumerable`1<Facepunch.ActionGraphs.Node.Property> Facepunch.ActionGraphs.Variable.References { get; set; }
All node properties that currently reference this variable.
public virtual sealed string Facepunch.ActionGraphs.Variable.StackTraceIdentifier { get; set; }
Returns:
string—No results match this filter.