terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ TrimIntoMultipleLines()

string Terraria.GameContent.UI.Chat.LegacyChatMonitor.TrimIntoMultipleLines ( byte R,
byte G,
byte B,
int maxTextSize,
string oldText )
inlineprivate

Definition at line 103 of file LegacyChatMonitor.cs.

104 {
105 int stringLength = oldText._stringLength;
106 int num = 1;
107 bool flag = oldText.Substring(maxTextSize, num) != " ";
108 if (maxTextSize == 0)
109 {
110 int num2 = 1;
111 bool flag2 = oldText.Substring(maxTextSize, num2) != " ";
112 }
113 long num3 = 0L;
114 string text = oldText.Substring((int)num3, maxTextSize);
115 int num4 = 1;
116 this.NewTextInternal(text, R, G, B, num4 != 0);
117 string text2 = oldText.Substring(maxTextSize);
118 int stringLength2 = text2._stringLength;
119 int num5 = 1;
120 long num6 = 0L;
121 bool flag3 = text2.Substring((int)num6, num5) == " ";
122 int num7 = 1;
123 return text2.Substring(num7);
124 }
class f__AnonymousType0<< Count > j__TPar
void NewTextInternal(string newText, byte R=255, byte G=255, byte B=255, bool force=false)

References System.B, System.G, j__TPar, System.L, Terraria.GameContent.UI.Chat.LegacyChatMonitor.NewTextInternal(), System.R, and System.text.