Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LeaveFinallyInstruction.cs
Go to the documentation of this file.
2
3internal sealed class LeaveFinallyInstruction : Instruction
4{
5 internal static readonly Instruction Instance = new LeaveFinallyInstruction();
6
7 public override int ConsumedStack => 2;
8
9 public override string InstructionName => "LeaveFinally";
10
12 {
13 }
14
15 public override int Run(InterpretedFrame frame)
16 {
18 if (!frame.IsJumpHappened())
19 {
20 return 1;
21 }
22 return frame.YieldToPendingContinuation();
23 }
24}