Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ChatLine.cs
Go to the documentation of this file.
2
4
5public class ChatLine
6{
8
9 public int showTime;
10
11 public string originalText = "";
12
14
15 private int? parsingPixelLimit;
16
17 private bool needsParsing;
18
19 public void UpdateTimeLeft()
20 {
21 if (showTime > 0)
22 {
23 showTime--;
24 }
25 if (needsParsing)
26 {
27 needsParsing = false;
28 }
29 }
30
31 public void Copy(ChatLine other)
32 {
33 needsParsing = other.needsParsing;
34 parsingPixelLimit = other.parsingPixelLimit;
35 originalText = other.originalText;
36 parsedText = other.parsedText;
37 showTime = other.showTime;
38 color = other.color;
39 }
40
42 {
43 needsParsing = true;
44 }
45}
void Copy(ChatLine other)
Definition ChatLine.cs:31
TextSnippet[] parsedText
Definition ChatLine.cs:13