Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TextEvent.cs
Go to the documentation of this file.
2
3internal class TextEvent : Event
4{
5 private readonly string _text;
6
7 protected TextEvent()
8 {
9 }
10
11 public TextEvent(string text)
12 {
13 _text = text;
14 }
15
17 {
19 _text = input.Value;
20 }
21
22 public override bool Output(Processor processor, ActionFrame frame)
23 {
24 return processor.TextEvent(_text);
25 }
26
27 public virtual string Evaluate(Processor processor, ActionFrame frame)
28 {
29 return _text;
30 }
31}
override bool Output(Processor processor, ActionFrame frame)
Definition TextEvent.cs:22
virtual string Evaluate(Processor processor, ActionFrame frame)
Definition TextEvent.cs:27
TextEvent(Compiler compiler)
Definition TextEvent.cs:16