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
UIVerticalSlider.cs
Go to the documentation of this file.
1using System;
8
10{
11 // Token: 0x02000AD3 RID: 2771
13 {
14 // Token: 0x06005195 RID: 20885 RVA: 0x00280C34 File Offset: 0x0027EE34
16 {
17 if (!true)
18 {
19 }
21 if (!true)
22 {
23 }
25 base..ctor();
26 if (getStatus == null)
27 {
28 if (!true)
29 {
30 }
31 if (getStatus != null || !true)
32 {
33 }
34 }
35 if (setStatusKeyboard != null || setStatusKeyboard == null)
36 {
37 }
39 }
40
41 // Token: 0x06005196 RID: 20886 RVA: 0x00280C74 File Offset: 0x0027EE74
42 protected override void DrawSelf(SpriteBatch spriteBatch)
43 {
44 bool mouseLeft = Main.mouseLeft;
45 int usageLevel = base.GetUsageLevel();
49 if (this._isReallyMouseOvered)
50 {
52 IntPtr invoke_impl = slideGamepadAction.invoke_impl;
53 IntPtr method_code = slideGamepadAction.method_code;
54 IntPtr method = slideGamepadAction.method;
55 }
56 }
57
58 // Token: 0x06005197 RID: 20887 RVA: 0x00280CF8 File Offset: 0x0027EEF8
59 private bool DrawValueBarDynamicWidth(SpriteBatch spriteBatch, [Out] float sliderValueThatWasSet)
60 {
61 int num = 1;
62 if (num == 0)
63 {
64 }
65 float x = this._dimensions.X;
66 if (num == 0)
67 {
68 }
69 float precent = this.Left.Precent;
70 int num2 = 32768;
71 int num3 = 2;
72 int num4 = 2;
76 if (num2 == 0)
77 {
78 }
79 int mouseY = Main.mouseY;
80 if (num2 == 0)
81 {
82 return;
83 }
84 }
85
86 // Token: 0x04008A13 RID: 35347
87 public float FillPercent;
88
89 // Token: 0x04008A14 RID: 35348
91
92 // Token: 0x04008A15 RID: 35349
94
95 // Token: 0x04008A16 RID: 35350
97
98 // Token: 0x04008A17 RID: 35351
100
101 // Token: 0x04008A18 RID: 35352
103
104 // Token: 0x04008A19 RID: 35353
106
107 // Token: 0x04008A1A RID: 35354
109
110 // Token: 0x04008A1B RID: 35355
111 private bool _soundedUsage;
112
113 // Token: 0x04008A1C RID: 35356
114 private bool _alreadyHovered;
115
116 // Token: 0x02000AD4 RID: 2772
118 [Serializable]
119 private sealed class <>c
120 {
121 // Token: 0x06005198 RID: 20888 RVA: 0x00280D88 File Offset: 0x0027EF88
122 // Note: this type is marked as 'beforefieldinit'.
123 static <>c()
124 {
125 }
126
127 // Token: 0x06005199 RID: 20889 RVA: 0x00280D98 File Offset: 0x0027EF98
128 public <>c()
129 {
130 }
131
132 // Token: 0x0600519A RID: 20890 RVA: 0x000021DB File Offset: 0x000003DB
133 internal float <.ctor>b__10_0()
134 {
135 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
136 }
137
138 // Token: 0x0600519B RID: 20891 RVA: 0x00280DAC File Offset: 0x0027EFAC
139 internal void <.ctor>b__10_1(float s)
140 {
141 }
142
143 // Token: 0x04008A1D RID: 35357
144 public static readonly UIVerticalSlider.<>c <>9;
145
146 // Token: 0x04008A1E RID: 35358
147 public static Func<float> <>9__10_0;
148
149 // Token: 0x04008A1F RID: 35359
150 public static Action<float> <>9__10_1;
151 }
152 }
153}
class f__AnonymousType0<< Count > j__TPar
override void DrawSelf(SpriteBatch spriteBatch)
UIVerticalSlider(Func< float > getStatus, Action< float > setStatusKeyboard, Action setStatusGamepad, Color color)
bool DrawValueBarDynamicWidth(SpriteBatch spriteBatch, [Out] float sliderValueThatWasSet)
static TriggersPack Triggers
static Microsoft.Xna.Framework.Vector2 MouseScreen
Definition Main.cs:4441
static int mouseY
Definition Main.cs:601
static bool mouseLeft
Definition Main.cs:671
StyleDimension Left
CalculatedStyle _dimensions
void Inflate(int horizontalValue, int verticalValue)
Definition Rectangle.cs:423