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
PrettySparkleParticle.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200075B RID: 1883
9 {
10 // Token: 0x06003DF3 RID: 15859 RVA: 0x0023ADA4 File Offset: 0x00238FA4
11 public override void FetchFromPool()
12 {
13 base.FetchFromPool();
14 if (!true)
15 {
16 }
17 this.FadeOutEnd = (float)16948;
18 this.TimeToLive = (float)17008;
19 this.Opacity = (float)1;
20 this.DrawHorizontalAxis = 257 != 0;
21 }
22
23 // Token: 0x06003DF4 RID: 15860 RVA: 0x0023ADE4 File Offset: 0x00238FE4
24 public override void Update(ParticleRendererSettings settings)
25 {
26 base.Update(settings);
29 float timeToLive = this.TimeToLive;
30 if (!true)
31 {
32 }
35 float timeToLive2 = this.TimeToLive;
37 float timeToLive3 = this.TimeToLive;
40 }
41
42 // Token: 0x06003DF5 RID: 15861 RVA: 0x0023AE48 File Offset: 0x00239048
43 public override void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)
44 {
45 if (!true)
46 {
47 }
48 float opacity = this.Opacity;
50 float opacity2 = this.Opacity;
51 float additiveAmount = this.AdditiveAmount;
53 float timeToLive = this.TimeToLive;
54 float fadeInEnd = this.FadeInEnd;
55 float fadeOutStart = this.FadeOutStart;
56 float fadeOutEnd = this.FadeOutEnd;
57 float x = this.Scale.X;
58 float y = this.Scale.Y;
59 float x2 = this.Scale.X;
60 float y2 = this.Scale.Y;
62 float num;
63 Color color = color2 * num;
65 float x3 = this.LocalPosition.X;
66 float y3 = this.LocalPosition.Y;
67 if (this.DrawHorizontalAxis)
68 {
69 float rotation = this.Rotation;
70 }
71 if (this.DrawVerticalAxis)
72 {
73 float rotation2 = this.Rotation;
74 }
76 if (drawHorizontalAxis)
77 {
78 float rotation3 = this.Rotation;
79 if (!drawHorizontalAxis)
80 {
81 }
82 }
84 if (drawVerticalAxis)
85 {
86 float rotation4 = this.Rotation;
87 if (!drawVerticalAxis)
88 {
89 }
90 }
91 }
92
93 // Token: 0x06003DF6 RID: 15862 RVA: 0x0023AF68 File Offset: 0x00239168
95 {
96 }
97
98 // Token: 0x04007CB8 RID: 31928
100
101 // Token: 0x04007CB9 RID: 31929
103
104 // Token: 0x04007CBA RID: 31930
105 public float TimeToLive = (float)17008;
106
107 // Token: 0x04007CBB RID: 31931
109
110 // Token: 0x04007CBC RID: 31932
111 public float Opacity;
112
113 // Token: 0x04007CBD RID: 31933
114 public float AdditiveAmount;
115
116 // Token: 0x04007CBE RID: 31934
117 public float FadeInEnd;
118
119 // Token: 0x04007CBF RID: 31935
120 public float FadeOutStart;
121
122 // Token: 0x04007CC0 RID: 31936
123 public float FadeOutEnd;
124
125 // Token: 0x04007CC1 RID: 31937
126 public bool DrawHorizontalAxis = 257 != 0;
127
128 // Token: 0x04007CC2 RID: 31938
129 public bool DrawVerticalAxis;
130
131 // Token: 0x04007CC3 RID: 31939
132 private float _timeSinceSpawn;
133 }
134}
class f__AnonymousType0<< Count > j__TPar
bool< ShouldBeRemovedFromRenderer > k__BackingField
override void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)
override void Update(ParticleRendererSettings settings)