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
Effect.cs
Go to the documentation of this file.
1using System;
3using UnityEngine;
4
6{
7 // Token: 0x02000362 RID: 866
8 public class Effect : GraphicsResource
9 {
10 // Token: 0x17000298 RID: 664
11 // (get) Token: 0x06001690 RID: 5776 RVA: 0x00063010 File Offset: 0x00061210
12 // (set) Token: 0x06001691 RID: 5777 RVA: 0x00063024 File Offset: 0x00061224
14 {
16 get
17 {
18 return this.<Parameters>k__BackingField;
19 }
21 protected set
22 {
24 }
25 }
26
27 // Token: 0x17000299 RID: 665
28 // (get) Token: 0x06001692 RID: 5778 RVA: 0x00063038 File Offset: 0x00061238
29 // (set) Token: 0x06001693 RID: 5779 RVA: 0x0006304C File Offset: 0x0006124C
31 {
33 get
34 {
36 }
38 protected set
39 {
41 }
42 }
43
44 // Token: 0x06001694 RID: 5780 RVA: 0x00063060 File Offset: 0x00061260
49
50 // Token: 0x06001695 RID: 5781 RVA: 0x0006307C File Offset: 0x0006127C
52 {
54 base..ctor();
56 this._isClone = true;
57 }
58
59 // Token: 0x06001696 RID: 5782 RVA: 0x000630A4 File Offset: 0x000612A4
60 public virtual void ApplyValuesToMaterial(EffectPass pass, Material material)
61 {
62 }
63
64 // Token: 0x06001697 RID: 5783 RVA: 0x000630B4 File Offset: 0x000612B4
65 private void Clone(Effect cloneSource)
66 {
67 }
68
69 // Token: 0x06001698 RID: 5784 RVA: 0x000630C4 File Offset: 0x000612C4
70 public virtual Effect Clone()
71 {
72 /*
73An exception occurred when decompiling this method (06001698)
74
75ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Effect Microsoft.Xna.Framework.Graphics.Effect::Clone()
76
77 ---> System.Exception: Basic block has to end with unconditional control flow.
78{
79 Block_0:
80 stloc:GraphicsDevice(var_0_06, ldfld:GraphicsDevice(GraphicsResource::graphicsDevice, ldloc:Effect[exp:GraphicsResource](this)))
81}
82
83 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
84 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
85 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
86 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
87 --- End of inner exception stack trace ---
88 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
89 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
90*/;
91 }
92
93 // Token: 0x06001699 RID: 5785 RVA: 0x000630D8 File Offset: 0x000612D8
94 protected internal virtual void OnApply()
95 {
96 }
97
98 // Token: 0x040024D5 RID: 9429
100 private EffectParameterCollection <Parameters>k__BackingField;
101
102 // Token: 0x040024D6 RID: 9430
104 private EffectTechnique <CurrentTechnique>k__BackingField;
105
106 // Token: 0x040024D7 RID: 9431
107 private readonly bool _isClone;
108 }
109}
class f__AnonymousType0<< Count > j__TPar
Effect(GraphicsDevice graphicsDevice)
Definition Effect.cs:45
EffectParameterCollection Parameters
Definition Effect.cs:14
EffectTechnique< CurrentTechnique > k__BackingField
Definition Effect.cs:104
virtual void ApplyValuesToMaterial(EffectPass pass, Material material)
Definition Effect.cs:60
EffectParameterCollection< Parameters > k__BackingField
Definition Effect.cs:100
void Clone(Effect cloneSource)
Definition Effect.cs:65