Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LoadStaticFieldInstruction.cs
Go to the documentation of this file.
2
4
6{
7 public override string InstructionName => "LoadStaticField";
8
9 public override int ProducedStack => 1;
10
12 : base(field)
13 {
14 }
15
16 public override int Run(InterpretedFrame frame)
17 {
18 frame.Push(_field.GetValue(null));
19 return 1;
20 }
21}
object? GetValue(object? obj)