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
FadingParticle.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000757 RID: 1879
10 {
11 // Token: 0x06003DDE RID: 15838 RVA: 0x0023A65C File Offset: 0x0023885C
12 public override void FetchFromPool()
13 {
14 base.FetchFromPool();
15 }
16
17 // Token: 0x06003DDF RID: 15839 RVA: 0x0023A670 File Offset: 0x00238870
18 public void SetTypeInfo(float timeToLive)
19 {
20 }
21
22 // Token: 0x06003DE0 RID: 15840 RVA: 0x0023A680 File Offset: 0x00238880
23 public override void Update(ParticleRendererSettings settings)
24 {
25 base.Update(settings);
26 float timeTolive = this._timeTolive;
30 }
31
32 // Token: 0x06003DE1 RID: 15841 RVA: 0x0023A6B0 File Offset: 0x002388B0
33 public override void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)
34 {
37 if (!true)
38 {
39 }
40 if (!true)
41 {
42 }
43 float num;
44 Color color = colorTint * num;
45 float timeTolive = this._timeTolive;
48 Asset<Texture2D> texture = this._texture;
50 float x = this.LocalPosition.X;
51 float y = this.LocalPosition.Y;
52 if (texture == null)
53 {
54 }
55 Rectangle frame = this._frame;
56 int width = this._frame.Width;
57 float y2 = this._origin.Y;
58 float rotation = this.Rotation;
59 float x2 = this._origin.X;
60 float x3 = this.Scale.X;
61 float y3 = this.Scale.Y;
62 }
63
64 // Token: 0x06003DE2 RID: 15842 RVA: 0x0023A774 File Offset: 0x00238974
66 {
67 if (16256 == 0)
68 {
69 }
70 this.ColorTint = 16256;
71 base..ctor();
72 }
73
74 // Token: 0x04007C98 RID: 31896
76
77 // Token: 0x04007C99 RID: 31897
78 public float FadeOutNormalizedTime = (float)16256;
79
80 // Token: 0x04007C9A RID: 31898
82
83 // Token: 0x04007C9B RID: 31899
84 private float _timeTolive;
85
86 // Token: 0x04007C9C RID: 31900
87 private float _timeSinceSpawn;
88 }
89}
class f__AnonymousType0<< Count > j__TPar
bool< ShouldBeRemovedFromRenderer > k__BackingField
override void Update(ParticleRendererSettings settings)
override void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)