/// <summary> /// Initializes a new instance of the <see cref="StructCreateNode" /> class. /// </summary> /// <param name="instructionOffset">The instruction offset.</param> /// <param name="result">The result.</param> /// <param name="type">The type.</param> public StructCreateNode(int instructionOffset, PapyrusStringTableIndex result, PapyrusStringTableIndex type) : base(0, instructionOffset, 0, result) { this.type = type; }
public PapyrusVariableReference(PapyrusStringTableIndex value, bool isReference) { internal_stringTableIndex = value; Type = isReference ? PapyrusPrimitiveType.Reference : PapyrusPrimitiveType.String; Name = new PapyrusStringRef(value); }
/// <summary> /// Initializes a new instance of the <see cref="ArrayCreateNode" /> class. /// </summary> /// <param name="instructionOffset">The instruction offset.</param> /// <param name="result">The result.</param> /// <param name="type">The type.</param> /// <param name="size">The size.</param> public ArrayCreateNode(int instructionOffset, PapyrusStringTableIndex result, PapyrusStringTableIndex type, BaseNode size) : base(1, instructionOffset, 0, result) { this.type = type; this.size = new NodePair(this, size); }