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