Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
NullCheckInstruction.cs
Go to the documentation of this file.
2
3internal sealed class NullCheckInstruction : Instruction
4{
5 public static readonly Instruction Instance = new NullCheckInstruction();
6
7 public override int ConsumedStack => 1;
8
9 public override int ProducedStack => 1;
10
11 public override string InstructionName => "Unbox";
12
14 {
15 }
16
17 public override int Run(InterpretedFrame frame)
18 {
19 Instruction.NullCheck(frame.Peek());
20 return 1;
21 }
22}