Program

Class in Yarn

Inherits from System.Object

Summary

A compiled Yarn program.

public class Program

Methods

NameDescription
GetVariableKind(string)Gets a value indicating the kind of variable name represents.
LineIDsForNode(string)Identifies and returns a list of all line and option IDs inside the node.
ToString()
TryGetInitialValue(string,T)Attempts to fetch a value for a variable named variableName from this program’s collection of initial values.

Properties

NameDescription
InitialValuesThe collection of initial values for variables; if a PUSH_VARIABLE instruction is run, and the value is not found in the storage, this value will be used
NameThe name of the program.
NodesThe collection of nodes in this program.