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