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
ChatInitializer.cs
Go to the documentation of this file.
1using System;
2using Terraria.Chat;
4
6{
7 // Token: 0x02000589 RID: 1417
8 public static class ChatInitializer
9 {
10 // Token: 0x06003493 RID: 13459 RVA: 0x00209A78 File Offset: 0x00207C78
11 public static void Load()
12 {
13 if (("c" == null || "c" != null) && ("color" == null || "color" != null) && ("i" == null || "i" != null) && ("item" == null || "item" != null) && ("n" == null || "n" != null) && ("name" == null || "name" != null) && ("a" == null || "a" != null) && ("achievement" == null || "achievement" != null) && ("g" == null || "g" != null) && ("glyph" == null || "glyph" != null) && ("ca" == null || "ca" != null) && ("controls axis" == null || "controls axis" != null) && ("cb" == null || "cb" != null) && ("controls button" == null || "controls button" != null) && ("ct" == null || "ct" != null) && ("controls touch" == null || "controls touch" != null))
14 {
16 ChatCommandProcessor chatCommandProcessor = chatCommandProcessor2.AddCommand().AddCommand().AddCommand()
17 .AddCommand()
18 .AddCommand()
19 .AddCommand()
20 .AddCommand()
21 .AddCommand()
22 .AddCommand()
23 .AddCommand()
24 .AddDefaultCommand();
26 return;
27 }
29 }
30
31 // Token: 0x06003494 RID: 13460 RVA: 0x00209BD0 File Offset: 0x00207DD0
32 public static void PrepareAliases()
33 {
34 int num = 1;
35 if (num == 0)
36 {
37 }
38 if (num == 0)
39 {
40 }
41 string text2;
42 LocalizedText text = Language.GetText("EmojiCommand." + text2);
43 LocalizedText text3 = Language.GetText("ChatCommand.Emoji_1");
44 if (text3 == null || text3 != null)
45 {
46 LocalizedText text4 = Language.GetText("EmojiName." + text2);
47 if (text4 == null || text4 != null)
48 {
49 return;
50 }
51 }
53 }
54 }
55}
class f__AnonymousType0<< Count > j__TPar
static LocalizedText GetText(string key)
Definition Language.cs:44