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