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
Language.cs
Go to the documentation of this file.
1using System;
3using System.Text;
6
8{
9 // Token: 0x02000556 RID: 1366
10 public static class Language
11 {
12 // Token: 0x17000669 RID: 1641
13 // (get) Token: 0x06003308 RID: 13064 RVA: 0x001FE520 File Offset: 0x001FC720
15 {
16 get
17 {
18 /*
19An exception occurred when decompiling this method (06003308)
20
21ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Localization.GameCulture Terraria.Localization.Language::get_ActiveCulture()
22
23 ---> System.Exception: Basic block has to end with unconditional control flow.
24{
25 IL_0000:
26 brtrue(IL_0000, ldc.i4:bool(1))
27}
28
29 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
30 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
31 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
32 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
33 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
34 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
35 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
36 --- End of inner exception stack trace ---
37 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
38 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
39*/;
40 }
41 }
42
43 // Token: 0x06003309 RID: 13065 RVA: 0x001FE530 File Offset: 0x001FC730
44 public static LocalizedText GetText(string key)
45 {
46 if (!true)
47 {
48 }
50 return localizedText;
51 }
52
53 // Token: 0x0600330A RID: 13066 RVA: 0x001FE544 File Offset: 0x001FC744
54 public static string GetTextValue(string key)
55 {
56 if (!true)
57 {
58 }
59 string text;
60 return text;
61 }
62
63 // Token: 0x0600330B RID: 13067 RVA: 0x001FE558 File Offset: 0x001FC758
64 public static string GetTextValue(string key, object arg0)
65 {
66 if (!true)
67 {
68 }
69 string text;
70 return text;
71 }
72
73 // Token: 0x0600330C RID: 13068 RVA: 0x001FE56C File Offset: 0x001FC76C
74 public static string GetTextValue(string key, object arg0, object arg1)
75 {
76 if (!true)
77 {
78 }
79 string text;
80 return text;
81 }
82
83 // Token: 0x0600330D RID: 13069 RVA: 0x001FE580 File Offset: 0x001FC780
84 public static string GetTextValue(string key, object arg0, object arg1, object arg2)
85 {
86 if (!true)
87 {
88 }
89 string text;
90 return text;
91 }
92
93 // Token: 0x0600330E RID: 13070 RVA: 0x001FE594 File Offset: 0x001FC794
94 public static string GetTextValue(string key, params object[] args)
95 {
96 if (!true)
97 {
98 }
99 string text;
100 return text;
101 }
102
103 // Token: 0x0600330F RID: 13071 RVA: 0x001FE5A8 File Offset: 0x001FC7A8
104 public static string GetTextValueWith(string key, object obj)
105 {
106 if (!true)
107 {
108 }
111 }
112
113 // Token: 0x06003310 RID: 13072 RVA: 0x001FE5C0 File Offset: 0x001FC7C0
114 public static StringBuilder GetTextValueWith(string key, object obj, StringBuilder sb)
115 {
116 if (!true)
117 {
118 }
119 StringBuilder stringBuilder;
120 return stringBuilder;
121 }
122
123 // Token: 0x06003311 RID: 13073 RVA: 0x001FE5D4 File Offset: 0x001FC7D4
124 public static bool Exists(string key)
125 {
126 if (!true)
127 {
128 }
129 bool flag;
130 return flag;
131 }
132
133 // Token: 0x06003312 RID: 13074 RVA: 0x001FE5E8 File Offset: 0x001FC7E8
134 public static int GetCategorySize(string key)
135 {
136 if (!true)
137 {
138 }
139 int num;
140 return num;
141 }
142
143 // Token: 0x06003313 RID: 13075 RVA: 0x001FE5FC File Offset: 0x001FC7FC
145 {
146 if (!true)
147 {
148 }
150 return array;
151 }
152
153 // Token: 0x06003314 RID: 13076 RVA: 0x001FE610 File Offset: 0x001FC810
155 {
156 if (!true)
157 {
158 }
160 return array;
161 }
162
163 // Token: 0x06003315 RID: 13077 RVA: 0x001FE624 File Offset: 0x001FC824
164 public static LocalizedText[] FindAll(string categoryName)
165 {
166 if (!true)
167 {
168 }
170 return array;
171 }
172
173 // Token: 0x06003316 RID: 13078 RVA: 0x001FE638 File Offset: 0x001FC838
174 public static LocalizedText SelectRandom(LanguageSearchFilter filter, [Optional] UnifiedRandom random)
175 {
176 if (!true)
177 {
178 }
180 return localizedText;
181 }
182
183 // Token: 0x06003317 RID: 13079 RVA: 0x001FE64C File Offset: 0x001FC84C
184 public static LocalizedText RandomFromCategory(string categoryName, [Optional] UnifiedRandom random)
185 {
186 if (!true)
187 {
188 }
190 return localizedText;
191 }
192
193 // Token: 0x04003C19 RID: 15385
194 public const char NodeKeySeperator = '*';
195 }
196}
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key, params object[] args)
Definition Language.cs:94
static LocalizedText[] FindAll(Regex regex)
Definition Language.cs:144
static GameCulture ActiveCulture
Definition Language.cs:15
static string GetTextValue(string key, object arg0)
Definition Language.cs:64
static LocalizedText[] FindAll(LanguageSearchFilter filter)
Definition Language.cs:154
static LocalizedText RandomFromCategory(string categoryName, [Optional] UnifiedRandom random)
Definition Language.cs:184
static StringBuilder GetTextValueWith(string key, object obj, StringBuilder sb)
Definition Language.cs:114
static string GetTextValue(string key, object arg0, object arg1)
Definition Language.cs:74
static LocalizedText GetText(string key)
Definition Language.cs:44
static LocalizedText SelectRandom(LanguageSearchFilter filter, [Optional] UnifiedRandom random)
Definition Language.cs:174
static int GetCategorySize(string key)
Definition Language.cs:134
static bool Exists(string key)
Definition Language.cs:124
static string GetTextValue(string key, object arg0, object arg1, object arg2)
Definition Language.cs:84
static string GetTextValue(string key)
Definition Language.cs:54
static LocalizedText[] FindAll(string categoryName)
Definition Language.cs:164
static string GetTextValueWith(string key, object obj)
Definition Language.cs:104