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
Gore.cs
Go to the documentation of this file.
1using System;
5
6namespace Terraria
7{
8 // Token: 0x02000433 RID: 1075
9 public class Gore
10 {
11 // Token: 0x17000569 RID: 1385
12 // (get) Token: 0x06002821 RID: 10273 RVA: 0x0018FF48 File Offset: 0x0018E148
13 public float Width
14 {
15 get
16 {
17 /*
18An exception occurred when decompiling this method (06002821)
19
20ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.Gore::get_Width()
21
22 ---> System.Exception: Basic block has to end with unconditional control flow.
23{
24 IL_0005:
25 stloc:float32(var_2_0B, ldfld:float32(Gore::scale, ldloc:Gore(this)))
26 brtrue(IL_0000, 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
43 // Token: 0x1700056A RID: 1386
44 // (get) Token: 0x06002822 RID: 10274 RVA: 0x0018FF64 File Offset: 0x0018E164
45 public float Height
46 {
47 get
48 {
49 /*
50An exception occurred when decompiling this method (06002822)
51
52ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.Gore::get_Height()
53
54 ---> System.Exception: Basic block has to end with unconditional control flow.
55{
56 IL_0005:
57 stloc:float32(var_2_0B, ldfld:float32(Gore::scale, ldloc:Gore(this)))
58 brtrue(IL_0000, ldloc:int32[exp:bool](var_0_01))
59}
60
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 1852
62 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
63 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
64 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
65 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
66 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
67 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
68 --- End of inner exception stack trace ---
69 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
70 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
71*/;
72 }
73 }
74
75 // Token: 0x1700056B RID: 1387
76 // (get) Token: 0x06002823 RID: 10275 RVA: 0x0018FF80 File Offset: 0x0018E180
78 {
79 get
80 {
81 int num = 1;
82 if (num == 0)
83 {
84 }
85 if (num == 0)
86 {
87 }
88 float x = this.position.X;
89 float y = this.position.Y;
90 float num2 = this.scale;
92 return rectangle;
93 }
94 }
95
96 // Token: 0x1700056C RID: 1388
97 // (get) Token: 0x06002824 RID: 10276 RVA: 0x0018FFC8 File Offset: 0x0018E1C8
98 // (set) Token: 0x06002825 RID: 10277 RVA: 0x0018FFE0 File Offset: 0x0018E1E0
99 [Obsolete("Please use Frame instead.")]
100 public byte frame
101 {
102 get
103 {
104 return this.Frame._currentRow;
105 }
106 set
107 {
109 }
110 }
111
112 // Token: 0x1700056D RID: 1389
113 // (get) Token: 0x06002826 RID: 10278 RVA: 0x0018FFFC File Offset: 0x0018E1FC
114 // (set) Token: 0x06002827 RID: 10279 RVA: 0x00190014 File Offset: 0x0018E214
115 [Obsolete("Please use Frame instead.")]
116 public byte numFrames
117 {
118 get
119 {
120 return this.Frame.RowCount;
121 }
122 set
123 {
124 byte columnCount = this.Frame.ColumnCount;
126 byte currentRow = this.Frame._currentRow;
128 }
129 }
130
131 // Token: 0x06002828 RID: 10280 RVA: 0x00190054 File Offset: 0x0018E254
133 {
134 int num = 1;
135 if (num == 0)
136 {
137 }
138 this.timeLeft = num;
139 float x = this.position.X;
140 float y = this.position.Y;
141 if (num == 0)
142 {
143 }
144 if (num == 0)
145 {
146 }
147 }
148
149 // Token: 0x06002829 RID: 10281 RVA: 0x001900F0 File Offset: 0x0018E2F0
151 {
152 int num = 1;
153 int num2 = this.timeLeft;
154 if (num == 0)
155 {
156 }
157 this.timeLeft = num;
158 float x = this.position.X;
159 float y = this.position.Y;
160 if (num == 0)
161 {
162 }
163 if (num == 0)
164 {
165 }
166 float x2 = this.velocity.X;
167 float y2 = this.velocity.Y;
169 if (num == 0)
170 {
171 }
172 int num3 = this.timeLeft;
173 if (this.alpha == 0)
174 {
175 }
176 int num4;
177 if (num4 == 0)
178 {
179 int num5 = this.alpha;
181 return;
182 }
183 float x3 = this.position.X;
184 float y3 = this.position.Y;
185 float x4 = this.velocity.X;
186 float y4 = this.velocity.Y;
187 int num6;
188 if (num6 == 0)
189 {
190 }
193 }
194
195 // Token: 0x0600282A RID: 10282 RVA: 0x001901F8 File Offset: 0x0018E3F8
197 {
198 int num = 1;
199 int num2 = this.timeLeft;
200 if (num == 0)
201 {
202 }
203 this.timeLeft = num;
204 float x = this.position.X;
205 float y = this.position.Y;
206 if (num == 0)
207 {
208 }
209 if (num == 0)
210 {
211 }
212 int num3 = this.timeLeft;
213 if (this.alpha == 0)
214 {
215 }
216 int num4;
217 if (num4 == 0)
218 {
219 int num5 = this.alpha;
221 return;
222 }
223 float x2 = this.position.X;
224 float y2 = this.position.Y;
225 float x3 = this.velocity.X;
226 float y3 = this.velocity.Y;
227 int num6;
228 if (num6 == 0)
229 {
230 }
231 }
232
233 // Token: 0x0600282B RID: 10283 RVA: 0x001902BC File Offset: 0x0018E4BC
235 {
236 int num;
237 if (this.frameCounter == 0)
238 {
239 num = 1;
240 this.frameCounter = (byte)num;
241 if (num == 0)
242 {
243 }
244 int num2;
246 }
247 int num3 = this.timeLeft;
248 if (num == 0)
249 {
250 }
251 this.timeLeft = num;
252 int num4 = 17279;
253 float num5 = this.scale;
254 float x = this.position.X;
255 float y = this.position.Y;
257 float width = this.Width;
258 float height = this.Height;
259 if (num4 == 0)
260 {
261 }
262 if (num4 == 0)
263 {
264 }
265 float x2 = this.position.X;
266 float y2 = this.position.Y;
267 float x3 = this.velocity.X;
268 float y3 = this.velocity.Y;
271 }
272
273 // Token: 0x0600282C RID: 10284 RVA: 0x001903A0 File Offset: 0x0018E5A0
274 private float ChumFloatingChunk_GetWaterLine(int X, int Y)
275 {
276 /*
277An exception occurred when decompiling this method (0600282C)
278
279ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.Gore::ChumFloatingChunk_GetWaterLine(System.Int32,System.Int32)
280
281 ---> System.Exception: Basic block has to end with unconditional control flow.
282{
283 IL_003E:
284 stloc:uint8(var_10_45, callgetter:uint8(Tile::get_liquid, ldloc:Tile[exp:valuetype Terraria.Tile&](var_9)))
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: 0x0600282D RID: 10285 RVA: 0x001903F4 File Offset: 0x0018E5F4
299 {
300 float x = this.position.X;
301 float y = this.position.Y;
302 if (!true)
303 {
304 }
305 return true;
306 }
307
308 // Token: 0x0600282E RID: 10286 RVA: 0x00190424 File Offset: 0x0018E624
309 public void Update()
310 {
311 if (!true)
312 {
313 }
315 if (this.active)
316 {
317 int num2;
318 if (this.sticky)
319 {
320 bool flag = this.DeactivateIfOutsideOfWorld();
321 int num = 16896;
322 float x = this.velocity.X;
323 float y = this.velocity.Y;
324 if (num == 0)
325 {
326 }
327 num2 = 16896;
328 }
329 if (num2 == 0)
330 {
331 }
332 return;
333 }
334 }
335
336 // Token: 0x0600282F RID: 10287 RVA: 0x00191344 File Offset: 0x0018F544
337 private void Gore_UpdateLeaf()
338 {
339 int num = 1;
340 float x = this.position.X;
341 float y = this.position.Y;
342 if (num == 0)
343 {
344 }
345 float x2 = this.position.X;
346 float y2 = this.position.Y;
347 float y3 = this.velocity.Y;
348 float x3 = this.velocity.X;
349 Tile tile;
350 byte liquid = tile.liquid;
351 }
352
353 // Token: 0x06002830 RID: 10288 RVA: 0x001915D8 File Offset: 0x0018F7D8
354 private void Gore_UpdateSail()
355 {
356 }
357
358 // Token: 0x06002831 RID: 10289 RVA: 0x00191630 File Offset: 0x0018F830
359 public static Gore NewGorePerfect(Vector2 Position, Vector2 Velocity, int Type, float Scale = 1f)
360 {
361 if (!true)
362 {
363 }
364 Gore gore;
365 return gore;
366 }
367
368 // Token: 0x06002832 RID: 10290 RVA: 0x00191644 File Offset: 0x0018F844
369 public static Gore NewGoreDirect(Vector2 Position, Vector2 Velocity, int Type, float Scale = 1f)
370 {
371 /*
372An exception occurred when decompiling this method (06002832)
373
374ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Gore Terraria.Gore::NewGoreDirect(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Int32,System.Single)
375
376 ---> System.Exception: Basic block has to end with unconditional control flow.
377{
378 IL_0000:
379 brtrue(IL_0000, ldc.i4:bool(1))
380}
381
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 1852
383 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
384 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
385 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
386 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
387 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
388 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
389 --- End of inner exception stack trace ---
390 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
391 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
392*/;
393 }
394
395 // Token: 0x06002833 RID: 10291 RVA: 0x00191654 File Offset: 0x0018F854
396 public static int NewGore(Vector2 Position, Vector2 Velocity, int Type, float Scale = 1f)
397 {
398 int num = 1;
399 if (num == 0)
400 {
401 }
403 if (num == 0)
404 {
405 }
406 if (num != 0 || num == 0)
407 {
408 }
409 return 600;
410 }
411
412 // Token: 0x06002834 RID: 10292 RVA: 0x00191738 File Offset: 0x0018F938
414 {
415 int num = this.alpha;
416 float num2 = this.light;
417 Color color;
418 return color;
419 }
420
421 // Token: 0x06002835 RID: 10293 RVA: 0x00191778 File Offset: 0x0018F978
422 public Gore()
423 {
424 if (!true)
425 {
426 }
427 this.timeLeft = 1;
428 this.Frame = 1;
429 base..ctor();
430 }
431
432 // Token: 0x06002836 RID: 10294 RVA: 0x001917A4 File Offset: 0x0018F9A4
433 // Note: this type is marked as 'beforefieldinit'.
434 static Gore()
435 {
436 }
437
438 // Token: 0x04003418 RID: 13336
439 public static int goreTime;
440
441 // Token: 0x04003419 RID: 13337
443
444 // Token: 0x0400341A RID: 13338
446
447 // Token: 0x0400341B RID: 13339
448 public float rotation;
449
450 // Token: 0x0400341C RID: 13340
451 public float scale;
452
453 // Token: 0x0400341D RID: 13341
454 public int alpha;
455
456 // Token: 0x0400341E RID: 13342
457 public int type;
458
459 // Token: 0x0400341F RID: 13343
460 public float light;
461
462 // Token: 0x04003420 RID: 13344
463 public bool active;
464
465 // Token: 0x04003421 RID: 13345
466 public bool sticky = true;
467
468 // Token: 0x04003422 RID: 13346
469 public int timeLeft;
470
471 // Token: 0x04003423 RID: 13347
472 public bool behindTiles;
473
474 // Token: 0x04003424 RID: 13348
475 public byte frameCounter;
476
477 // Token: 0x04003425 RID: 13349
479
480 // Token: 0x04003426 RID: 13350
481 public int PlayerOnly;
482 }
483}
class f__AnonymousType0<< Count > j__TPar
static int goreTime
Definition Gore.cs:439
Vector2 velocity
Definition Gore.cs:445
void UpdateFogMachineCloud()
Definition Gore.cs:196
bool behindTiles
Definition Gore.cs:472
Vector2 position
Definition Gore.cs:442
SpriteFrame Frame
Definition Gore.cs:478
void UpdateLightningBunnySparks()
Definition Gore.cs:234
byte frameCounter
Definition Gore.cs:475
Rectangle AABBRectangle
Definition Gore.cs:78
static Gore()
Definition Gore.cs:434
float Height
Definition Gore.cs:46
static Gore NewGorePerfect(Vector2 Position, Vector2 Velocity, int Type, float Scale=1f)
Definition Gore.cs:359
bool active
Definition Gore.cs:463
static Gore NewGoreDirect(Vector2 Position, Vector2 Velocity, int Type, float Scale=1f)
Definition Gore.cs:369
float light
Definition Gore.cs:460
int PlayerOnly
Definition Gore.cs:481
int alpha
Definition Gore.cs:454
float Width
Definition Gore.cs:14
float rotation
Definition Gore.cs:448
static int NewGore(Vector2 Position, Vector2 Velocity, int Type, float Scale=1f)
Definition Gore.cs:396
Color GetAlpha(Color newColor)
Definition Gore.cs:413
float scale
Definition Gore.cs:451
bool sticky
Definition Gore.cs:466
bool DeactivateIfOutsideOfWorld()
Definition Gore.cs:298
void Update()
Definition Gore.cs:309
int timeLeft
Definition Gore.cs:469
byte numFrames
Definition Gore.cs:117
void Gore_UpdateLeaf()
Definition Gore.cs:337
void UpdateAmbientFloorCloud()
Definition Gore.cs:132
float ChumFloatingChunk_GetWaterLine(int X, int Y)
Definition Gore.cs:274
byte frame
Definition Gore.cs:101
void UpdateAmbientAirborneCloud()
Definition Gore.cs:150
void Gore_UpdateSail()
Definition Gore.cs:354
static bool NetHostOnly
Definition Main.cs:5482
byte liquid
Definition Tile.cs:110