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
SupportedRenderingFeatures.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000117 RID: 279
10 {
11 // Token: 0x1700013A RID: 314
12 // (get) Token: 0x060005B1 RID: 1457 RVA: 0x0000A15C File Offset: 0x0000835C
13 // (set) Token: 0x060005B2 RID: 1458 RVA: 0x0000A178 File Offset: 0x00008378
15 {
16 get
17 {
18 if (!true)
19 {
20 }
21 if (true || !true)
22 {
23 }
24 if (!true)
25 {
26 }
27 return 1;
28 }
29 set
30 {
31 if (!true)
32 {
33 }
34 }
35 }
36
37 // Token: 0x1700013B RID: 315
38 // (get) Token: 0x060005B3 RID: 1459 RVA: 0x0000A188 File Offset: 0x00008388
47
48 // Token: 0x1700013C RID: 316
49 // (get) Token: 0x060005B4 RID: 1460 RVA: 0x0000A19C File Offset: 0x0000839C
58
59 // Token: 0x1700013D RID: 317
60 // (get) Token: 0x060005B5 RID: 1461 RVA: 0x0000A1B0 File Offset: 0x000083B0
62 {
64 get
65 {
67 }
68 }
69
70 // Token: 0x1700013E RID: 318
71 // (get) Token: 0x060005B6 RID: 1462 RVA: 0x0000A1C4 File Offset: 0x000083C4
73 {
75 get
76 {
78 }
79 }
80
81 // Token: 0x1700013F RID: 319
82 // (get) Token: 0x060005B7 RID: 1463 RVA: 0x0000A1D8 File Offset: 0x000083D8
84 {
86 get
87 {
89 }
90 }
91
92 // Token: 0x17000140 RID: 320
93 // (get) Token: 0x060005B8 RID: 1464 RVA: 0x0000A1EC File Offset: 0x000083EC
94 public bool enlighten
95 {
97 get
98 {
99 return this.<enlighten>k__BackingField;
100 }
101 }
102
103 // Token: 0x17000141 RID: 321
104 // (get) Token: 0x060005B9 RID: 1465 RVA: 0x0000A200 File Offset: 0x00008400
106 {
108 get
109 {
111 }
112 }
113
114 // Token: 0x17000142 RID: 322
115 // (get) Token: 0x060005BA RID: 1466 RVA: 0x0000A214 File Offset: 0x00008414
117 {
119 get
120 {
122 }
123 }
124
125 // Token: 0x17000143 RID: 323
126 // (get) Token: 0x060005BB RID: 1467 RVA: 0x0000A228 File Offset: 0x00008428
128 {
130 get
131 {
133 }
134 }
135
136 // Token: 0x060005BC RID: 1468 RVA: 0x0000A23C File Offset: 0x0000843C
150
151 // Token: 0x060005BD RID: 1469 RVA: 0x0000A2A8 File Offset: 0x000084A8
153 {
154 /*
155An exception occurred when decompiling this method (060005BD)
156
157ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean UnityEngine.Rendering.SupportedRenderingFeatures::IsMixedLightingModeSupported(UnityEngine.MixedLightingMode)
158
159 ---> System.Exception: Basic block has to end with unconditional control flow.
160{
161 IL_0000:
162 brtrue(IL_0000, ldc.i4:bool(1))
163}
164
165 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
166 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
167 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
168 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
169 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
170 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
171 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
172 --- End of inner exception stack trace ---
173 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
174 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
175*/;
176 }
177
178 // Token: 0x060005BE RID: 1470 RVA: 0x0000A2B8 File Offset: 0x000084B8
190
191 // Token: 0x060005BF RID: 1471 RVA: 0x0000A304 File Offset: 0x00008504
193 {
194 /*
195An exception occurred when decompiling this method (060005BF)
196
197ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean UnityEngine.Rendering.SupportedRenderingFeatures::IsLightmapBakeTypeSupported(UnityEngine.LightmapBakeType)
198
199 ---> System.Exception: Basic block has to end with unconditional control flow.
200{
201 IL_0000:
202 brtrue(IL_0000, ldc.i4:bool(1))
203}
204
205 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
206 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
207 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
208 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
209 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
210 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
211 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
212 --- End of inner exception stack trace ---
213 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
214 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
215*/;
216 }
217
218 // Token: 0x060005C0 RID: 1472 RVA: 0x0000A314 File Offset: 0x00008514
244
245 // Token: 0x060005C1 RID: 1473 RVA: 0x0000A360 File Offset: 0x00008560
252
253 // Token: 0x060005C2 RID: 1474 RVA: 0x0000A380 File Offset: 0x00008580
256 {
257 void* ptr = (void*)isSupportedPtr;
258 if (lightmapper != 0)
259 {
260 return;
261 }
263 }
264
265 // Token: 0x060005C3 RID: 1475 RVA: 0x0000A3A4 File Offset: 0x000085A4
272
273 // Token: 0x060005C4 RID: 1476 RVA: 0x0000A3C4 File Offset: 0x000085C4
280
281 // Token: 0x060005C5 RID: 1477 RVA: 0x0000A3E4 File Offset: 0x000085E4
288
289 // Token: 0x060005C6 RID: 1478 RVA: 0x0000A404 File Offset: 0x00008604
292 {
293 void* ptr = (void*)lightmapperPtr;
294 }
295
296 // Token: 0x060005C7 RID: 1479 RVA: 0x0000A418 File Offset: 0x00008618
298 {
299 long num = 16843009L;
300 this.<rendererProbes>k__BackingField = num != 0L;
301 this.<overrideShadowmaskMessage>k__BackingField = "";
302 base..ctor();
303 }
304
305 // Token: 0x060005C8 RID: 1480 RVA: 0x0000A444 File Offset: 0x00008644
306 // Note: this type is marked as 'beforefieldinit'.
308 {
309 }
310
311 // Token: 0x04000494 RID: 1172
313
314 // Token: 0x04000495 RID: 1173
318
319 // Token: 0x04000496 RID: 1174
323
324 // Token: 0x04000497 RID: 1175
328
329 // Token: 0x04000498 RID: 1176
332 private LightmapBakeType <lightmapBakeTypes>k__BackingField;
333
334 // Token: 0x04000499 RID: 1177
337 private LightmapsMode <lightmapsModes>k__BackingField;
338
339 // Token: 0x0400049A RID: 1178
342 private bool <enlightenLightmapper>k__BackingField;
343
344 // Token: 0x0400049B RID: 1179
347 private bool <enlighten>k__BackingField;
348
349 // Token: 0x0400049C RID: 1180
352 private bool <lightProbeProxyVolumes>k__BackingField;
353
354 // Token: 0x0400049D RID: 1181
357 private bool <motionVectors>k__BackingField;
358
359 // Token: 0x0400049E RID: 1182
362 private bool <receiveShadows>k__BackingField;
363
364 // Token: 0x0400049F RID: 1183
367 private bool <reflectionProbes>k__BackingField;
368
369 // Token: 0x040004A0 RID: 1184
372 private bool <reflectionProbesBlendDistance>k__BackingField;
373
374 // Token: 0x040004A1 RID: 1185
377 private bool <rendererPriority>k__BackingField;
378
379 // Token: 0x040004A2 RID: 1186
382 private bool <rendersUIOverlay>k__BackingField;
383
384 // Token: 0x040004A3 RID: 1187
387 private bool <overridesEnvironmentLighting>k__BackingField;
388
389 // Token: 0x040004A4 RID: 1188
392 private bool <overridesFog>k__BackingField;
393
394 // Token: 0x040004A5 RID: 1189
397 private bool <overridesRealtimeReflectionProbes>k__BackingField;
398
399 // Token: 0x040004A6 RID: 1190
402 private bool <overridesOtherLightingSettings>k__BackingField;
403
404 // Token: 0x040004A7 RID: 1191
407 private bool <editableMaterialRenderQueue>k__BackingField;
408
409 // Token: 0x040004A8 RID: 1192
412 private bool <overridesLODBias>k__BackingField;
413
414 // Token: 0x040004A9 RID: 1193
417 private bool <overridesMaximumLODLevel>k__BackingField;
418
419 // Token: 0x040004AA RID: 1194
422 private bool <rendererProbes>k__BackingField;
423
424 // Token: 0x040004AB RID: 1195
427 private bool <particleSystemInstancing>k__BackingField;
428
429 // Token: 0x040004AC RID: 1196
432 private bool <autoAmbientProbeBaking>k__BackingField;
433
434 // Token: 0x040004AD RID: 1197
437 private bool <autoDefaultReflectionProbeBaking>k__BackingField;
438
439 // Token: 0x040004AE RID: 1198
442 private bool <overridesShadowmask>k__BackingField;
443
444 // Token: 0x040004AF RID: 1199
447 private string <overrideShadowmaskMessage>k__BackingField;
448
449 // Token: 0x02000118 RID: 280
450 [Flags]
452 {
453 // Token: 0x040004B1 RID: 1201
454 None = 0,
455 // Token: 0x040004B2 RID: 1202
456 Rotation = 1
457 }
458
459 // Token: 0x02000119 RID: 281
460 [Flags]
462 {
463 // Token: 0x040004B4 RID: 1204
464 None = 0,
465 // Token: 0x040004B5 RID: 1205
466 IndirectOnly = 1,
467 // Token: 0x040004B6 RID: 1206
468 Subtractive = 2,
469 // Token: 0x040004B7 RID: 1207
470 Shadowmask = 4
471 }
472 }
473}
class f__AnonymousType0<< Count > j__TPar
static unsafe void IsLightmapsModeSupportedByRef(LightmapsMode mode, IntPtr isSupportedPtr)
bool< autoDefaultReflectionProbeBaking > k__BackingField
static unsafe void FallbackLightmapperByRef(IntPtr lightmapperPtr)
static unsafe void IsMixedLightingModeSupportedByRef(MixedLightingMode mixedMode, IntPtr isSupportedPtr)
bool< overridesRealtimeReflectionProbes > k__BackingField
static bool IsLightmapBakeTypeSupported(LightmapBakeType bakeType)
static unsafe void IsAutoAmbientProbeBakingSupported(IntPtr isSupportedPtr)
static unsafe void IsUIOverlayRenderedBySRP(IntPtr isSupportedPtr)
bool< overridesOtherLightingSettings > k__BackingField
static bool IsMixedLightingModeSupported(MixedLightingMode mixedMode)
SupportedRenderingFeatures.LightmapMixedBakeModes mixedLightingModes
SupportedRenderingFeatures.LightmapMixedBakeModes< defaultMixedLightingModes > k__BackingField
SupportedRenderingFeatures.LightmapMixedBakeModes< mixedLightingModes > k__BackingField
static unsafe void FallbackMixedLightingModeByRef(IntPtr fallbackModePtr)
static unsafe void IsLightmapperSupportedByRef(int lightmapper, IntPtr isSupportedPtr)
SupportedRenderingFeatures.LightmapMixedBakeModes defaultMixedLightingModes
SupportedRenderingFeatures.ReflectionProbeModes< reflectionProbeModes > k__BackingField
static unsafe void IsAutoDefaultReflectionProbeBakingSupported(IntPtr isSupportedPtr)
static unsafe void IsLightmapBakeTypeSupportedByRef(LightmapBakeType bakeType, IntPtr isSupportedPtr)