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
TextureAtlasDB.cs
Go to the documentation of this file.
1using System;
7using UnityEngine;
8
9// Token: 0x020002E6 RID: 742
10public class TextureAtlasDB
11{
12 // Token: 0x17000197 RID: 407
13 // (get) Token: 0x06001124 RID: 4388 RVA: 0x0005542C File Offset: 0x0005362C
14 public static bool DefaultTexturesHigh
15 {
16 get
17 {
20 }
21 }
22
23 // Token: 0x06001125 RID: 4389 RVA: 0x0005544C File Offset: 0x0005364C
24 public static void LoadTextureDBs()
25 {
26 if (!true)
27 {
28 }
30 {
31 }
32 string text;
34 }
35
36 // Token: 0x06001126 RID: 4390 RVA: 0x00055478 File Offset: 0x00053678
37 public static bool LoadTexture(string file, [Out] TextureAtlasDB atlas, [Out] TextureAtlasEntry atlasEntry)
38 {
39 string text;
40 int num = UID.Generate(text + ".png");
41 if (".png" == null)
42 {
43 }
44 if (".png" == null)
45 {
46 return;
47 }
48 }
49
50 // Token: 0x17000198 RID: 408
51 // (get) Token: 0x06001127 RID: 4391 RVA: 0x000554AC File Offset: 0x000536AC
52 private string ContentRoot
53 {
54 get
55 {
56 /*
57An exception occurred when decompiling this method (06001127)
58
59ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String TextureAtlasDB::get_ContentRoot()
60
61 ---> System.Exception: Basic block has to end with unconditional control flow.
62{
63 Block_0:
64 stloc:bool(var_0_06, ldfld:bool(TextureAtlasDB::UseLowResTextures, ldloc:TextureAtlasDB(this)))
65}
66
67 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
68 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
69 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
70 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
71 --- End of inner exception stack trace ---
72 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
73 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
74*/;
75 }
76 }
77
78 // Token: 0x06001128 RID: 4392 RVA: 0x000021DB File Offset: 0x000003DB
79 private static TextureAtlasDB LoadDB(string id, bool useLowResTextures = false)
80 {
81 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
82 }
83
84 // Token: 0x06001129 RID: 4393 RVA: 0x000554C0 File Offset: 0x000536C0
85 public TextureAtlasDB(string id)
86 {
87 this.Id = id;
88 }
89
90 // Token: 0x0600112A RID: 4394 RVA: 0x000554E4 File Offset: 0x000536E4
91 public void SetNumberOfAtlasPages(short pages)
92 {
93 global::UnityEngine.Texture2D[] textures = this.Textures;
94 global::UnityEngine.Texture2D[] textures2 = this.Textures;
95 global::UnityEngine.Texture2D[] texturesAlpha = this.TexturesAlpha;
96 global::UnityEngine.Texture2D[] texturesAlpha2 = this.TexturesAlpha;
97 global::UnityEngine.Texture2D[] texturesPal = this.TexturesPal;
98 global::UnityEngine.Texture2D[] texturesPal2 = this.TexturesPal;
99 this.NumberOfPages = pages;
100 int num = 2048;
106 }
107
108 // Token: 0x0600112B RID: 4395 RVA: 0x00055564 File Offset: 0x00053764
109 private void LoadTextures()
110 {
111 global::UnityEngine.Texture2D[] textures = this.Textures;
112 long num = 0L;
113 global::UnityEngine.Texture2D texture2D = this.AltlasTexture((int)num);
114 global::UnityEngine.Texture2D[] textures2 = this.Textures;
115 }
116
117 // Token: 0x0600112C RID: 4396 RVA: 0x0005558C File Offset: 0x0005378C
123
124 // Token: 0x0600112D RID: 4397 RVA: 0x000555A8 File Offset: 0x000537A8
125 public void Load()
126 {
127 string contentRoot = this.ContentRoot;
128 string id = this.Id;
129 TextAsset textAsset = ContentManager.LoadUnityResource<TextAsset>(contentRoot + id);
130 if (textAsset.bytes != null)
131 {
132 byte[] bytes = textAsset.bytes;
133 return;
134 }
135 long num = 0L;
136 this.SetNumberOfAtlasPages((short)num);
137 }
138
139 // Token: 0x0600112E RID: 4398 RVA: 0x0005569C File Offset: 0x0005389C
140 public byte[] Save()
141 {
142 short numberOfPages = this.NumberOfPages;
143 int[] textureWidth = this.TextureWidth;
144 int[] textureHeight = this.TextureHeight;
147 long num = 0L;
148 int num2 = 6;
149 if (num != 0L)
150 {
151 throw new OutOfMemoryException();
152 }
153 if (num2 == 0)
154 {
155 }
156 if (!false)
157 {
158 if (!false)
159 {
160 }
161 throw new OutOfMemoryException();
162 }
163 throw new OutOfMemoryException();
164 }
165
166 // Token: 0x0600112F RID: 4399 RVA: 0x0005573C File Offset: 0x0005393C
167 private void LoadCallback(global::UnityEngine.Texture2D tex0, global::UnityEngine.Texture2D tex1, global::UnityEngine.Texture2D tex2, int page)
168 {
169 do
170 {
171 global::UnityEngine.Texture2D[] textures = this.Textures;
172 if (tex0 != null && tex0 == null)
173 {
174 goto IL_0050;
175 }
176 global::UnityEngine.Texture2D[] texturesAlpha = this.TexturesAlpha;
177 if (tex1 != null && tex1 == null)
178 {
179 goto IL_0050;
180 }
181 global::UnityEngine.Texture2D[] texturesPal = this.TexturesPal;
182 if (tex2 != null && tex2 == null)
183 {
184 goto IL_0050;
185 }
186 global::UnityEngine.Texture2D[] textures2 = this.Textures;
187 int[] textureWidth = this.TextureWidth;
188 global::UnityEngine.Texture2D[] textures3 = this.Textures;
189 int[] textureHeight = this.TextureHeight;
190 }
191 while (this.AtlasEntries == null);
192 return;
193 IL_0050:
194 throw new ArrayTypeMismatchException();
195 }
196
197 // Token: 0x06001130 RID: 4400 RVA: 0x000557B8 File Offset: 0x000539B8
198 public void LoadTexturesAsync(int index)
199 {
200 global::UnityEngine.Texture2D[] textures = this.Textures;
202 int num = 1;
204 string contentRoot = this.ContentRoot;
205 string id = this.Id;
206 string text2;
207 string text = contentRoot + id + text2;
208 string text3 = text + "_A";
209 string text4 = text + "_P";
210 }
211
212 // Token: 0x06001131 RID: 4401 RVA: 0x00055818 File Offset: 0x00053A18
213 public global::UnityEngine.Texture2D AltlasTexture(int index)
214 {
215 global::UnityEngine.Texture2D[] textures = this.Textures;
216 global::UnityEngine.Texture2D[] textures2 = this.Textures;
217 string contentRoot = this.ContentRoot;
218 string id = this.Id;
219 string text;
220 global::UnityEngine.Texture2D texture2D = ContentManager.LoadUnityResource<global::UnityEngine.Texture2D>(contentRoot + id + text);
221 if (texture2D == null || texture2D != null)
222 {
223 global::UnityEngine.Texture2D[] textures3 = this.Textures;
224 int[] textureWidth = this.TextureWidth;
225 global::UnityEngine.Texture2D[] textures4 = this.Textures;
226 int[] textureHeight = this.TextureHeight;
227 global::UnityEngine.Texture2D[] texturesAlpha = this.TexturesAlpha;
228 string contentRoot2 = this.ContentRoot;
229 string id2 = this.Id;
230 string text2;
231 global::UnityEngine.Texture2D texture2D2 = ContentManager.LoadUnityResource<global::UnityEngine.Texture2D>(contentRoot2 + id2 + text2 + "_A");
232 if (texture2D2 == null || texture2D2 != null)
233 {
234 global::UnityEngine.Texture2D[] texturesPal = this.TexturesPal;
235 string contentRoot3 = this.ContentRoot;
236 string id3 = this.Id;
237 string text3;
238 global::UnityEngine.Texture2D texture2D3 = ContentManager.LoadUnityResource<global::UnityEngine.Texture2D>(contentRoot3 + id3 + text3 + "_P");
239 if (texture2D3 == null || texture2D3 != null)
240 {
241 global::UnityEngine.Texture2D[] textures5 = this.Textures;
242 return texture2D3;
243 }
244 }
245 }
246 throw new ArrayTypeMismatchException();
247 }
248
249 // Token: 0x06001132 RID: 4402 RVA: 0x000558FC File Offset: 0x00053AFC
250 public global::UnityEngine.Texture2D AltlasAlphaTexture(int index)
251 {
252 /*
253An exception occurred when decompiling this method (06001132)
254
255ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Texture2D TextureAtlasDB::AltlasAlphaTexture(System.Int32)
256
257 ---> System.Exception: Basic block has to end with unconditional control flow.
258{
259 Block_0:
260 stloc:class [UnityEngine.CoreModule]UnityEngine.Texture2D[](var_0_06, ldfld:class [UnityEngine.CoreModule]UnityEngine.Texture2D[](TextureAtlasDB::TexturesAlpha, ldloc:TextureAtlasDB(this)))
261}
262
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 1852
264 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
265 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
266 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
267 --- End of inner exception stack trace ---
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 92
269 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
270*/;
271 }
272
273 // Token: 0x06001133 RID: 4403 RVA: 0x00055910 File Offset: 0x00053B10
274 public global::UnityEngine.Texture2D AltlasPalTexture(int index)
275 {
276 /*
277An exception occurred when decompiling this method (06001133)
278
279ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Texture2D TextureAtlasDB::AltlasPalTexture(System.Int32)
280
281 ---> System.Exception: Basic block has to end with unconditional control flow.
282{
283 Block_0:
284 stloc:class [UnityEngine.CoreModule]UnityEngine.Texture2D[](var_0_06, ldfld:class [UnityEngine.CoreModule]UnityEngine.Texture2D[](TextureAtlasDB::TexturesPal, ldloc:TextureAtlasDB(this)))
285}
286
287 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
288 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
289 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
290 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
291 --- End of inner exception stack trace ---
292 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
293 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
294*/;
295 }
296
297 // Token: 0x06001134 RID: 4404 RVA: 0x00055924 File Offset: 0x00053B24
298 public bool GetTexture(int fileUID, [Out] TextureAtlasDB atlas, [Out] TextureAtlasEntry atlasEntry)
299 {
301 return true;
302 }
303
304 // Token: 0x06001135 RID: 4405 RVA: 0x0005593C File Offset: 0x00053B3C
305 private static void SwitchAtlas(int atlas, bool useLowRes)
306 {
307 int num = 1;
308 if (num == 0)
309 {
310 }
311 if (num == 0)
312 {
313 }
314 }
315
316 // Token: 0x17000199 RID: 409
317 // (get) Token: 0x06001136 RID: 4406 RVA: 0x00055954 File Offset: 0x00053B54
318 // (set) Token: 0x06001137 RID: 4407 RVA: 0x00055964 File Offset: 0x00053B64
319 public static bool UITexturesHigh
320 {
321 get
322 {
323 /*
324An exception occurred when decompiling this method (06001136)
325
326ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean TextureAtlasDB::get_UITexturesHigh()
327
328 ---> System.Exception: Basic block has to end with unconditional control flow.
329{
330 IL_0000:
331 brtrue(IL_0000, ldc.i4:bool(1))
332}
333
334 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
335 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
336 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
337 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
338 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
339 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
340 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
341 --- End of inner exception stack trace ---
342 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
343 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
344*/;
345 }
346 set
347 {
348 if (!true)
349 {
350 }
351 if (!true)
352 {
353 }
358 }
359 }
360
361 // Token: 0x1700019A RID: 410
362 // (get) Token: 0x06001138 RID: 4408 RVA: 0x00055998 File Offset: 0x00053B98
363 // (set) Token: 0x06001139 RID: 4409 RVA: 0x000559A8 File Offset: 0x00053BA8
364 public static bool CharacterTexturesHigh
365 {
366 get
367 {
368 /*
369An exception occurred when decompiling this method (06001138)
370
371ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean TextureAtlasDB::get_CharacterTexturesHigh()
372
373 ---> System.Exception: Basic block has to end with unconditional control flow.
374{
375 IL_0000:
376 brtrue(IL_0000, ldc.i4:bool(1))
377}
378
379 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
380 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
381 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
382 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
383 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
384 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
385 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
386 --- End of inner exception stack trace ---
387 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
388 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
389*/;
390 }
391 set
392 {
393 if (!true)
394 {
395 }
396 if (!true)
397 {
398 }
401 }
402 }
403
404 // Token: 0x1700019B RID: 411
405 // (get) Token: 0x0600113A RID: 4410 RVA: 0x000559CC File Offset: 0x00053BCC
406 // (set) Token: 0x0600113B RID: 4411 RVA: 0x000559DC File Offset: 0x00053BDC
407 public static bool ProjectileTexturesHigh
408 {
409 get
410 {
411 /*
412An exception occurred when decompiling this method (0600113A)
413
414ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean TextureAtlasDB::get_ProjectileTexturesHigh()
415
416 ---> System.Exception: Basic block has to end with unconditional control flow.
417{
418 IL_0000:
419 brtrue(IL_0000, ldc.i4:bool(1))
420}
421
422 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
423 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
424 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
425 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
426 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
427 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
428 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
429 --- End of inner exception stack trace ---
430 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
431 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
432*/;
433 }
434 set
435 {
436 if (!true)
437 {
438 }
439 if (!true)
440 {
441 }
442 }
443 }
444
445 // Token: 0x1700019C RID: 412
446 // (get) Token: 0x0600113C RID: 4412 RVA: 0x000559F0 File Offset: 0x00053BF0
447 // (set) Token: 0x0600113D RID: 4413 RVA: 0x00055A00 File Offset: 0x00053C00
448 public static bool BackgroundTexturesHigh
449 {
450 get
451 {
452 /*
453An exception occurred when decompiling this method (0600113C)
454
455ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean TextureAtlasDB::get_BackgroundTexturesHigh()
456
457 ---> System.Exception: Basic block has to end with unconditional control flow.
458{
459 IL_0000:
460 brtrue(IL_0000, ldc.i4:bool(1))
461}
462
463 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
464 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
465 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
466 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
467 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
468 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
469 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
470 --- End of inner exception stack trace ---
471 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
472 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
473*/;
474 }
475 set
476 {
477 if (!true)
478 {
479 }
480 if (!true)
481 {
482 }
486 }
487 }
488
489 // Token: 0x1700019D RID: 413
490 // (get) Token: 0x0600113E RID: 4414 RVA: 0x00055A2C File Offset: 0x00053C2C
491 // (set) Token: 0x0600113F RID: 4415 RVA: 0x00055A3C File Offset: 0x00053C3C
492 public static bool GoreTexturesHigh
493 {
494 get
495 {
496 /*
497An exception occurred when decompiling this method (0600113E)
498
499ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean TextureAtlasDB::get_GoreTexturesHigh()
500
501 ---> System.Exception: Basic block has to end with unconditional control flow.
502{
503 IL_0000:
504 brtrue(IL_0000, ldc.i4:bool(1))
505}
506
507 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
508 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
509 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
510 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
511 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
512 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
513 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
514 --- End of inner exception stack trace ---
515 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
516 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
517*/;
518 }
519 set
520 {
521 if (!true)
522 {
523 }
524 if (!true)
525 {
526 }
527 }
528 }
529
530 // Token: 0x1700019E RID: 414
531 // (get) Token: 0x06001140 RID: 4416 RVA: 0x00055A50 File Offset: 0x00053C50
532 // (set) Token: 0x06001141 RID: 4417 RVA: 0x00055A60 File Offset: 0x00053C60
533 public static bool GlowTexturesHigh
534 {
535 get
536 {
537 /*
538An exception occurred when decompiling this method (06001140)
539
540ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean TextureAtlasDB::get_GlowTexturesHigh()
541
542 ---> System.Exception: Basic block has to end with unconditional control flow.
543{
544 IL_0000:
545 brtrue(IL_0000, ldc.i4:bool(1))
546}
547
548 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
549 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
550 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
551 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
552 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
553 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
554 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
555 --- End of inner exception stack trace ---
556 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
557 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
558*/;
559 }
560 set
561 {
562 if (!true)
563 {
564 }
565 if (!true)
566 {
567 }
568 }
569 }
570
571 // Token: 0x1700019F RID: 415
572 // (get) Token: 0x06001142 RID: 4418 RVA: 0x00055A74 File Offset: 0x00053C74
573 // (set) Token: 0x06001143 RID: 4419 RVA: 0x00055A84 File Offset: 0x00053C84
574 public static bool EnvironmentTexturesHigh
575 {
576 get
577 {
578 /*
579An exception occurred when decompiling this method (06001142)
580
581ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean TextureAtlasDB::get_EnvironmentTexturesHigh()
582
583 ---> System.Exception: Basic block has to end with unconditional control flow.
584{
585 IL_0000:
586 brtrue(IL_0000, ldc.i4:bool(1))
587}
588
589 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
590 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
591 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
592 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
593 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
594 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
595 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
596 --- End of inner exception stack trace ---
597 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
598 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
599*/;
600 }
601 set
602 {
603 if (!true)
604 {
605 }
606 if (!true)
607 {
608 }
613 }
614 }
615
616 // Token: 0x06001144 RID: 4420 RVA: 0x00055AB4 File Offset: 0x00053CB4
617 public static bool PendingAssetUnload()
618 {
619 if (!true)
620 {
621 }
622 return true;
623 }
624
625 // Token: 0x06001145 RID: 4421 RVA: 0x00055AC8 File Offset: 0x00053CC8
626 public static void ActionPendingUnloadAssets(bool fromLowMemory = false)
627 {
628 }
629
630 // Token: 0x06001146 RID: 4422 RVA: 0x00055AE4 File Offset: 0x00053CE4
631 public static void UnloadAssets()
632 {
633 if (!true)
634 {
635 }
636 }
637
638 // Token: 0x06001147 RID: 4423 RVA: 0x00055AF4 File Offset: 0x00053CF4
639 // Note: this type is marked as 'beforefieldinit'.
641 {
642 }
643
644 // Token: 0x040020EA RID: 8426
645 public int[] BatchTextureIndex;
646
647 // Token: 0x040020EB RID: 8427
648 public int[] TextureWidth;
649
650 // Token: 0x040020EC RID: 8428
651 public int[] TextureHeight;
652
653 // Token: 0x040020ED RID: 8429
654 private bool UseLowResTextures = true;
655
656 // Token: 0x040020EE RID: 8430
657 private short NumberOfPages;
658
659 // Token: 0x040020EF RID: 8431
660 private string Id;
661
662 // Token: 0x040020F0 RID: 8432
663 private bool loaded;
664
665 // Token: 0x040020F1 RID: 8433
666 private bool[] TexturesLoadRequested;
667
668 // Token: 0x040020F2 RID: 8434
669 private global::UnityEngine.Texture2D[] Textures;
670
671 // Token: 0x040020F3 RID: 8435
672 private global::UnityEngine.Texture2D[] TexturesAlpha;
673
674 // Token: 0x040020F4 RID: 8436
675 private global::UnityEngine.Texture2D[] TexturesPal;
676
677 // Token: 0x040020F5 RID: 8437
679
680 // Token: 0x040020F6 RID: 8438
682
683 // Token: 0x040020F7 RID: 8439
684 private static bool _uiTexturesHigh;
685
686 // Token: 0x040020F8 RID: 8440
687 private static bool _characterTexturesHigh;
688
689 // Token: 0x040020F9 RID: 8441
690 private static bool _projectileTexturesHigh;
691
692 // Token: 0x040020FA RID: 8442
693 private static bool _backgroundTexturesHigh;
694
695 // Token: 0x040020FB RID: 8443
696 private static bool _goreTexturesHigh;
697
698 // Token: 0x040020FC RID: 8444
699 private static bool _glowTexturesHigh;
700
701 // Token: 0x040020FD RID: 8445
702 private static bool _environmentTexturesHigh;
703
704 // Token: 0x040020FE RID: 8446
706
707 // Token: 0x040020FF RID: 8447
708 private static bool PendingUnload;
709
710 // Token: 0x020002E7 RID: 743
711 public enum AtlasIds
712 {
713 // Token: 0x04002101 RID: 8449
714 Tiles,
715 // Token: 0x04002102 RID: 8450
716 Misc,
717 // Token: 0x04002103 RID: 8451
718 NPC,
719 // Token: 0x04002104 RID: 8452
720 Walls,
721 // Token: 0x04002105 RID: 8453
722 Waterfall,
723 // Token: 0x04002106 RID: 8454
724 Trees,
725 // Token: 0x04002107 RID: 8455
726 Player,
727 // Token: 0x04002108 RID: 8456
728 Item,
729 // Token: 0x04002109 RID: 8457
731 // Token: 0x0400210A RID: 8458
732 Gore,
733 // Token: 0x0400210B RID: 8459
734 Glow,
735 // Token: 0x0400210C RID: 8460
736 MapBG,
737 // Token: 0x0400210D RID: 8461
738 UI,
739 // Token: 0x0400210E RID: 8462
740 Buff,
741 // Token: 0x0400210F RID: 8463
742 MiniMap,
743 // Token: 0x04002110 RID: 8464
745 // Token: 0x04002111 RID: 8465
746 Count
747 }
748
749 // Token: 0x020002E8 RID: 744
750 private struct SwitchEntry
751 {
752 // Token: 0x04002112 RID: 8466
753 public int atlas;
754
755 // Token: 0x04002113 RID: 8467
756 public bool useLowRes;
757 }
758}
class f__AnonymousType0<< Count > j__TPar
Texture2D(string sourceAsset, int width, int height)
Definition Texture2D.cs:300
static bool _projectileTexturesHigh
global::UnityEngine.Texture2D[] TexturesAlpha
global::UnityEngine.Texture2D[] TexturesPal
static bool GlowTexturesHigh
void LoadCallback(global::UnityEngine.Texture2D tex0, global::UnityEngine.Texture2D tex1, global::UnityEngine.Texture2D tex2, int page)
static bool PendingAssetUnload()
Dictionary< int, TextureAtlasEntry > AtlasEntries
global::UnityEngine.Texture2D[] Textures
global::UnityEngine.Texture2D AltlasPalTexture(int index)
static void SwitchAtlas(int atlas, bool useLowRes)
static bool _environmentTexturesHigh
bool GetTexture(int fileUID, [Out] TextureAtlasDB atlas, [Out] TextureAtlasEntry atlasEntry)
static List< TextureAtlasDB > AltlasDBs
static TextureAtlasDB LoadDB(string id, bool useLowResTextures=false)
static void UnloadAssets()
static TextureAtlasDB()
static bool _characterTexturesHigh
void AddEntry(TextureAtlasEntry entry)
static void LoadTextureDBs()
void LoadTexturesAsync(int index)
static bool CharacterTexturesHigh
global::UnityEngine.Texture2D AltlasAlphaTexture(int index)
static bool _uiTexturesHigh
static bool BackgroundTexturesHigh
static void ActionPendingUnloadAssets(bool fromLowMemory=false)
TextureAtlasDB(string id)
static bool DefaultTexturesHigh
static bool UITexturesHigh
global::UnityEngine.Texture2D AltlasTexture(int index)
static bool _backgroundTexturesHigh
void SetNumberOfAtlasPages(short pages)
static bool EnvironmentTexturesHigh
bool[] TexturesLoadRequested
static bool LoadTexture(string file, [Out] TextureAtlasDB atlas, [Out] TextureAtlasEntry atlasEntry)
static bool _glowTexturesHigh
static bool PendingUnload
static bool ProjectileTexturesHigh
static bool GoreTexturesHigh
static List< TextureAtlasDB.SwitchEntry > pendingSwitches
static bool _goreTexturesHigh
static int Generate(string data)
Definition UID.cs:7
Definition UID.cs:5
static bool SupportsTextureFormat(TextureFormat format)
Definition SystemInfo.cs:65