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
ClassicPlayerResourcesDisplaySet.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000A7E RID: 2686
10 {
11 // Token: 0x170008AD RID: 2221
12 // (get) Token: 0x06004F62 RID: 20322 RVA: 0x0027A070 File Offset: 0x00278270
13 // (set) Token: 0x06004F63 RID: 20323 RVA: 0x0027A084 File Offset: 0x00278284
14 public string NameKey
15 {
17 get
18 {
19 return this.<NameKey>k__BackingField;
20 }
22 private set
23 {
25 }
26 }
27
28 // Token: 0x170008AE RID: 2222
29 // (get) Token: 0x06004F64 RID: 20324 RVA: 0x0027A098 File Offset: 0x00278298
30 // (set) Token: 0x06004F65 RID: 20325 RVA: 0x0027A0AC File Offset: 0x002782AC
31 public string ConfigKey
32 {
34 get
35 {
36 return this.<ConfigKey>k__BackingField;
37 }
39 private set
40 {
42 }
43 }
44
45 // Token: 0x06004F66 RID: 20326 RVA: 0x0027A0C0 File Offset: 0x002782C0
51
52 // Token: 0x06004F67 RID: 20327 RVA: 0x0027A0E4 File Offset: 0x002782E4
53 public void Draw()
54 {
55 int num = 1;
56 if (num == 0)
57 {
58 }
59 int screenWidth = Main.screenWidth;
61 this.DrawLife();
62 this.DrawMana();
63 }
64
65 // Token: 0x06004F68 RID: 20328 RVA: 0x0027A114 File Offset: 0x00278314
66 private void DrawLife()
67 {
68 if (!true)
69 {
70 }
72 int num = 16800;
73 this.UIDisplay_LifePerHeart = (float)num;
74 if (!localPlayer.ghost)
75 {
76 return;
77 }
78 }
79
80 // Token: 0x06004F69 RID: 20329 RVA: 0x0027A248 File Offset: 0x00278448
81 private void DrawMana()
82 {
83 if (!true)
84 {
85 }
87 int num = 20;
89 if (num != 0)
90 {
91 return;
92 }
93 if (localPlayer.statManaMax2 == 0)
94 {
95 }
96 }
97
98 // Token: 0x06004F6A RID: 20330 RVA: 0x0027A2E8 File Offset: 0x002784E8
99 public void TryToHover()
100 {
101 if (!true)
102 {
103 }
108 int statLifeMax = localPlayer.statLifeMax2;
109 int num = 16896;
110 if (ui_ScreenAnchorX == 0)
111 {
112 }
113 if (num == 0)
114 {
115 }
118 int statManaMax = localPlayer.statManaMax2;
121 }
122
123 // Token: 0x0400884D RID: 34893
125
126 // Token: 0x0400884E RID: 34894
128
129 // Token: 0x0400884F RID: 34895
130 private int UI_ScreenAnchorX;
131
132 // Token: 0x04008850 RID: 34896
134 private string <NameKey>k__BackingField;
135
136 // Token: 0x04008851 RID: 34897
138 private string <ConfigKey>k__BackingField;
139 }
140}
class f__AnonymousType0<< Count > j__TPar
static Microsoft.Xna.Framework.Vector2 MouseScreen
Definition Main.cs:4441
static int screenWidth
Definition Main.cs:2001
static Player LocalPlayer
Definition Main.cs:5267