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
LittleFlyingCritterParticle.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000753 RID: 1875
10 {
11 // Token: 0x17000785 RID: 1925
12 // (get) Token: 0x06003DBA RID: 15802 RVA: 0x00239E80 File Offset: 0x00238080
13 // (set) Token: 0x06003DBB RID: 15803 RVA: 0x00239E94 File Offset: 0x00238094
14 public bool IsRestingInPool
15 {
17 get
18 {
20 }
22 private set
23 {
24 }
25 }
26
27 // Token: 0x17000786 RID: 1926
28 // (get) Token: 0x06003DBC RID: 15804 RVA: 0x00239EA4 File Offset: 0x002380A4
29 // (set) Token: 0x06003DBD RID: 15805 RVA: 0x00239EB8 File Offset: 0x002380B8
31 {
33 get
34 {
36 }
38 private set
39 {
40 }
41 }
42
43 // Token: 0x06003DBE RID: 15806 RVA: 0x00239EC8 File Offset: 0x002380C8
45 {
46 }
47
48 // Token: 0x06003DBF RID: 15807 RVA: 0x00239EDC File Offset: 0x002380DC
49 public void Prepare(Vector2 position, int duration)
50 {
51 if (!true)
52 {
53 }
54 this.RandomizeVelocity();
55 int num = 60;
57 }
58
59 // Token: 0x06003DC0 RID: 15808 RVA: 0x00239F04 File Offset: 0x00238104
60 private void RandomizeVelocity()
61 {
62 if (!true)
63 {
64 }
65 }
66
67 // Token: 0x06003DC1 RID: 15809 RVA: 0x00239F14 File Offset: 0x00238114
68 public void RestInPool()
69 {
71 }
72
73 // Token: 0x06003DC2 RID: 15810 RVA: 0x00239F28 File Offset: 0x00238128
74 public virtual void FetchFromPool()
75 {
76 }
77
78 // Token: 0x06003DC3 RID: 15811 RVA: 0x00239F38 File Offset: 0x00238138
79 public void Update(ParticleRendererSettings settings)
80 {
82 bool flag = this.<IsRestingInPool>k__BackingField;
84 int num = 1;
85 this.<ShouldBeRemovedFromRenderer>k__BackingField = num != 0;
86 float x = this._velocity.X;
87 float y = this._velocity.Y;
88 float x2 = this._spawnPosition.X;
89 float x3 = this._localPosition.X;
90 float y2 = this._spawnPosition.Y;
91 float y3 = this._localPosition.Y;
93 int num2;
94 if (num2 == 0)
95 {
96 this.RandomizeVelocity();
97 int num3;
98 if (num3 == 0)
99 {
100 float x4 = this._velocity.X;
101 float y4 = this._velocity.Y;
103 }
104 }
105 float x5 = this._localPosition.X;
106 float y5 = this._localPosition.Y;
107 float x6 = this._velocity.X;
108 float y6 = this._velocity.Y;
111 float y7 = this._velocity.Y;
114 }
115
116 // Token: 0x06003DC4 RID: 15812 RVA: 0x0023A078 File Offset: 0x00238278
118 {
119 int num = 1;
121 float x = this._localPosition.X;
122 float y = this._localPosition.Y;
123 if (num == 0)
124 {
125 }
126 int num2 = 1;
128 }
129
130 // Token: 0x04007C6F RID: 31855
131 private int _lifeTimeCounted;
132
133 // Token: 0x04007C70 RID: 31856
134 private int _lifeTimeTotal;
135
136 // Token: 0x04007C71 RID: 31857
138 private bool <IsRestingInPool>k__BackingField;
139
140 // Token: 0x04007C72 RID: 31858
142 private bool <ShouldBeRemovedFromRenderer>k__BackingField;
143
144 // Token: 0x04007C73 RID: 31859
146
147 // Token: 0x04007C74 RID: 31860
149
150 // Token: 0x04007C75 RID: 31861
152
153 // Token: 0x04007C76 RID: 31862
154 private float _neverGoBelowThis;
155 }
156}
class f__AnonymousType0<< Count > j__TPar
void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)