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
CreativeSacrificeParticle.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x02000755 RID: 1877
11 {
12 // Token: 0x17000789 RID: 1929
13 // (get) Token: 0x06003DCF RID: 15823 RVA: 0x0023A2EC File Offset: 0x002384EC
14 // (set) Token: 0x06003DD0 RID: 15824 RVA: 0x0023A300 File Offset: 0x00238500
16 {
18 get
19 {
21 }
23 private set
24 {
25 }
26 }
27
28 // Token: 0x06003DD1 RID: 15825 RVA: 0x0023A310 File Offset: 0x00238510
33
34 // Token: 0x06003DD2 RID: 15826 RVA: 0x0023A36C File Offset: 0x0023856C
35 public void Update(ParticleRendererSettings settings)
36 {
37 float x = this.Velocity.X;
38 float y = this.Velocity.Y;
39 float x2 = this.AccelerationPerFrame.X;
40 float y2 = this.AccelerationPerFrame.Y;
41 if (!true)
42 {
43 }
44 float x3 = this.LocalPosition.X;
45 float y3 = this.LocalPosition.Y;
46 float scale = this._scale;
53 }
54
55 // Token: 0x06003DD3 RID: 15827 RVA: 0x0023A410 File Offset: 0x00238610
57 {
58 if (!true)
59 {
60 }
61 float scale = this._scale;
62 if (!true)
63 {
64 }
65 Asset<Texture2D> texture = this._texture;
67 float x = this.LocalPosition.X;
68 float y = this.LocalPosition.Y;
69 if (texture == null)
70 {
71 }
72 Rectangle frame = this._frame;
73 int width = this._frame.Width;
74 float x2 = this._origin.X;
75 float y2 = this._origin.Y;
76 float scale2 = this._scale;
77 }
78
79 // Token: 0x04007C80 RID: 31872
81 private bool <ShouldBeRemovedFromRenderer>k__BackingField;
82
83 // Token: 0x04007C81 RID: 31873
85
86 // Token: 0x04007C82 RID: 31874
88
89 // Token: 0x04007C83 RID: 31875
91
92 // Token: 0x04007C84 RID: 31876
93 public float ScaleOffsetPerFrame;
94
95 // Token: 0x04007C85 RID: 31877
96 public float StopWhenBelowXScale;
97
98 // Token: 0x04007C86 RID: 31878
100
101 // Token: 0x04007C87 RID: 31879
103
104 // Token: 0x04007C88 RID: 31880
106
107 // Token: 0x04007C89 RID: 31881
108 private float _scale;
109 }
110}
class f__AnonymousType0<< Count > j__TPar
void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)
CreativeSacrificeParticle(Asset< Texture2D > textureAsset, Rectangle? frame, Vector2 initialVelocity, Vector2 initialLocalPosition)