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
ArmorShaderData.cs
Go to the documentation of this file.
1using System;
8
10{
11 // Token: 0x02000745 RID: 1861
13 {
14 // Token: 0x06003D4B RID: 15691 RVA: 0x00238DA4 File Offset: 0x00236FA4
15 public ArmorShaderData(Ref<Effect> shader, string passName)
16 {
17 if (!true)
18 {
19 }
20 if (true)
21 {
22 return;
23 }
24 if (!true)
25 {
26 }
27 this._uSecondaryColor.Z = (float)1;
28 if (!true)
29 {
30 }
31 if (!true)
32 {
33 }
35 base..ctor();
36 this._shader = shader;
38 !0 value = shader.Value;
42 !0 value2 = shader2.Value;
46 !0 value3 = shader3.Value;
50 !0 value4 = shader4.Value;
54 !0 value5 = shader5.Value;
58 !0 value6 = shader6.Value;
62 !0 value7 = shader7.Value;
66 !0 value8 = shader8.Value;
70 !0 value9 = shader9.Value;
74 !0 value10 = shader10.Value;
78 !0 value11 = shader11.Value;
82 !0 value12 = shader12.Value;
86 !0 value13 = shader13.Value;
90 !0 value14 = shader14.Value;
93 }
94
95 // Token: 0x06003D4C RID: 15692 RVA: 0x000021DB File Offset: 0x000003DB
97 {
98 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
99 }
100
101 // Token: 0x06003D4D RID: 15693 RVA: 0x00238F38 File Offset: 0x00237138
102 public void ApplyDust()
103 {
104 this.applyingDust = true;
105 }
106
107 // Token: 0x06003D4E RID: 15694 RVA: 0x000021DB File Offset: 0x000003DB
108 public override void Apply(Entity entity, [Optional] DrawData? drawData)
109 {
110 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
111 }
112
113 // Token: 0x06003D4F RID: 15695 RVA: 0x00238F4C File Offset: 0x0023714C
114 public ArmorShaderData UseColor(float r, float g, float b)
115 {
116 return this;
117 }
118
119 // Token: 0x06003D50 RID: 15696 RVA: 0x00238F5C File Offset: 0x0023715C
121 {
122 return this;
123 }
124
125 // Token: 0x06003D51 RID: 15697 RVA: 0x00238F6C File Offset: 0x0023716C
127 {
128 return this;
129 }
130
131 // Token: 0x06003D52 RID: 15698 RVA: 0x00238F7C File Offset: 0x0023717C
132 public ArmorShaderData UseImage(string path)
133 {
134 if (!true)
135 {
136 }
137 return this;
138 }
139
140 // Token: 0x06003D53 RID: 15699 RVA: 0x00238F90 File Offset: 0x00237190
141 public ArmorShaderData UseOpacity(float alpha)
142 {
143 return this;
144 }
145
146 // Token: 0x06003D54 RID: 15700 RVA: 0x00238FA0 File Offset: 0x002371A0
148 {
149 return this;
150 }
151
152 // Token: 0x06003D55 RID: 15701 RVA: 0x00238FB0 File Offset: 0x002371B0
153 public ArmorShaderData UseSecondaryColor(float r, float g, float b)
154 {
155 return this;
156 }
157
158 // Token: 0x06003D56 RID: 15702 RVA: 0x00238FC0 File Offset: 0x002371C0
160 {
161 return this;
162 }
163
164 // Token: 0x06003D57 RID: 15703 RVA: 0x00238FD0 File Offset: 0x002371D0
166 {
167 return this;
168 }
169
170 // Token: 0x06003D58 RID: 15704 RVA: 0x00238FE0 File Offset: 0x002371E0
172 {
173 return this;
174 }
175
176 // Token: 0x06003D59 RID: 15705 RVA: 0x00238FF0 File Offset: 0x002371F0
178 {
179 return this;
180 }
181
182 // Token: 0x04007C29 RID: 31785
184
185 // Token: 0x04007C2A RID: 31786
187
188 // Token: 0x04007C2B RID: 31787
189 private float _uSaturation;
190
191 // Token: 0x04007C2C RID: 31788
192 private float _uOpacity;
193
194 // Token: 0x04007C2D RID: 31789
196
197 // Token: 0x04007C2E RID: 31790
199
200 // Token: 0x04007C2F RID: 31791
201 private int dustFrame;
202
203 // Token: 0x04007C30 RID: 31792
205
206 // Token: 0x04007C31 RID: 31793
208
209 // Token: 0x04007C32 RID: 31794
211
212 // Token: 0x04007C33 RID: 31795
214
215 // Token: 0x04007C34 RID: 31796
217
218 // Token: 0x04007C35 RID: 31797
220
221 // Token: 0x04007C36 RID: 31798
223
224 // Token: 0x04007C37 RID: 31799
226
227 // Token: 0x04007C38 RID: 31800
229
230 // Token: 0x04007C39 RID: 31801
232
233 // Token: 0x04007C3A RID: 31802
235
236 // Token: 0x04007C3B RID: 31803
238
239 // Token: 0x04007C3C RID: 31804
241
242 // Token: 0x04007C3D RID: 31805
244
245 // Token: 0x04007C3E RID: 31806
247
248 // Token: 0x04007C3F RID: 31807
249 private bool applyingDust;
250 }
251}
class f__AnonymousType0<< Count > j__TPar
ArmorShaderData(Ref< Effect > shader, string passName)
ArmorShaderData UseImage(string path)
ArmorShaderData UseTargetPosition(Vector2 position)
ArmorShaderData UseOpacity(float alpha)
ArmorShaderData UseSecondaryColor(Vector3 color)
ArmorShaderData UseColor(Vector3 color)
ArmorShaderData UseSecondaryColor(float r, float g, float b)
virtual ArmorShaderData GetSecondaryShader(Entity entity)
ArmorShaderData UseColor(float r, float g, float b)
override void Apply(Entity entity, [Optional] DrawData? drawData)
ArmorShaderData UseSaturation(float saturation)
ArmorShaderData UseColor(Color color)
ArmorShaderData UseSecondaryColor(Color color)
readonly Ref< Effect > _shader
Definition ShaderData.cs:65
T Value
Definition Ref.cs:20