Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IndexedBranchInstruction.cs
Go to the documentation of this file.
2
4
5internal abstract class IndexedBranchInstruction : Instruction
6{
7 internal readonly int _labelIndex;
8
13
15 {
16 return frame.Interpreter._labels[_labelIndex];
17 }
18
20 {
21 int num = labelIndexer(_labelIndex);
22 return ToString() + ((num != int.MinValue) ? (" -> " + num) : "");
23 }
24
25 public override string ToString()
26 {
27 return InstructionName + "[" + _labelIndex + "]";
28 }
29}
override string ToDebugString(int instructionIndex, object cookie, Func< int, int > labelIndexer, IReadOnlyList< object > objects)