terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
LocalizedText.cs
Go to the documentation of this file.
1using System;
6using System.Text;
12
14{
15 [global::Cpp2ILInjected.Token(Token = "0x2000559")]
16 public class LocalizedText
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x1700066B")]
19 public string Value
20 {
22 [global::Cpp2ILInjected.Token(Token = "0x600333F")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1339EAC", Offset = "0x1339EAC", Length = "0x8")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 get
26 {
27 throw null;
28 }
30 [global::Cpp2ILInjected.Token(Token = "0x6003340")]
31 [global::Cpp2ILInjected.Address(RVA = "0x1339EB4", Offset = "0x1339EB4", Length = "0x8")]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 private set
34 {
35 throw null;
36 }
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x6003341")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1339590", Offset = "0x1339590", Length = "0x2C")]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
43 internal LocalizedText(string key, string text)
44 {
45 throw null;
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x6003342")]
49 [global::Cpp2ILInjected.Address(RVA = "0x133851C", Offset = "0x133851C", Length = "0x8")]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
51 internal void SetValue(string text)
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6003343")]
57 [global::Cpp2ILInjected.Address(RVA = "0x133672C", Offset = "0x133672C", Length = "0x128")]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWorldCreateMenu), Member = "GenerateName", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "HelpText", ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "GetChat", ReturnType = typeof(string))]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "HasLuckTextForWizard", MemberParameters = new object[] { typeof(ref string) }, ReturnType = typeof(bool))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "GetSpecialEventTextIfNotEmpty", MemberParameters = new object[]
63 {
64 typeof(string),
65 typeof(object),
66 typeof(ref string)
67 }, ReturnType = typeof(bool))]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "DyeTraderQuestChat", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "AnglerQuestCountChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "BartenderHelpText", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "BartenderChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "GolferChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "BestiaryGirlChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "PrincessChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "CatChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "DogChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "BunnyChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "SlimeChat", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(string))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "AnglerQuestChat", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Language), Member = "GetTextValueWith", MemberParameters = new object[]
81 {
82 typeof(string),
83 typeof(object)
84 }, ReturnType = typeof(string))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.UI.GameTipsDisplay.GameTip", Member = ".ctor", MemberParameters = new object[]
86 {
88 typeof(double)
89 }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 19)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TypeDescriptor), Member = "GetProperties", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(PropertyDescriptorCollection))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MatchEvaluator), Member = ".ctor", MemberParameters = new object[]
94 {
95 typeof(object),
97 }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = "Replace", MemberParameters = new object[]
99 {
100 typeof(string),
102 }, ReturnType = typeof(string))]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
104 public string FormatWith(object obj)
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x6003344")]
110 [global::Cpp2ILInjected.Address(RVA = "0x13368D0", Offset = "0x13368D0", Length = "0x3B0")]
111 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(StringBuilder))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TypeDescriptor), Member = "GetProperties", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(PropertyDescriptorCollection))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
116 {
117 typeof(string),
118 typeof(string),
119 typeof(string)
120 }, ReturnType = typeof(string))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "Replace", MemberParameters = new object[]
122 {
123 typeof(string),
124 typeof(string)
125 }, ReturnType = typeof(StringBuilder))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
128 {
129 throw null;
130 }
131
132 [global::Cpp2ILInjected.Token(Token = "0x6003345")]
133 [global::Cpp2ILInjected.Address(RVA = "0x1339EC4", Offset = "0x1339EC4", Length = "0x49C")]
134 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "HelpText", ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Lang.<>c__DisplayClass48_0", Member = "<CreateDialogFilter>b__0", MemberParameters = new object[]
137 {
138 typeof(string),
140 }, ReturnType = typeof(bool))]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TypeDescriptor), Member = "GetProperties", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(PropertyDescriptorCollection))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = "Matches", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(MatchCollection))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MatchCollection), Member = "GetEnumerator", ReturnType = typeof(IEnumerator))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GroupCollection), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Group))]
146 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
147 public bool CanFormatWith(object obj)
148 {
149 throw null;
150 }
151
152 [global::Cpp2ILInjected.Token(Token = "0x6003346")]
153 [global::Cpp2ILInjected.Address(RVA = "0x133A360", Offset = "0x133A360", Length = "0xB4")]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateTime_StartNight", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateTime_StartDay", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
157 {
158 typeof(byte[]),
159 typeof(int),
160 typeof(ref int)
161 }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "greetPlayer", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "SpawnSkeletron", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "SpawnBoss", MemberParameters = new object[]
165 {
166 typeof(int),
167 typeof(int),
168 typeof(int),
169 typeof(int)
170 }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RemoteClient), Member = "CheckSection", MemberParameters = new object[]
172 {
173 typeof(int),
175 typeof(int)
176 }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HelpCommand), Member = "ComposeMessage", MemberParameters = new object[] { typeof(Dictionary<string, List<LocalizedText>>) }, ReturnType = typeof(NetworkText))]
178 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PartyChatCommand), Member = "SendNoTeamError", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RollCommand), Member = "ProcessIncomingMessage", MemberParameters = new object[]
180 {
181 typeof(string),
182 typeof(byte)
183 }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 20)]
185 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
187 {
188 throw null;
189 }
190
191 [global::Cpp2ILInjected.Token(Token = "0x6003347")]
192 [global::Cpp2ILInjected.Address(RVA = "0x133A4A0", Offset = "0x133A4A0", Length = "0x68")]
193 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkText), Member = "FromKey", MemberParameters = new object[]
195 {
196 typeof(string),
197 typeof(object[])
198 }, ReturnType = typeof(NetworkText))]
199 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
201 {
202 throw null;
203 }
204
205 [global::Cpp2ILInjected.Token(Token = "0x6003348")]
206 [global::Cpp2ILInjected.Address(RVA = "0x133A508", Offset = "0x133A508", Length = "0x8")]
207 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
208 public static explicit operator string(LocalizedText text)
209 {
210 throw null;
211 }
212
213 [global::Cpp2ILInjected.Token(Token = "0x6003349")]
214 [global::Cpp2ILInjected.Address(RVA = "0x1339D1C", Offset = "0x1339D1C", Length = "0xC")]
215 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "SyncOnePlayer", MemberParameters = new object[]
216 {
217 typeof(int),
218 typeof(int),
219 typeof(int)
220 }, ReturnType = typeof(void))]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "UnspawnTravelNPC", ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
224 {
225 typeof(string),
226 typeof(object)
227 }, ReturnType = typeof(string))]
228 public string Format(object arg0)
229 {
230 throw null;
231 }
232
233 [global::Cpp2ILInjected.Token(Token = "0x600334A")]
234 [global::Cpp2ILInjected.Address(RVA = "0x1339D28", Offset = "0x1339D28", Length = "0xC")]
235 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
237 {
238 typeof(string),
239 typeof(object),
240 typeof(object)
241 }, ReturnType = typeof(string))]
242 public string Format(object arg0, object arg1)
243 {
244 throw null;
245 }
246
247 [global::Cpp2ILInjected.Token(Token = "0x600334B")]
248 [global::Cpp2ILInjected.Address(RVA = "0x1339D34", Offset = "0x1339D34", Length = "0xC")]
249 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
250 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
251 {
252 typeof(string),
253 typeof(object),
254 typeof(object),
255 typeof(object)
256 }, ReturnType = typeof(string))]
257 public string Format(object arg0, object arg1, object arg2)
258 {
259 throw null;
260 }
261
262 [global::Cpp2ILInjected.Token(Token = "0x600334C")]
263 [global::Cpp2ILInjected.Address(RVA = "0x1339D40", Offset = "0x1339D40", Length = "0xC")]
264 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
265 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
266 {
267 typeof(string),
268 typeof(object[])
269 }, ReturnType = typeof(string))]
270 public string Format(params object[] args)
271 {
272 throw null;
273 }
274
275 [global::Cpp2ILInjected.Token(Token = "0x600334D")]
276 [global::Cpp2ILInjected.Address(RVA = "0x133A510", Offset = "0x133A510", Length = "0x8")]
277 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
278 public override string ToString()
279 {
280 throw null;
281 }
282
283 // Note: this type is marked as 'beforefieldinit'.
284 [global::Cpp2ILInjected.Token(Token = "0x600334E")]
285 [global::Cpp2ILInjected.Address(RVA = "0x133A518", Offset = "0x133A518", Length = "0xD0")]
286 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
287 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
288 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = ".ctor", MemberParameters = new object[]
289 {
290 typeof(string),
292 }, ReturnType = typeof(void))]
293 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
295 {
296 throw null;
297 }
298
299 [global::Cpp2ILInjected.Token(Token = "0x4003C24")]
301
302 [global::Cpp2ILInjected.Token(Token = "0x4003C25")]
303 private static Regex _substitutionRegex;
304
305 [global::Cpp2ILInjected.Token(Token = "0x4003C26")]
306 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
307 public readonly string Key;
308
310 [global::Cpp2ILInjected.Token(Token = "0x4003C27")]
311 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
312 private string <Value>k__BackingField;
313
315 [global::Cpp2ILInjected.Token(Token = "0x200055A")]
316 private sealed class <>c__DisplayClass9_0
317 {
318 [global::Cpp2ILInjected.Token(Token = "0x600334F")]
319 [global::Cpp2ILInjected.Address(RVA = "0x1339EBC", Offset = "0x1339EBC", Length = "0x8")]
320 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
321 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
323 {
324 throw null;
325 }
326
327 [global::Cpp2ILInjected.Token(Token = "0x6003350")]
328 [global::Cpp2ILInjected.Address(RVA = "0x133A5E8", Offset = "0x133A5E8", Length = "0xEC")]
329 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
330 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
331 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GroupCollection), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Group))]
332 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
334 {
335 throw null;
336 }
337
338 [global::Cpp2ILInjected.Token(Token = "0x4003C28")]
339 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
340 public PropertyDescriptorCollection properties;
341
342 [global::Cpp2ILInjected.Token(Token = "0x4003C29")]
343 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
344 public object obj;
345 }
346 }
347}
class f__AnonymousType0<< Count > j__TPar
NetworkText ToNetworkText(params object[] substitutions)
StringBuilder FormatWith(object obj, StringBuilder sb)
string Format(object arg0, object arg1)
LocalizedText(string key, string text)
static readonly LocalizedText Empty
string Format(object arg0, object arg1, object arg2)
string Format(params object[] args)
delegate string MatchEvaluator(Match match)