Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
BuiltInRuleTextAction.cs
Go to the documentation of this file.
2
3internal sealed class BuiltInRuleTextAction : Action
4{
5 internal override void Execute(Processor processor, ActionFrame frame)
6 {
7 switch (frame.State)
8 {
9 case 0:
10 {
11 string text = processor.ValueOf(frame.NodeSet.Current);
12 if (processor.TextEvent(text, disableOutputEscaping: false))
13 {
14 frame.Finished();
15 break;
16 }
18 frame.State = 2;
19 break;
20 }
21 case 2:
22 processor.TextEvent(frame.StoredOutput);
23 frame.Finished();
24 break;
25 }
26 }
27}
override void Execute(Processor processor, ActionFrame frame)