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
Lang.cs
Go to the documentation of this file.
1using System;
7using Terraria.Map;
8using Terraria.UI;
9
10namespace Terraria
11{
12 // Token: 0x02000436 RID: 1078
13 public class Lang
14 {
15 // Token: 0x06002838 RID: 10296 RVA: 0x001917C8 File Offset: 0x0018F9C8
16 public static string GetMapObjectName(int id)
17 {
18 /*
19An exception occurred when decompiling this method (06002838)
20
21ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Terraria.Lang::GetMapObjectName(System.Int32)
22
23 ---> System.Exception: Basic block has to end with unconditional control flow.
24{
25 IL_0005:
26 brtrue(IL_0000, logicnot:bool(ldloc:int32[exp:bool](var_0_01)))
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 // Token: 0x06002839 RID: 10297 RVA: 0x001917DC File Offset: 0x0018F9DC
43 public static object CreateDialogSubstitutionObject([Optional] NPC npc)
44 {
45 /*
46An exception occurred when decompiling this method (06002839)
47
48ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object Terraria.Lang::CreateDialogSubstitutionObject(Terraria.NPC)
49
50 ---> System.Exception: Basic block has to end with unconditional control flow.
51{
52 IL_0204:
53 stloc:KeyCode(var_83_20E, ldfld:KeyCode(Entry::InputKey, ldloc:Entry(var_82)))
54 stloc:string(var_85_217, call:string(Language::GetTextValue, ldloc:string(var_84)))
55 brtrue(IL_0000, ldstr:string[exp:bool]("KeyboardBindings.{0}"))
56}
57
58 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
59 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
60 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
61 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
62 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
63 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
64 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
65 --- End of inner exception stack trace ---
66 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
67 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
68*/;
69 }
70
71 // Token: 0x0600283A RID: 10298 RVA: 0x00191A0C File Offset: 0x0018FC0C
72 public static bool CanSubstituteBindings(string bindingKey)
73 {
74 if (!true)
75 {
76 }
78 bool flag;
79 return flag;
80 }
81
82 // Token: 0x0600283B RID: 10299 RVA: 0x00191A78 File Offset: 0x0018FC78
83 [Obsolete("dialog is deprecated. Please use Language.GetText instead.")]
84 public static string dialog(int l, bool english = false)
85 {
86 string text2;
87 string text = "LegacyDialog." + text2;
88 object obj;
90 }
91
92 // Token: 0x0600283C RID: 10300 RVA: 0x00191A9C File Offset: 0x0018FC9C
93 public static string GetNPCNameValue(int netID)
94 {
95 if (!true)
96 {
97 }
98 return Lang.GetNPCName(42178960).<Value>k__BackingField;
99 }
100
101 // Token: 0x0600283D RID: 10301 RVA: 0x00191ABC File Offset: 0x0018FCBC
102 public static LocalizedText GetNPCName(int netID)
103 {
104 /*
105An exception occurred when decompiling this method (0600283D)
106
107ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Localization.LocalizedText Terraria.Lang::GetNPCName(System.Int32)
108
109 ---> System.Exception: Basic block has to end with unconditional control flow.
110{
111 IL_0005:
112 brtrue(IL_0000, ldloc:int32[exp:bool](var_0_01))
113}
114
115 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
116 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
117 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
118 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
119 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
120 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
121 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
122 --- End of inner exception stack trace ---
123 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
124 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
125*/;
126 }
127
128 // Token: 0x0600283E RID: 10302 RVA: 0x00191AD0 File Offset: 0x0018FCD0
129 public static ItemTooltip GetTooltip(int itemId)
130 {
131 /*
132An exception occurred when decompiling this method (0600283E)
133
134ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.UI.ItemTooltip Terraria.Lang::GetTooltip(System.Int32)
135
136 ---> System.Exception: Basic block has to end with unconditional control flow.
137{
138 IL_0000:
139 brtrue(IL_0000, ldc.i4:bool(1))
140}
141
142 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
143 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
144 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
145 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
146 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
147 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
148 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
149 --- End of inner exception stack trace ---
150 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
151 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
152*/;
153 }
154
155 // Token: 0x0600283F RID: 10303 RVA: 0x00191AE0 File Offset: 0x0018FCE0
156 public static LocalizedText GetItemName(int id)
157 {
158 /*
159An exception occurred when decompiling this method (0600283F)
160
161ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Localization.LocalizedText Terraria.Lang::GetItemName(System.Int32)
162
163 ---> System.Exception: Basic block has to end with unconditional control flow.
164{
165 Block_0:
166 brtrue(IL_0000, ldloc:int32[exp:bool](var_2_0A))
167}
168
169 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
170 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
171 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
172 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
173 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
174 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
175 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
176 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
177 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
178 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
179 --- End of inner exception stack trace ---
180 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
181 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
182*/;
183 }
184
185 // Token: 0x06002840 RID: 10304 RVA: 0x00191B00 File Offset: 0x0018FD00
186 public static LocalizedText GetEmojiName(int id)
187 {
188 /*
189An exception occurred when decompiling this method (06002840)
190
191ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Localization.LocalizedText Terraria.Lang::GetEmojiName(System.Int32)
192
193 ---> System.Exception: Basic block has to end with unconditional control flow.
194{
195 IL_0000:
196 brtrue(IL_0000, ldc.i4:bool(1))
197}
198
199 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
200 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
201 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
202 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
203 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
204 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
205 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
206 --- End of inner exception stack trace ---
207 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
208 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
209*/;
210 }
211
212 // Token: 0x06002841 RID: 10305 RVA: 0x00191B10 File Offset: 0x0018FD10
213 public static string GetItemNameValue(int id)
214 {
215 if (!true)
216 {
217 }
218 return Lang.GetItemName(42178960).<Value>k__BackingField;
219 }
220
221 // Token: 0x06002842 RID: 10306 RVA: 0x00191B30 File Offset: 0x0018FD30
222 public static string GetBuffName(int id)
223 {
224 /*
225An exception occurred when decompiling this method (06002842)
226
227ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Terraria.Lang::GetBuffName(System.Int32)
228
229 ---> System.Exception: Basic block has to end with unconditional control flow.
230{
231 IL_0000:
232 brtrue(IL_0000, ldc.i4:bool(1))
233}
234
235 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
236 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
237 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
238 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
239 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
240 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
241 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
242 --- End of inner exception stack trace ---
243 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
244 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
245*/;
246 }
247
248 // Token: 0x06002843 RID: 10307 RVA: 0x00191B40 File Offset: 0x0018FD40
249 public static string GetBuffDescription(int id)
250 {
251 /*
252An exception occurred when decompiling this method (06002843)
253
254ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Terraria.Lang::GetBuffDescription(System.Int32)
255
256 ---> System.Exception: Basic block has to end with unconditional control flow.
257{
258 IL_0000:
259 brtrue(IL_0000, ldc.i4:bool(1))
260}
261
262 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
263 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
264 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
265 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
266 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
267 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
268 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
269 --- End of inner exception stack trace ---
270 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
271 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
272*/;
273 }
274
275 // Token: 0x06002844 RID: 10308 RVA: 0x00191B50 File Offset: 0x0018FD50
277 {
278 if (!true)
279 {
280 }
281 string text;
282 return text;
283 }
284
285 // Token: 0x06002845 RID: 10309 RVA: 0x00191BC0 File Offset: 0x0018FDC0
286 public static string GetRandomGameTitle()
287 {
289 return localizedText.<Value>k__BackingField;
290 }
291
292 // Token: 0x06002846 RID: 10310 RVA: 0x00191BD4 File Offset: 0x0018FDD4
293 public static string DyeTraderQuestChat(bool gotDye = false)
294 {
295 if (!true)
296 {
297 }
299 string <Value>k__BackingField = Language.FindAll(languageSearchFilter).<Value>k__BackingField;
300 string text;
301 return text;
302 }
303
304 // Token: 0x06002847 RID: 10311 RVA: 0x00191BF4 File Offset: 0x0018FDF4
305 public static string AnglerQuestCountChat(NPC npc)
306 {
307 if (!true)
308 {
309 }
310 object obj;
314 }
315
316 // Token: 0x06002848 RID: 10312 RVA: 0x00191C18 File Offset: 0x0018FE18
317 public static string BartenderHelpText(NPC npc)
318 {
319 if (!true)
320 {
321 }
322 int myPlayer = Main.myPlayer;
323 object obj;
324 string <Value>k__BackingField = Language.FindAll(Lang.CreateDialogFilter("BartenderHelpText.", obj)).<Value>k__BackingField;
325 string text;
326 return text;
327 }
328
329 // Token: 0x06002849 RID: 10313 RVA: 0x00191C90 File Offset: 0x0018FE90
330 public static string BartenderChat(NPC npc)
331 {
332 if (!true)
333 {
334 }
335 int num;
336 if (num != 0)
337 {
338 object obj;
342 }
343 string text;
344 return text;
345 }
346
347 // Token: 0x0600284A RID: 10314 RVA: 0x00191CBC File Offset: 0x0018FEBC
348 public static string GolferChat(NPC npc)
349 {
350 if (!true)
351 {
352 }
353 object obj;
357 }
358
359 // Token: 0x0600284B RID: 10315 RVA: 0x00191CE0 File Offset: 0x0018FEE0
360 public static string BestiaryGirlChat(NPC npc)
361 {
362 if (!true)
363 {
364 }
366 object obj;
368 }
369
370 // Token: 0x0600284C RID: 10316 RVA: 0x00191CF8 File Offset: 0x0018FEF8
371 public static string PrincessChat(NPC npc)
372 {
373 if (!true)
374 {
375 }
376 object obj;
380 }
381
382 // Token: 0x0600284D RID: 10317 RVA: 0x00191D1C File Offset: 0x0018FF1C
383 public static string CatChat(NPC npc)
384 {
385 if (!true)
386 {
387 }
388 object obj;
392 }
393
394 // Token: 0x0600284E RID: 10318 RVA: 0x00191D40 File Offset: 0x0018FF40
395 public static string DogChat(NPC npc)
396 {
397 if (!true)
398 {
399 }
400 object obj;
404 }
405
406 // Token: 0x0600284F RID: 10319 RVA: 0x00191D64 File Offset: 0x0018FF64
407 public static string BunnyChat(NPC npc)
408 {
409 if (!true)
410 {
411 }
412 object obj;
416 }
417
418 // Token: 0x06002850 RID: 10320 RVA: 0x00191D88 File Offset: 0x0018FF88
419 public static string SlimeChat(NPC npc)
420 {
421 if (!true)
422 {
423 }
424 string text = "Slime" + "Blue" + "Chatter.";
425 if ("Green" == null)
426 {
427 }
428 object obj;
432 }
433
434 // Token: 0x06002851 RID: 10321 RVA: 0x00191DC4 File Offset: 0x0018FFC4
435 public static string GetNPCHouseBannerText(NPC npc, int bannerStyle)
436 {
437 string text;
438 return Language.GetTextValue("Game.ReservedForNPC", text);
439 }
440
441 // Token: 0x06002852 RID: 10322 RVA: 0x000021DB File Offset: 0x000003DB
443 {
444 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
445 }
446
447 // Token: 0x06002853 RID: 10323 RVA: 0x000021DB File Offset: 0x000003DB
449 {
450 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
451 }
452
453 // Token: 0x06002854 RID: 10324 RVA: 0x00191DE0 File Offset: 0x0018FFE0
454 public static string AnglerQuestChat(bool turnIn = false)
455 {
456 int num = 1;
457 if (num == 0)
458 {
459 }
460 if (num == 0)
461 {
462 }
463 object obj;
467 }
468
469 // Token: 0x06002855 RID: 10325 RVA: 0x00191E34 File Offset: 0x00190034
470 public static LocalizedText GetProjectileName(int type)
471 {
472 /*
473An exception occurred when decompiling this method (06002855)
474
475ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Localization.LocalizedText Terraria.Lang::GetProjectileName(System.Int32)
476
477 ---> System.Exception: Basic block has to end with unconditional control flow.
478{
479 IL_0000:
480 brtrue(IL_0000, ldc.i4:bool(1))
481}
482
483 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
484 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
485 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
486 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
487 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
488 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
489 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
490 --- End of inner exception stack trace ---
491 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
492 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
493*/;
494 }
495
496 // Token: 0x06002856 RID: 10326 RVA: 0x00191E44 File Offset: 0x00190044
498 {
499 if (nameCache.<Value>k__BackingField == null)
500 {
501 }
502 }
503
504 // Token: 0x06002857 RID: 10327 RVA: 0x00191E64 File Offset: 0x00190064
505 private static string ToopltipProcessor(short Id, string tooltip)
506 {
507 if (!true)
508 {
509 }
511 return Language.GetTextValue("Mobile.TooltipInteractKM");
512 }
513
514 // Token: 0x06002858 RID: 10328 RVA: 0x001923A0 File Offset: 0x001905A0
515 public static void InitializeLegacyLocalization()
516 {
517 int num = 1;
518 if (num == 0)
519 {
520 }
521 if (num == 0)
522 {
523 }
524 if (num == 0)
525 {
526 }
527 string text2;
528 LocalizedText text = Language.GetText("LegacyWorldGen." + text2);
529 if (text == null || text != null)
530 {
531 return;
532 }
533 throw new ArrayTypeMismatchException();
534 }
535
536 // Token: 0x06002859 RID: 10329 RVA: 0x00192680 File Offset: 0x00190880
537 public static void BuildMapAtlas()
538 {
539 int num = 1;
540 if (num == 0)
541 {
542 }
543 if (num == 0)
544 {
545 if (num == 0)
546 {
547 }
548 int num2 = MapHelper.LookupCount();
549 return;
550 }
551 }
552
553 // Token: 0x0600285A RID: 10330 RVA: 0x00196464 File Offset: 0x00194664
554 public static NetworkText CreateDeathMessage(string deadPlayerName, int plr = -1, int npc = -1, int proj = -1, int other = -1, int projType = 0, int plrItemType = 0)
555 {
556 int num = 1;
557 if (num == 0)
558 {
559 }
560 if (num == 0)
561 {
562 }
564 string key = projectileName.Key;
565 if (projectileName == null)
566 {
567 }
569 string key2 = itemName.Key;
570 if (itemName == null)
571 {
572 }
574 string key3 = localizedText.Key;
577 if ((proj == 0 || proj != 0) && (networkText == null || networkText != null) && (networkText2 == null || networkText2 != null))
578 {
579 return "DeathSource.NPC";
580 }
581 throw new ArrayTypeMismatchException();
582 }
583
584 // Token: 0x0600285B RID: 10331 RVA: 0x0019662C File Offset: 0x0019482C
586 {
587 if (!true)
588 {
589 }
591 string key = npcname.Key;
592 if (npcname == null)
593 {
594 }
596 if (networkText == null || networkText != null)
597 {
598 return "Game.FinalWave";
599 }
600 throw new ArrayTypeMismatchException();
601 }
602
603 // Token: 0x0600285C RID: 10332 RVA: 0x00196684 File Offset: 0x00194884
604 public static string LocalizedDuration(TimeSpan time, bool abbreviated, bool showAllAvailableUnits)
605 {
606 int num = 1;
607 if (num == 0)
608 {
609 }
612 if (num == 0)
613 {
614 }
616 bool flag = time > timeSpan;
617 string textValue = Language.GetTextValue("Misc.ShortDays");
618 return " " + textValue;
619 }
620
621 // Token: 0x0600285D RID: 10333 RVA: 0x001967A4 File Offset: 0x001949A4
622 public Lang()
623 {
624 }
625
626 // Token: 0x0600285E RID: 10334 RVA: 0x001967B8 File Offset: 0x001949B8
627 // Note: this type is marked as 'beforefieldinit'.
628 static Lang()
629 {
630 }
631
632 // Token: 0x0400355F RID: 13663
633 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
634 public static LocalizedText[] menu;
635
636 // Token: 0x04003560 RID: 13664
637 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
638 public static LocalizedText[] gen;
639
640 // Token: 0x04003561 RID: 13665
641 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
642 public static LocalizedText[] misc;
643
644 // Token: 0x04003562 RID: 13666
645 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
646 public static LocalizedText[] inter;
647
648 // Token: 0x04003563 RID: 13667
649 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
650 public static LocalizedText[] tip;
651
652 // Token: 0x04003564 RID: 13668
653 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
654 public static LocalizedText[] mp;
655
656 // Token: 0x04003565 RID: 13669
657 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
658 public static LocalizedText[] chestType;
659
660 // Token: 0x04003566 RID: 13670
661 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
662 public static LocalizedText[] dresserType;
663
664 // Token: 0x04003567 RID: 13671
665 [Obsolete("Lang arrays have been replaced with the new Language.GetText system.")]
666 public static LocalizedText[] chestType2;
667
668 // Token: 0x04003568 RID: 13672
669 public static LocalizedText[] prefix;
670
671 // Token: 0x04003569 RID: 13673
673
674 // Token: 0x0400356A RID: 13674
675 public static LocalizedText[] mobile;
676
677 // Token: 0x0400356B RID: 13675
679
680 // Token: 0x0400356C RID: 13676
682
683 // Token: 0x0400356D RID: 13677
684 private static LocalizedText[] _npcNameCache;
685
686 // Token: 0x0400356E RID: 13678
688
689 // Token: 0x0400356F RID: 13679
691
692 // Token: 0x04003570 RID: 13680
694
695 // Token: 0x04003571 RID: 13681
697
698 // Token: 0x04003572 RID: 13682
700
701 // Token: 0x04003573 RID: 13683
703
704 // Token: 0x02000437 RID: 1079
706 {
707 // Token: 0x1700056E RID: 1390
708 // (get) Token: 0x0600285F RID: 10335 RVA: 0x001967C8 File Offset: 0x001949C8
709 // (set) Token: 0x06002860 RID: 10336 RVA: 0x001967DC File Offset: 0x001949DC
710 public string Nurse
711 {
713 get
714 {
715 return this.<Nurse>k__BackingField;
716 }
718 set
719 {
721 }
722 }
723
724 // Token: 0x1700056F RID: 1391
725 // (get) Token: 0x06002861 RID: 10337 RVA: 0x001967F0 File Offset: 0x001949F0
726 // (set) Token: 0x06002862 RID: 10338 RVA: 0x00196804 File Offset: 0x00194A04
727 public string Merchant
728 {
730 get
731 {
732 return this.<Merchant>k__BackingField;
733 }
735 set
736 {
738 }
739 }
740
741 // Token: 0x17000570 RID: 1392
742 // (get) Token: 0x06002863 RID: 10339 RVA: 0x00196818 File Offset: 0x00194A18
743 // (set) Token: 0x06002864 RID: 10340 RVA: 0x0019682C File Offset: 0x00194A2C
744 public string ArmsDealer
745 {
747 get
748 {
749 return this.<ArmsDealer>k__BackingField;
750 }
752 set
753 {
755 }
756 }
757
758 // Token: 0x17000571 RID: 1393
759 // (get) Token: 0x06002865 RID: 10341 RVA: 0x00196840 File Offset: 0x00194A40
760 // (set) Token: 0x06002866 RID: 10342 RVA: 0x00196854 File Offset: 0x00194A54
761 public string Dryad
762 {
764 get
765 {
766 return this.<Dryad>k__BackingField;
767 }
769 set
770 {
772 }
773 }
774
775 // Token: 0x17000572 RID: 1394
776 // (get) Token: 0x06002867 RID: 10343 RVA: 0x00196868 File Offset: 0x00194A68
777 // (set) Token: 0x06002868 RID: 10344 RVA: 0x0019687C File Offset: 0x00194A7C
778 public string Demolitionist
779 {
781 get
782 {
783 return this.<Demolitionist>k__BackingField;
784 }
786 set
787 {
789 }
790 }
791
792 // Token: 0x17000573 RID: 1395
793 // (get) Token: 0x06002869 RID: 10345 RVA: 0x00196890 File Offset: 0x00194A90
794 // (set) Token: 0x0600286A RID: 10346 RVA: 0x001968A4 File Offset: 0x00194AA4
795 public string Clothier
796 {
798 get
799 {
800 return this.<Clothier>k__BackingField;
801 }
803 set
804 {
806 }
807 }
808
809 // Token: 0x17000574 RID: 1396
810 // (get) Token: 0x0600286B RID: 10347 RVA: 0x001968B8 File Offset: 0x00194AB8
811 // (set) Token: 0x0600286C RID: 10348 RVA: 0x001968CC File Offset: 0x00194ACC
812 public string Guide
813 {
815 get
816 {
817 return this.<Guide>k__BackingField;
818 }
820 set
821 {
823 }
824 }
825
826 // Token: 0x17000575 RID: 1397
827 // (get) Token: 0x0600286D RID: 10349 RVA: 0x001968E0 File Offset: 0x00194AE0
828 // (set) Token: 0x0600286E RID: 10350 RVA: 0x001968F4 File Offset: 0x00194AF4
829 public string Wizard
830 {
832 get
833 {
834 return this.<Wizard>k__BackingField;
835 }
837 set
838 {
840 }
841 }
842
843 // Token: 0x17000576 RID: 1398
844 // (get) Token: 0x0600286F RID: 10351 RVA: 0x00196908 File Offset: 0x00194B08
845 // (set) Token: 0x06002870 RID: 10352 RVA: 0x0019691C File Offset: 0x00194B1C
846 public string GoblinTinkerer
847 {
849 get
850 {
851 return this.<GoblinTinkerer>k__BackingField;
852 }
854 set
855 {
857 }
858 }
859
860 // Token: 0x17000577 RID: 1399
861 // (get) Token: 0x06002871 RID: 10353 RVA: 0x00196930 File Offset: 0x00194B30
862 // (set) Token: 0x06002872 RID: 10354 RVA: 0x00196944 File Offset: 0x00194B44
863 public string Mechanic
864 {
866 get
867 {
868 return this.<Mechanic>k__BackingField;
869 }
871 set
872 {
874 }
875 }
876
877 // Token: 0x17000578 RID: 1400
878 // (get) Token: 0x06002873 RID: 10355 RVA: 0x00196958 File Offset: 0x00194B58
879 // (set) Token: 0x06002874 RID: 10356 RVA: 0x0019696C File Offset: 0x00194B6C
880 public string Truffle
881 {
883 get
884 {
885 return this.<Truffle>k__BackingField;
886 }
888 set
889 {
891 }
892 }
893
894 // Token: 0x17000579 RID: 1401
895 // (get) Token: 0x06002875 RID: 10357 RVA: 0x00196980 File Offset: 0x00194B80
896 // (set) Token: 0x06002876 RID: 10358 RVA: 0x00196994 File Offset: 0x00194B94
897 public string Steampunker
898 {
900 get
901 {
902 return this.<Steampunker>k__BackingField;
903 }
905 set
906 {
908 }
909 }
910
911 // Token: 0x1700057A RID: 1402
912 // (get) Token: 0x06002877 RID: 10359 RVA: 0x001969A8 File Offset: 0x00194BA8
913 // (set) Token: 0x06002878 RID: 10360 RVA: 0x001969BC File Offset: 0x00194BBC
914 public string DyeTrader
915 {
917 get
918 {
919 return this.<DyeTrader>k__BackingField;
920 }
922 set
923 {
925 }
926 }
927
928 // Token: 0x1700057B RID: 1403
929 // (get) Token: 0x06002879 RID: 10361 RVA: 0x001969D0 File Offset: 0x00194BD0
930 // (set) Token: 0x0600287A RID: 10362 RVA: 0x001969E4 File Offset: 0x00194BE4
931 public string PartyGirl
932 {
934 get
935 {
936 return this.<PartyGirl>k__BackingField;
937 }
939 set
940 {
942 }
943 }
944
945 // Token: 0x1700057C RID: 1404
946 // (get) Token: 0x0600287B RID: 10363 RVA: 0x001969F8 File Offset: 0x00194BF8
947 // (set) Token: 0x0600287C RID: 10364 RVA: 0x00196A0C File Offset: 0x00194C0C
948 public string Cyborg
949 {
951 get
952 {
953 return this.<Cyborg>k__BackingField;
954 }
956 set
957 {
959 }
960 }
961
962 // Token: 0x1700057D RID: 1405
963 // (get) Token: 0x0600287D RID: 10365 RVA: 0x00196A20 File Offset: 0x00194C20
964 // (set) Token: 0x0600287E RID: 10366 RVA: 0x00196A34 File Offset: 0x00194C34
965 public string Painter
966 {
968 get
969 {
970 return this.<Painter>k__BackingField;
971 }
973 set
974 {
976 }
977 }
978
979 // Token: 0x1700057E RID: 1406
980 // (get) Token: 0x0600287F RID: 10367 RVA: 0x00196A48 File Offset: 0x00194C48
981 // (set) Token: 0x06002880 RID: 10368 RVA: 0x00196A5C File Offset: 0x00194C5C
982 public string WitchDoctor
983 {
985 get
986 {
987 return this.<WitchDoctor>k__BackingField;
988 }
990 set
991 {
993 }
994 }
995
996 // Token: 0x1700057F RID: 1407
997 // (get) Token: 0x06002881 RID: 10369 RVA: 0x00196A70 File Offset: 0x00194C70
998 // (set) Token: 0x06002882 RID: 10370 RVA: 0x00196A84 File Offset: 0x00194C84
999 public string Pirate
1000 {
1002 get
1003 {
1004 return this.<Pirate>k__BackingField;
1005 }
1007 set
1008 {
1010 }
1011 }
1012
1013 // Token: 0x17000580 RID: 1408
1014 // (get) Token: 0x06002883 RID: 10371 RVA: 0x00196A98 File Offset: 0x00194C98
1015 // (set) Token: 0x06002884 RID: 10372 RVA: 0x00196AAC File Offset: 0x00194CAC
1016 public string Stylist
1017 {
1019 get
1020 {
1021 return this.<Stylist>k__BackingField;
1022 }
1024 set
1025 {
1027 }
1028 }
1029
1030 // Token: 0x17000581 RID: 1409
1031 // (get) Token: 0x06002885 RID: 10373 RVA: 0x00196AC0 File Offset: 0x00194CC0
1032 // (set) Token: 0x06002886 RID: 10374 RVA: 0x00196AD4 File Offset: 0x00194CD4
1033 public string TravelingMerchant
1034 {
1036 get
1037 {
1039 }
1041 set
1042 {
1044 }
1045 }
1046
1047 // Token: 0x17000582 RID: 1410
1048 // (get) Token: 0x06002887 RID: 10375 RVA: 0x00196AE8 File Offset: 0x00194CE8
1049 // (set) Token: 0x06002888 RID: 10376 RVA: 0x00196AFC File Offset: 0x00194CFC
1050 public string Angler
1051 {
1053 get
1054 {
1055 return this.<Angler>k__BackingField;
1056 }
1058 set
1059 {
1061 }
1062 }
1063
1064 // Token: 0x17000583 RID: 1411
1065 // (get) Token: 0x06002889 RID: 10377 RVA: 0x00196B10 File Offset: 0x00194D10
1066 // (set) Token: 0x0600288A RID: 10378 RVA: 0x00196B24 File Offset: 0x00194D24
1067 public string Bartender
1068 {
1070 get
1071 {
1072 return this.<Bartender>k__BackingField;
1073 }
1075 set
1076 {
1078 }
1079 }
1080
1081 // Token: 0x17000584 RID: 1412
1082 // (get) Token: 0x0600288B RID: 10379 RVA: 0x00196B38 File Offset: 0x00194D38
1083 // (set) Token: 0x0600288C RID: 10380 RVA: 0x00196B4C File Offset: 0x00194D4C
1084 public string WorldName
1085 {
1087 get
1088 {
1089 return this.<WorldName>k__BackingField;
1090 }
1092 set
1093 {
1095 }
1096 }
1097
1098 // Token: 0x17000585 RID: 1413
1099 // (get) Token: 0x0600288D RID: 10381 RVA: 0x00196B60 File Offset: 0x00194D60
1100 // (set) Token: 0x0600288E RID: 10382 RVA: 0x00196B74 File Offset: 0x00194D74
1101 public bool Day
1102 {
1104 get
1105 {
1106 return this.<Day>k__BackingField;
1107 }
1109 set
1110 {
1111 }
1112 }
1113
1114 // Token: 0x17000586 RID: 1414
1115 // (get) Token: 0x0600288F RID: 10383 RVA: 0x00196B84 File Offset: 0x00194D84
1116 // (set) Token: 0x06002890 RID: 10384 RVA: 0x00196B98 File Offset: 0x00194D98
1117 public bool BloodMoon
1118 {
1120 get
1121 {
1122 return this.<BloodMoon>k__BackingField;
1123 }
1125 set
1126 {
1127 }
1128 }
1129
1130 // Token: 0x17000587 RID: 1415
1131 // (get) Token: 0x06002891 RID: 10385 RVA: 0x00196BA8 File Offset: 0x00194DA8
1132 // (set) Token: 0x06002892 RID: 10386 RVA: 0x00196BBC File Offset: 0x00194DBC
1133 public bool Eclipse
1134 {
1136 get
1137 {
1138 return this.<Eclipse>k__BackingField;
1139 }
1141 set
1142 {
1143 }
1144 }
1145
1146 // Token: 0x17000588 RID: 1416
1147 // (get) Token: 0x06002893 RID: 10387 RVA: 0x00196BCC File Offset: 0x00194DCC
1148 // (set) Token: 0x06002894 RID: 10388 RVA: 0x00196BE0 File Offset: 0x00194DE0
1150 {
1152 get
1153 {
1154 return this.<MoonLordDefeated>k__BackingField;
1155 }
1157 set
1158 {
1159 }
1160 }
1161
1162 // Token: 0x17000589 RID: 1417
1163 // (get) Token: 0x06002895 RID: 10389 RVA: 0x00196BF0 File Offset: 0x00194DF0
1164 // (set) Token: 0x06002896 RID: 10390 RVA: 0x00196C04 File Offset: 0x00194E04
1165 public bool GolemDefeated
1166 {
1168 get
1169 {
1170 return this.<GolemDefeated>k__BackingField;
1171 }
1173 set
1174 {
1175 }
1176 }
1177
1178 // Token: 0x1700058A RID: 1418
1179 // (get) Token: 0x06002897 RID: 10391 RVA: 0x00196C14 File Offset: 0x00194E14
1180 // (set) Token: 0x06002898 RID: 10392 RVA: 0x00196C28 File Offset: 0x00194E28
1182 {
1184 get
1185 {
1187 }
1189 set
1190 {
1191 }
1192 }
1193
1194 // Token: 0x1700058B RID: 1419
1195 // (get) Token: 0x06002899 RID: 10393 RVA: 0x00196C38 File Offset: 0x00194E38
1196 // (set) Token: 0x0600289A RID: 10394 RVA: 0x00196C4C File Offset: 0x00194E4C
1198 {
1200 get
1201 {
1203 }
1205 set
1206 {
1207 }
1208 }
1209
1210 // Token: 0x1700058C RID: 1420
1211 // (get) Token: 0x0600289B RID: 10395 RVA: 0x00196C5C File Offset: 0x00194E5C
1212 // (set) Token: 0x0600289C RID: 10396 RVA: 0x00196C70 File Offset: 0x00194E70
1214 {
1216 get
1217 {
1218 return this.<MartiansDefeated>k__BackingField;
1219 }
1221 set
1222 {
1223 }
1224 }
1225
1226 // Token: 0x1700058D RID: 1421
1227 // (get) Token: 0x0600289D RID: 10397 RVA: 0x00196C80 File Offset: 0x00194E80
1228 // (set) Token: 0x0600289E RID: 10398 RVA: 0x00196C94 File Offset: 0x00194E94
1230 {
1232 get
1233 {
1234 return this.<PumpkingDefeated>k__BackingField;
1235 }
1237 set
1238 {
1239 }
1240 }
1241
1242 // Token: 0x1700058E RID: 1422
1243 // (get) Token: 0x0600289F RID: 10399 RVA: 0x00196CA4 File Offset: 0x00194EA4
1244 // (set) Token: 0x060028A0 RID: 10400 RVA: 0x00196CB8 File Offset: 0x00194EB8
1246 {
1248 get
1249 {
1250 return this.<IceQueenDefeated>k__BackingField;
1251 }
1253 set
1254 {
1255 }
1256 }
1257
1258 // Token: 0x1700058F RID: 1423
1259 // (get) Token: 0x060028A1 RID: 10401 RVA: 0x00196CC8 File Offset: 0x00194EC8
1260 // (set) Token: 0x060028A2 RID: 10402 RVA: 0x00196CDC File Offset: 0x00194EDC
1261 public bool HardMode
1262 {
1264 get
1265 {
1266 return this.<HardMode>k__BackingField;
1267 }
1269 set
1270 {
1271 }
1272 }
1273
1274 // Token: 0x17000590 RID: 1424
1275 // (get) Token: 0x060028A3 RID: 10403 RVA: 0x00196CEC File Offset: 0x00194EEC
1276 // (set) Token: 0x060028A4 RID: 10404 RVA: 0x00196D00 File Offset: 0x00194F00
1277 public bool Homeless
1278 {
1280 get
1281 {
1282 return this.<Homeless>k__BackingField;
1283 }
1285 set
1286 {
1287 }
1288 }
1289
1290 // Token: 0x17000591 RID: 1425
1291 // (get) Token: 0x060028A5 RID: 10405 RVA: 0x00196D10 File Offset: 0x00194F10
1292 // (set) Token: 0x060028A6 RID: 10406 RVA: 0x00196D24 File Offset: 0x00194F24
1293 public string InventoryKey
1294 {
1296 get
1297 {
1298 return this.<InventoryKey>k__BackingField;
1299 }
1301 set
1302 {
1304 }
1305 }
1306
1307 // Token: 0x17000592 RID: 1426
1308 // (get) Token: 0x060028A7 RID: 10407 RVA: 0x00196D38 File Offset: 0x00194F38
1309 // (set) Token: 0x060028A8 RID: 10408 RVA: 0x00196D4C File Offset: 0x00194F4C
1310 public string PlayerName
1311 {
1313 get
1314 {
1315 return this.<PlayerName>k__BackingField;
1316 }
1318 set
1319 {
1321 }
1322 }
1323
1324 // Token: 0x17000593 RID: 1427
1325 // (get) Token: 0x060028A9 RID: 10409 RVA: 0x00196D60 File Offset: 0x00194F60
1326 // (set) Token: 0x060028AA RID: 10410 RVA: 0x00196D74 File Offset: 0x00194F74
1327 public string GolfGuy
1328 {
1330 get
1331 {
1332 return this.<GolfGuy>k__BackingField;
1333 }
1335 set
1336 {
1338 }
1339 }
1340
1341 // Token: 0x17000594 RID: 1428
1342 // (get) Token: 0x060028AB RID: 10411 RVA: 0x00196D88 File Offset: 0x00194F88
1343 // (set) Token: 0x060028AC RID: 10412 RVA: 0x00196D9C File Offset: 0x00194F9C
1344 public string TaxCollector
1345 {
1347 get
1348 {
1349 return this.<TaxCollector>k__BackingField;
1350 }
1352 set
1353 {
1355 }
1356 }
1357
1358 // Token: 0x17000595 RID: 1429
1359 // (get) Token: 0x060028AD RID: 10413 RVA: 0x00196DB0 File Offset: 0x00194FB0
1360 // (set) Token: 0x060028AE RID: 10414 RVA: 0x00196DC4 File Offset: 0x00194FC4
1361 public bool Rain
1362 {
1364 get
1365 {
1366 return this.<Rain>k__BackingField;
1367 }
1369 set
1370 {
1371 }
1372 }
1373
1374 // Token: 0x17000596 RID: 1430
1375 // (get) Token: 0x060028AF RID: 10415 RVA: 0x00196DD4 File Offset: 0x00194FD4
1376 // (set) Token: 0x060028B0 RID: 10416 RVA: 0x00196DE8 File Offset: 0x00194FE8
1377 public bool Graveyard
1378 {
1380 get
1381 {
1382 return this.<Graveyard>k__BackingField;
1383 }
1385 set
1386 {
1387 }
1388 }
1389
1390 // Token: 0x17000597 RID: 1431
1391 // (get) Token: 0x060028B1 RID: 10417 RVA: 0x00196DF8 File Offset: 0x00194FF8
1392 // (set) Token: 0x060028B2 RID: 10418 RVA: 0x00196E0C File Offset: 0x0019500C
1394 {
1396 get
1397 {
1399 }
1401 set
1402 {
1404 }
1405 }
1406
1407 // Token: 0x17000598 RID: 1432
1408 // (get) Token: 0x060028B3 RID: 10419 RVA: 0x00196E20 File Offset: 0x00195020
1409 // (set) Token: 0x060028B4 RID: 10420 RVA: 0x00196E34 File Offset: 0x00195034
1411 {
1413 get
1414 {
1415 return this.<TotalDeathsCount>k__BackingField;
1416 }
1418 set
1419 {
1421 }
1422 }
1423
1424 // Token: 0x17000599 RID: 1433
1425 // (get) Token: 0x060028B5 RID: 10421 RVA: 0x00196E48 File Offset: 0x00195048
1426 // (set) Token: 0x060028B6 RID: 10422 RVA: 0x00196E5C File Offset: 0x0019505C
1427 public string WorldEvilStone
1428 {
1430 get
1431 {
1432 return this.<WorldEvilStone>k__BackingField;
1433 }
1435 set
1436 {
1438 }
1439 }
1440
1441 // Token: 0x1700059A RID: 1434
1442 // (get) Token: 0x060028B7 RID: 10423 RVA: 0x00196E70 File Offset: 0x00195070
1443 // (set) Token: 0x060028B8 RID: 10424 RVA: 0x00196E84 File Offset: 0x00195084
1445 {
1447 get
1448 {
1450 }
1452 set
1453 {
1455 }
1456 }
1457
1458 // Token: 0x1700059B RID: 1435
1459 // (get) Token: 0x060028B9 RID: 10425 RVA: 0x00196E98 File Offset: 0x00195098
1460 // (set) Token: 0x060028BA RID: 10426 RVA: 0x00196EAC File Offset: 0x001950AC
1462 {
1464 get
1465 {
1467 }
1469 set
1470 {
1472 }
1473 }
1474
1475 // Token: 0x1700059C RID: 1436
1476 // (get) Token: 0x060028BB RID: 10427 RVA: 0x00196EC0 File Offset: 0x001950C0
1477 // (set) Token: 0x060028BC RID: 10428 RVA: 0x00196ED4 File Offset: 0x001950D4
1479 {
1481 get
1482 {
1484 }
1486 set
1487 {
1489 }
1490 }
1491
1492 // Token: 0x1700059D RID: 1437
1493 // (get) Token: 0x060028BD RID: 10429 RVA: 0x00196EE8 File Offset: 0x001950E8
1494 // (set) Token: 0x060028BE RID: 10430 RVA: 0x00196EFC File Offset: 0x001950FC
1496 {
1498 get
1499 {
1501 }
1503 set
1504 {
1506 }
1507 }
1508
1509 // Token: 0x1700059E RID: 1438
1510 // (get) Token: 0x060028BF RID: 10431 RVA: 0x00196F10 File Offset: 0x00195110
1511 // (set) Token: 0x060028C0 RID: 10432 RVA: 0x00196F24 File Offset: 0x00195124
1513 {
1515 get
1516 {
1518 }
1520 set
1521 {
1523 }
1524 }
1525
1526 // Token: 0x1700059F RID: 1439
1527 // (get) Token: 0x060028C1 RID: 10433 RVA: 0x00196F38 File Offset: 0x00195138
1528 // (set) Token: 0x060028C2 RID: 10434 RVA: 0x00196F4C File Offset: 0x0019514C
1530 {
1532 get
1533 {
1535 }
1537 set
1538 {
1540 }
1541 }
1542
1543 // Token: 0x170005A0 RID: 1440
1544 // (get) Token: 0x060028C3 RID: 10435 RVA: 0x00196F60 File Offset: 0x00195160
1545 // (set) Token: 0x060028C4 RID: 10436 RVA: 0x00196F74 File Offset: 0x00195174
1547 {
1549 get
1550 {
1552 }
1554 set
1555 {
1557 }
1558 }
1559
1560 // Token: 0x170005A1 RID: 1441
1561 // (get) Token: 0x060028C5 RID: 10437 RVA: 0x00196F88 File Offset: 0x00195188
1562 // (set) Token: 0x060028C6 RID: 10438 RVA: 0x00196F9C File Offset: 0x0019519C
1564 {
1566 get
1567 {
1569 }
1571 set
1572 {
1574 }
1575 }
1576
1577 // Token: 0x170005A2 RID: 1442
1578 // (get) Token: 0x060028C7 RID: 10439 RVA: 0x00196FB0 File Offset: 0x001951B0
1579 // (set) Token: 0x060028C8 RID: 10440 RVA: 0x00196FC4 File Offset: 0x001951C4
1581 {
1583 get
1584 {
1586 }
1588 set
1589 {
1591 }
1592 }
1593
1594 // Token: 0x170005A3 RID: 1443
1595 // (get) Token: 0x060028C9 RID: 10441 RVA: 0x00196FD8 File Offset: 0x001951D8
1596 // (set) Token: 0x060028CA RID: 10442 RVA: 0x00196FEC File Offset: 0x001951EC
1598 {
1600 get
1601 {
1603 }
1605 set
1606 {
1608 }
1609 }
1610
1611 // Token: 0x170005A4 RID: 1444
1612 // (get) Token: 0x060028CB RID: 10443 RVA: 0x00197000 File Offset: 0x00195200
1613 // (set) Token: 0x060028CC RID: 10444 RVA: 0x00197014 File Offset: 0x00195214
1615 {
1617 get
1618 {
1620 }
1622 set
1623 {
1625 }
1626 }
1627
1628 // Token: 0x170005A5 RID: 1445
1629 // (get) Token: 0x060028CD RID: 10445 RVA: 0x00197028 File Offset: 0x00195228
1630 // (set) Token: 0x060028CE RID: 10446 RVA: 0x0019703C File Offset: 0x0019523C
1632 {
1634 get
1635 {
1637 }
1639 set
1640 {
1642 }
1643 }
1644
1645 // Token: 0x060028CF RID: 10447 RVA: 0x00197050 File Offset: 0x00195250
1647 {
1648 }
1649
1650 // Token: 0x04003574 RID: 13684
1652 private string <Nurse>k__BackingField;
1653
1654 // Token: 0x04003575 RID: 13685
1656 private string <Merchant>k__BackingField;
1657
1658 // Token: 0x04003576 RID: 13686
1660 private string <ArmsDealer>k__BackingField;
1661
1662 // Token: 0x04003577 RID: 13687
1664 private string <Dryad>k__BackingField;
1665
1666 // Token: 0x04003578 RID: 13688
1668 private string <Demolitionist>k__BackingField;
1669
1670 // Token: 0x04003579 RID: 13689
1672 private string <Clothier>k__BackingField;
1673
1674 // Token: 0x0400357A RID: 13690
1676 private string <Guide>k__BackingField;
1677
1678 // Token: 0x0400357B RID: 13691
1680 private string <Wizard>k__BackingField;
1681
1682 // Token: 0x0400357C RID: 13692
1684 private string <GoblinTinkerer>k__BackingField;
1685
1686 // Token: 0x0400357D RID: 13693
1688 private string <Mechanic>k__BackingField;
1689
1690 // Token: 0x0400357E RID: 13694
1692 private string <Truffle>k__BackingField;
1693
1694 // Token: 0x0400357F RID: 13695
1696 private string <Steampunker>k__BackingField;
1697
1698 // Token: 0x04003580 RID: 13696
1700 private string <DyeTrader>k__BackingField;
1701
1702 // Token: 0x04003581 RID: 13697
1704 private string <PartyGirl>k__BackingField;
1705
1706 // Token: 0x04003582 RID: 13698
1708 private string <Cyborg>k__BackingField;
1709
1710 // Token: 0x04003583 RID: 13699
1712 private string <Painter>k__BackingField;
1713
1714 // Token: 0x04003584 RID: 13700
1716 private string <WitchDoctor>k__BackingField;
1717
1718 // Token: 0x04003585 RID: 13701
1720 private string <Pirate>k__BackingField;
1721
1722 // Token: 0x04003586 RID: 13702
1724 private string <Stylist>k__BackingField;
1725
1726 // Token: 0x04003587 RID: 13703
1728 private string <TravelingMerchant>k__BackingField;
1729
1730 // Token: 0x04003588 RID: 13704
1732 private string <Angler>k__BackingField;
1733
1734 // Token: 0x04003589 RID: 13705
1736 private string <Bartender>k__BackingField;
1737
1738 // Token: 0x0400358A RID: 13706
1740 private string <WorldName>k__BackingField;
1741
1742 // Token: 0x0400358B RID: 13707
1744 private bool <Day>k__BackingField;
1745
1746 // Token: 0x0400358C RID: 13708
1748 private bool <BloodMoon>k__BackingField;
1749
1750 // Token: 0x0400358D RID: 13709
1752 private bool <Eclipse>k__BackingField;
1753
1754 // Token: 0x0400358E RID: 13710
1756 private bool <MoonLordDefeated>k__BackingField;
1757
1758 // Token: 0x0400358F RID: 13711
1760 private bool <GolemDefeated>k__BackingField;
1761
1762 // Token: 0x04003590 RID: 13712
1764 private bool <DukeFishronDefeated>k__BackingField;
1765
1766 // Token: 0x04003591 RID: 13713
1768 private bool <FrostLegionDefeated>k__BackingField;
1769
1770 // Token: 0x04003592 RID: 13714
1772 private bool <MartiansDefeated>k__BackingField;
1773
1774 // Token: 0x04003593 RID: 13715
1776 private bool <PumpkingDefeated>k__BackingField;
1777
1778 // Token: 0x04003594 RID: 13716
1780 private bool <IceQueenDefeated>k__BackingField;
1781
1782 // Token: 0x04003595 RID: 13717
1784 private bool <HardMode>k__BackingField;
1785
1786 // Token: 0x04003596 RID: 13718
1788 private bool <Homeless>k__BackingField;
1789
1790 // Token: 0x04003597 RID: 13719
1792 private string <InventoryKey>k__BackingField;
1793
1794 // Token: 0x04003598 RID: 13720
1796 private string <PlayerName>k__BackingField;
1797
1798 // Token: 0x04003599 RID: 13721
1800 private string <GolfGuy>k__BackingField;
1801
1802 // Token: 0x0400359A RID: 13722
1804 private string <TaxCollector>k__BackingField;
1805
1806 // Token: 0x0400359B RID: 13723
1809
1810 // Token: 0x0400359C RID: 13724
1812 private bool <Graveyard>k__BackingField;
1813
1814 // Token: 0x0400359D RID: 13725
1816 private int <AnglerCompletedQuestsCount>k__BackingField;
1817
1818 // Token: 0x0400359E RID: 13726
1820 private int <TotalDeathsCount>k__BackingField;
1821
1822 // Token: 0x0400359F RID: 13727
1824 private string <WorldEvilStone>k__BackingField;
1825
1826 // Token: 0x040035A0 RID: 13728
1828 private string <InputTriggerUI_BuildFromInventory>k__BackingField;
1829
1830 // Token: 0x040035A1 RID: 13729
1832 private string <InputTriggerUI_SellItem>k__BackingField;
1833
1834 // Token: 0x040035A2 RID: 13730
1836 private string <InputTriggerUI_Trash>k__BackingField;
1837
1838 // Token: 0x040035A3 RID: 13731
1840 private string <InputTriggerUI_FavoriteItem>k__BackingField;
1841
1842 // Token: 0x040035A4 RID: 13732
1844 private string <InputTriggerUI_ZoomIn>k__BackingField;
1845
1846 // Token: 0x040035A5 RID: 13733
1848 private string <InputTriggerUI_ZoomOut>k__BackingField;
1849
1850 // Token: 0x040035A6 RID: 13734
1852 private string <InputTrigger_QuickEquip>k__BackingField;
1853
1854 // Token: 0x040035A7 RID: 13735
1856 private string <InputTrigger_LockOn>k__BackingField;
1857
1858 // Token: 0x040035A8 RID: 13736
1860 private string <InputTrigger_SmartCursor>k__BackingField;
1861
1862 // Token: 0x040035A9 RID: 13737
1864 private string <InputTrigger_UseOrAttack>k__BackingField;
1865
1866 // Token: 0x040035AA RID: 13738
1868 private string <InputTrigger_InteractWithTile>k__BackingField;
1869
1870 // Token: 0x040035AB RID: 13739
1872 private string <InputTrigger_SmartSelect>k__BackingField;
1873 }
1874
1875 // Token: 0x02000438 RID: 1080
1877 private sealed class <>c__DisplayClass48_0
1878 {
1879 // Token: 0x060028D0 RID: 10448 RVA: 0x00197064 File Offset: 0x00195264
1881 {
1882 }
1883
1884 // Token: 0x060028D1 RID: 10449 RVA: 0x00197078 File Offset: 0x00195278
1886 {
1887 string text2 = this.startsWith;
1888 bool flag = key.StartsWith(text2);
1889 object obj = this.substitutions;
1890 return text.CanFormatWith(obj);
1891 }
1892
1893 // Token: 0x040035AC RID: 13740
1894 public string startsWith;
1895
1896 // Token: 0x040035AD RID: 13741
1897 public object substitutions;
1898 }
1899
1900 // Token: 0x02000439 RID: 1081
1902 private sealed class <>c__DisplayClass49_0
1903 {
1904 // Token: 0x060028D2 RID: 10450 RVA: 0x001970A4 File Offset: 0x001952A4
1906 {
1907 }
1908
1909 // Token: 0x060028D3 RID: 10451 RVA: 0x001970B8 File Offset: 0x001952B8
1911 {
1912 string text2 = this.startsWith;
1913 return key.StartsWith(text2);
1914 }
1915
1916 // Token: 0x040035AE RID: 13742
1917 public string startsWith;
1918 }
1919
1920 // Token: 0x0200043A RID: 1082
1923 {
1924 // Token: 0x060028D4 RID: 10452 RVA: 0x001970D4 File Offset: 0x001952D4
1926 {
1927 }
1928
1929 // Token: 0x060028D5 RID: 10453 RVA: 0x001970E8 File Offset: 0x001952E8
1931 {
1932 LocalizedText[] array = this.nameCache;
1934 {
1935 string text;
1936 bool flag = Language.Exists(text);
1937 }
1938 string text2;
1939 if (Language.GetText(text2) == null)
1940 {
1941 return;
1942 }
1943 }
1944
1945 // Token: 0x040035AF RID: 13743
1947
1948 // Token: 0x040035B0 RID: 13744
1950
1951 // Token: 0x040035B1 RID: 13745
1952 public string category;
1953 }
1954
1955 // Token: 0x0200043B RID: 1083
1957 [Serializable]
1959 {
1960 // Token: 0x060028D6 RID: 10454 RVA: 0x00197130 File Offset: 0x00195330
1961 // Note: this type is marked as 'beforefieldinit'.
1963 {
1964 }
1965
1966 // Token: 0x060028D7 RID: 10455 RVA: 0x00197140 File Offset: 0x00195340
1968 {
1969 }
1970
1971 // Token: 0x060028D8 RID: 10456 RVA: 0x00197154 File Offset: 0x00195354
1973 {
1974 bool flag;
1975 return flag;
1976 }
1977
1978 // Token: 0x040035B2 RID: 13746
1979 public static readonly Lang.<>c__52<IdClass, IdType> <>9;
1980
1981 // Token: 0x040035B3 RID: 13747
1982 public static Func<FieldInfo, bool> <>9__52_0;
1983 }
1984
1985 // Token: 0x0200043C RID: 1084
1987 [Serializable]
1988 private sealed class <>c
1989 {
1990 // Token: 0x060028D9 RID: 10457 RVA: 0x00197164 File Offset: 0x00195364
1991 // Note: this type is marked as 'beforefieldinit'.
1992 static <>c()
1993 {
1994 }
1995
1996 // Token: 0x060028DA RID: 10458 RVA: 0x00197174 File Offset: 0x00195374
1997 public <>c()
1998 {
1999 }
2000
2001 // Token: 0x060028DB RID: 10459 RVA: 0x00197188 File Offset: 0x00195388
2003 {
2004 bool flag;
2005 return flag;
2006 }
2007
2008 // Token: 0x060028DC RID: 10460 RVA: 0x00197198 File Offset: 0x00195398
2010 {
2012 if (itemTooltip == null || itemTooltip != null)
2013 {
2014 return;
2015 }
2016 throw new ArrayTypeMismatchException();
2017 }
2018
2019 // Token: 0x040035B4 RID: 13748
2020 public static readonly Lang.<>c <>9;
2021
2022 // Token: 0x040035B5 RID: 13749
2023 public static Func<FieldInfo, bool> <>9__54_0;
2024
2025 // Token: 0x040035B6 RID: 13750
2026 public static Action<FieldInfo> <>9__54_1;
2027 }
2028 }
2029}
class f__AnonymousType0<< Count > j__TPar
string< InputTriggerUI_Trash > k__BackingField
Definition Lang.cs:1836
string< WitchDoctor > k__BackingField
Definition Lang.cs:1716
string< InputTrigger_SmartSelect > k__BackingField
Definition Lang.cs:1872
string< Steampunker > k__BackingField
Definition Lang.cs:1696
int< TotalDeathsCount > k__BackingField
Definition Lang.cs:1820
int< AnglerCompletedQuestsCount > k__BackingField
Definition Lang.cs:1816
string< InputTrigger_UseOrAttack > k__BackingField
Definition Lang.cs:1864
string< PlayerName > k__BackingField
Definition Lang.cs:1796
string< GoblinTinkerer > k__BackingField
Definition Lang.cs:1684
string< InputTriggerUI_ZoomIn > k__BackingField
Definition Lang.cs:1844
string< Pirate > k__BackingField
Definition Lang.cs:1720
bool< IceQueenDefeated > k__BackingField
Definition Lang.cs:1780
string< Mechanic > k__BackingField
Definition Lang.cs:1688
string< TravelingMerchant > k__BackingField
Definition Lang.cs:1728
string< DyeTrader > k__BackingField
Definition Lang.cs:1700
bool< Eclipse > k__BackingField
Definition Lang.cs:1752
bool< HardMode > k__BackingField
Definition Lang.cs:1784
bool< BloodMoon > k__BackingField
Definition Lang.cs:1748
bool< PumpkingDefeated > k__BackingField
Definition Lang.cs:1776
string< InputTriggerUI_SellItem > k__BackingField
Definition Lang.cs:1832
bool< MartiansDefeated > k__BackingField
Definition Lang.cs:1772
string< GolfGuy > k__BackingField
Definition Lang.cs:1800
string< Demolitionist > k__BackingField
Definition Lang.cs:1668
string< WorldName > k__BackingField
Definition Lang.cs:1740
string< Truffle > k__BackingField
Definition Lang.cs:1692
string< InputTriggerUI_FavoriteItem > k__BackingField
Definition Lang.cs:1840
string< Painter > k__BackingField
Definition Lang.cs:1712
string< InputTrigger_InteractWithTile > k__BackingField
Definition Lang.cs:1868
string< Merchant > k__BackingField
Definition Lang.cs:1656
string< Cyborg > k__BackingField
Definition Lang.cs:1708
bool< GolemDefeated > k__BackingField
Definition Lang.cs:1760
string< Nurse > k__BackingField
Definition Lang.cs:1652
bool< Homeless > k__BackingField
Definition Lang.cs:1788
bool< DukeFishronDefeated > k__BackingField
Definition Lang.cs:1764
string< InputTrigger_SmartCursor > k__BackingField
Definition Lang.cs:1860
string< PartyGirl > k__BackingField
Definition Lang.cs:1704
string< Bartender > k__BackingField
Definition Lang.cs:1736
string< Guide > k__BackingField
Definition Lang.cs:1676
string< WorldEvilStone > k__BackingField
Definition Lang.cs:1824
string< Stylist > k__BackingField
Definition Lang.cs:1724
string< Clothier > k__BackingField
Definition Lang.cs:1672
bool< Graveyard > k__BackingField
Definition Lang.cs:1812
string< InputTrigger_QuickEquip > k__BackingField
Definition Lang.cs:1852
string< InputTriggerUI_BuildFromInventory > k__BackingField
Definition Lang.cs:1828
string< Dryad > k__BackingField
Definition Lang.cs:1664
string< InputTriggerUI_ZoomOut > k__BackingField
Definition Lang.cs:1848
string< Wizard > k__BackingField
Definition Lang.cs:1680
string< ArmsDealer > k__BackingField
Definition Lang.cs:1660
string< InventoryKey > k__BackingField
Definition Lang.cs:1792
string< TaxCollector > k__BackingField
Definition Lang.cs:1804
string< Angler > k__BackingField
Definition Lang.cs:1732
bool< FrostLegionDefeated > k__BackingField
Definition Lang.cs:1768
bool< MoonLordDefeated > k__BackingField
Definition Lang.cs:1756
string< InputTrigger_LockOn > k__BackingField
Definition Lang.cs:1856
string text2
Definition Lang.cs:1938
static string GetNPCHouseBannerText(NPC npc, int bannerStyle)
Definition Lang.cs:435
static LocalizedText[] inter
Definition Lang.cs:646
static LocalizedText[] gen
Definition Lang.cs:638
static LocalizedText GetItemName(int id)
Definition Lang.cs:156
static LocalizedText[] dresserType
Definition Lang.cs:662
return flag
Definition Lang.cs:1975
static string GetNPCNameValue(int netID)
Definition Lang.cs:93
static string BunnyChat(NPC npc)
Definition Lang.cs:407
static LocalizedText[] menu
Definition Lang.cs:634
static LocalizedText[] _emojiNameCache
Definition Lang.cs:699
static string AnglerQuestCountChat(NPC npc)
Definition Lang.cs:305
class c__52< IdClass, IdType > where IdType
Definition Lang.cs:1974
static string GetMapObjectName(int id)
Definition Lang.cs:16
static string dialog(int l, bool english=false)
Definition Lang.cs:84
static object CreateDialogSubstitutionObject([Optional] NPC npc)
Definition Lang.cs:43
static LocalizedText[] chestType2
Definition Lang.cs:666
static string BestiaryGirlChat(NPC npc)
Definition Lang.cs:360
static NetworkText CreateDeathMessage(string deadPlayerName, int plr=-1, int npc=-1, int proj=-1, int other=-1, int projType=0, int plrItemType=0)
Definition Lang.cs:554
class c__DisplayClass52_0< IdClass, IdType > where IdType
Definition Lang.cs:1932
static string PrincessChat(NPC npc)
Definition Lang.cs:371
static string DyeTraderQuestChat(bool gotDye=false)
Definition Lang.cs:293
static void InitializeLegacyLocalization()
Definition Lang.cs:515
static string GolferChat(NPC npc)
Definition Lang.cs:348
static void FillNameCacheArray< IdClass, IdType >(string category, LocalizedText[] nameCache, bool leaveMissingEntriesBlank=false)
Definition Lang.cs:497
static LocalizedText GetProjectileName(int type)
Definition Lang.cs:470
static LocalizedText[] chestType
Definition Lang.cs:658
static LocalizedText[] misc
Definition Lang.cs:642
static string GetBuffName(int id)
Definition Lang.cs:222
static LocalizedText[] prefix
Definition Lang.cs:669
static LocalizedText[] _mapLegendCache
Definition Lang.cs:672
static LocalizedText[] mp
Definition Lang.cs:654
static string GetItemNameValue(int id)
Definition Lang.cs:213
static string AnglerQuestChat(bool turnIn=false)
Definition Lang.cs:454
static Lang()
Definition Lang.cs:628
static string GetRandomGameTitle()
Definition Lang.cs:286
static LocalizedText[] _itemNameCache
Definition Lang.cs:678
static LocalizedText[] _projectileNameCache
Definition Lang.cs:681
static LocalizedText[] mobile
Definition Lang.cs:675
static bool CanSubstituteBindings(string bindingKey)
Definition Lang.cs:72
static string LocalizedDuration(TimeSpan time, bool abbreviated, bool showAllAvailableUnits)
Definition Lang.cs:604
static string SlimeChat(NPC npc)
Definition Lang.cs:419
static Lang.SubstitutionsObject SubstitutionsObjectValue
Definition Lang.cs:702
LocalizedText[] nameCache
Definition Lang.cs:1946
static string CatChat(NPC npc)
Definition Lang.cs:383
static string DogChat(NPC npc)
Definition Lang.cs:395
static ItemTooltip GetTooltip(int itemId)
Definition Lang.cs:129
static string BartenderHelpText(NPC npc)
Definition Lang.cs:317
static LocalizedText[] _negativeNpcNameCache
Definition Lang.cs:687
static LocalizedText GetEmojiName(int id)
Definition Lang.cs:186
static string GetBuffDescription(int id)
Definition Lang.cs:249
static string GetDryadWorldStatusDialog([Out] bool worldIsEntirelyPure)
Definition Lang.cs:276
static ItemTooltip[] _itemTooltipCache
Definition Lang.cs:696
static void BuildMapAtlas()
Definition Lang.cs:537
static readonly Lang.<> c__52< IdClass, IdType ><> static Func< FieldInfo, bool ><> class c
Definition Lang.cs:1989
static LocalizedText[] tip
Definition Lang.cs:650
string category
Definition Lang.cs:1952
static string ToopltipProcessor(short Id, string tooltip)
Definition Lang.cs:505
static string BartenderChat(NPC npc)
Definition Lang.cs:330
static LanguageSearchFilter CreateDialogFilter(string startsWith)
Definition Lang.cs:448
static LanguageSearchFilter CreateDialogFilter(string startsWith, object substitutions)
Definition Lang.cs:442
static LocalizedText[] _npcNameCache
Definition Lang.cs:684
static LocalizedText[] _buffDescriptionCache
Definition Lang.cs:693
bool leaveMissingEntriesBlank
Definition Lang.cs:1949
static LocalizedText[] _buffNameCache
Definition Lang.cs:690
static LocalizedText GetNPCName(int netID)
Definition Lang.cs:102
static NetworkText GetInvasionWaveText(int wave, params short[] npcIds)
Definition Lang.cs:585
static LocalizedText[] FindAll(Regex regex)
Definition Language.cs:144
static LocalizedText GetText(string key)
Definition Language.cs:44
static bool Exists(string key)
Definition Language.cs:124
static string GetTextValue(string key)
Definition Language.cs:54
static string GetTextValueWith(string key, object obj)
Definition Language.cs:104
static int myPlayer
Definition Main.cs:2337
static int LookupCount()
Definition MapHelper.cs:96
static XNAUnityRunner.ForcedInputMode PrimaryInputMode