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
GasParticle.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200075A RID: 1882
9 {
10 // Token: 0x06003DEF RID: 15855 RVA: 0x0023AB64 File Offset: 0x00238D64
11 public override void FetchFromPool()
12 {
13 base.FetchFromPool();
14 if (!true)
15 {
16 }
17 this.TimeToLive = (float)17056;
19 if (!true)
20 {
21 }
22 int num;
24 this.SlowdownScalar = (float)13107;
25 this.InitialScale = (float)16256;
26 }
27
28 // Token: 0x06003DF0 RID: 15856 RVA: 0x0023ABAC File Offset: 0x00238DAC
29 public override void Update(ParticleRendererSettings settings)
30 {
31 base.Update(settings);
33 float timeToLive = this.TimeToLive;
34 if (!true)
35 {
36 }
37 if (!true)
38 {
39 }
40 float initialScale = this.InitialScale;
41 if (!true)
42 {
43 }
47 float slowdownScalar = this.SlowdownScalar;
51 float x = this.Velocity.X;
52 float y = this.Velocity.Y;
57 if (17392 == 0)
58 {
59 }
61 float opacity = this.Opacity;
62 if (17392 == 0)
63 {
64 }
65 float num;
66 Color color = lightColorTint2 * num;
67 float x2 = this.LocalPosition.X;
68 float y2 = this.LocalPosition.Y;
70 float timeToLive2 = this.TimeToLive;
72 }
73
74 // Token: 0x06003DF1 RID: 15857 RVA: 0x0023ACC8 File Offset: 0x00238EC8
75 public override void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)
76 {
77 if (!true)
78 {
79 }
80 if (!true)
81 {
82 }
84 float x = this.LocalPosition.X;
85 float y = this.LocalPosition.Y;
86 if (!true)
87 {
88 }
89 float x2 = this.LocalPosition.X;
90 float y2 = this.LocalPosition.Y;
91 if (!true)
92 {
93 }
94 Point point;
95 Color color = Lighting.GetColor(point);
97 float opacity = this.Opacity;
98 float x3 = this.Scale.X;
99 float y3 = this.Scale.Y;
100 float rotation = this.Rotation;
101 float opacity2 = this.Opacity;
102 float rotation2 = this.Rotation;
103 }
104
105 // Token: 0x06003DF2 RID: 15858 RVA: 0x0023AD70 File Offset: 0x00238F70
106 public GasParticle()
107 {
108 }
109
110 // Token: 0x04007CAA RID: 31914
112
113 // Token: 0x04007CAB RID: 31915
115
116 // Token: 0x04007CAC RID: 31916
117 public float TimeToLive = (float)17056;
118
119 // Token: 0x04007CAD RID: 31917
121
122 // Token: 0x04007CAE RID: 31918
123 public float Opacity;
124
125 // Token: 0x04007CAF RID: 31919
126 public float AdditiveAmount;
127
128 // Token: 0x04007CB0 RID: 31920
129 public float FadeInEnd;
130
131 // Token: 0x04007CB1 RID: 31921
132 public float FadeOutStart;
133
134 // Token: 0x04007CB2 RID: 31922
135 public float FadeOutEnd;
136
137 // Token: 0x04007CB3 RID: 31923
138 public float SlowdownScalar = (float)13107;
139
140 // Token: 0x04007CB4 RID: 31924
141 private float _timeSinceSpawn;
142
143 // Token: 0x04007CB5 RID: 31925
145
146 // Token: 0x04007CB6 RID: 31926
148
149 // Token: 0x04007CB7 RID: 31927
150 public float InitialScale = (float)16256;
151 }
152}
class f__AnonymousType0<< Count > j__TPar
bool< ShouldBeRemovedFromRenderer > k__BackingField
override void Update(ParticleRendererSettings settings)
override void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)
static Color GetColor(Point tileCoords)
Definition Lighting.cs:423