Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LoadLocalBoxedInstruction.cs
Go to the documentation of this file.
2
4
6{
7 public override int ProducedStack => 1;
8
9 public override string InstructionName => "LoadLocalBox";
10
12 : base(index)
13 {
14 }
15
16 public override int Run(InterpretedFrame frame)
17 {
18 IStrongBox strongBox = (IStrongBox)frame.Data[_index];
19 frame.Data[frame.StackIndex++] = strongBox.Value;
20 return 1;
21 }
22}