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
UIParticleLayer.cs
Go to the documentation of this file.
1using System;
5using Terraria.UI;
6
8{
9 // Token: 0x02000AC6 RID: 2758
11 {
12 // Token: 0x06005121 RID: 20769 RVA: 0x0027F868 File Offset: 0x0027DA68
14 {
15 if (!true)
16 {
17 }
18 base..ctor();
20 }
21
22 // Token: 0x06005122 RID: 20770 RVA: 0x0027F888 File Offset: 0x0027DA88
27
28 // Token: 0x06005123 RID: 20771 RVA: 0x0027F8A0 File Offset: 0x0027DAA0
29 public override void Recalculate()
30 {
31 base.Recalculate();
32 float x = this._dimensions.X;
34 if (!true)
35 {
36 }
38 Vector2 vector = rectangle.TopLeft();
40 float y = this.AnchorPositionOffsetByPercents.Y;
41 Vector2 vector2 = rectangle.Size();
42 if (!true)
43 {
44 }
47 }
48
49 // Token: 0x06005124 RID: 20772 RVA: 0x0027F918 File Offset: 0x0027DB18
50 protected override void DrawSelf(SpriteBatch spriteBatch)
51 {
52 this.ParticleSystem.Draw(spriteBatch);
53 }
54
55 // Token: 0x06005125 RID: 20773 RVA: 0x0027F934 File Offset: 0x0027DB34
56 public void AddParticle(IParticle particle)
57 {
58 this.ParticleSystem.Add(particle);
59 }
60
61 // Token: 0x06005126 RID: 20774 RVA: 0x0027F950 File Offset: 0x0027DB50
62 public void ClearParticles()
63 {
64 this.ParticleSystem.Clear();
65 }
66
67 // Token: 0x040089C9 RID: 35273
69
70 // Token: 0x040089CA RID: 35274
72
73 // Token: 0x040089CB RID: 35275
75 }
76}
class f__AnonymousType0<< Count > j__TPar
override void DrawSelf(SpriteBatch spriteBatch)
void ParticleSystemUpdate(UIElement affectedElement)
CalculatedStyle _dimensions