Method in Program
Creates a new Program by merging multiple Programs together.
public static Program Combine(params Program[] programs)The new program will contain every node from every input program.
The new, combined program.
Yarn.Program[] programs
The Programs to combine together.
Class in Yarn
Inherits from System.Object
A compiled Yarn program.
public class ProgramCreates a new Program by merging multiple Programs together.
Identifies and returns a list of all line and option IDs inside the node.
The 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
The name of the program.
The collection of nodes in this program.
Property in Program
The 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
public pbc::MapField<string, global::Yarn.Operand> InitialValues {
get; }Method in Program
Identifies and returns a list of all line and option IDs inside the node.
public List<string> LineIDsForNode(string nodeName)The line IDs of all lines and options inside the node, or null if nodeName doesn't exist in the program.
string nodeName
The name of the node whos line IDs you covet.
public pbc::MapField<string, global::Yarn.Node> Nodes {
get; }