terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UIVerticalSlider.cs
Go to the documentation of this file.
1using System;
11using Terraria.UI;
12
14{
15 [global::Cpp2ILInjected.Token(Token = "0x2000AD3")]
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6005195")]
19 [global::Cpp2ILInjected.Address(RVA = "0x930434", Offset = "0x930434", Length = "0x1F8")]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativePowersHelper), Member = "CreateSlider", MemberParameters = new object[]
21 {
22 typeof(Func<float>),
23 typeof(Action<float>),
24 typeof(Action)
25 }, ReturnType = typeof(UIVerticalSlider))]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UISliderBase), Member = ".ctor", ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<float>), Member = ".ctor", MemberParameters = new object[]
29 {
30 typeof(object),
32 }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Action<float>), Member = ".ctor", MemberParameters = new object[]
34 {
35 typeof(object),
37 }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
39 public UIVerticalSlider(Func<float> getStatus, Action<float> setStatusKeyboard, Action setStatusGamepad, Color color)
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x6005196")]
45 [global::Cpp2ILInjected.Address(RVA = "0x93062C", Offset = "0x93062C", Length = "0x1E8")]
46 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UISliderBase), Member = "GetUsageLevel", ReturnType = typeof(int))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIVerticalSlider), Member = "DrawValueBarDynamicWidth", MemberParameters = new object[]
51 {
53 typeof(ref float)
54 }, ReturnType = typeof(bool))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_Triggers", ReturnType = typeof(TriggersPack))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TriggersSet), Member = "get_MouseLeft", ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_UsingGamepad", ReturnType = typeof(bool))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
59 {
60 typeof(int),
61 typeof(int),
62 typeof(int),
63 typeof(int),
64 typeof(float),
65 typeof(float)
66 }, ReturnType = typeof(SoundEffectInstance))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
68 protected override void DrawSelf(SpriteBatch spriteBatch)
69 {
70 throw null;
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x6005197")]
74 [global::Cpp2ILInjected.Address(RVA = "0x930814", Offset = "0x930814", Length = "0x598")]
75 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVerticalSlider), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalculatedStyle), Member = "ToRectangle", ReturnType = typeof(Rectangle))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
80 {
81 typeof(int),
82 typeof(int),
83 typeof(int),
84 typeof(int)
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DrawSplicedPanel", MemberParameters = new object[]
87 {
90 typeof(int),
91 typeof(int),
92 typeof(int),
93 typeof(int),
94 typeof(int),
95 typeof(int),
96 typeof(int),
97 typeof(int),
99 }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Right", ReturnType = typeof(int))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Bottom", ReturnType = typeof(int))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
104 {
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Center", ReturnType = typeof(Point))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
112 {
113 typeof(float),
114 typeof(float)
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "CenteredRectangle", MemberParameters = new object[]
117 {
120 }, ReturnType = typeof(Rectangle))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Inflate", MemberParameters = new object[]
122 {
123 typeof(int),
124 typeof(int)
125 }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_MouseScreen", ReturnType = typeof(Vector2))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToPoint", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Contains", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(bool))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UISliderBase), Member = "GetUsageLevel", ReturnType = typeof(int))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
131 {
132 typeof(int),
133 typeof(int),
134 typeof(int),
135 typeof(int),
136 typeof(float),
137 typeof(float)
138 }, ReturnType = typeof(SoundEffectInstance))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseY", ReturnType = typeof(int))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "GetLerpValue", MemberParameters = new object[]
141 {
142 typeof(float),
143 typeof(float),
144 typeof(float),
145 typeof(bool)
146 }, ReturnType = typeof(float))]
147 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x4008A13")]
154 [global::Cpp2ILInjected.FieldOffset(Offset = "0x144")]
155 public float FillPercent;
156
157 [global::Cpp2ILInjected.Token(Token = "0x4008A14")]
158 [global::Cpp2ILInjected.FieldOffset(Offset = "0x148")]
160
161 [global::Cpp2ILInjected.Token(Token = "0x4008A15")]
162 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14C")]
164
165 [global::Cpp2ILInjected.Token(Token = "0x4008A16")]
166 [global::Cpp2ILInjected.FieldOffset(Offset = "0x150")]
167 private Func<float> _getSliderValue;
168
169 [global::Cpp2ILInjected.Token(Token = "0x4008A17")]
170 [global::Cpp2ILInjected.FieldOffset(Offset = "0x158")]
171 private Action<float> _slideKeyboardAction;
172
173 [global::Cpp2ILInjected.Token(Token = "0x4008A18")]
174 [global::Cpp2ILInjected.FieldOffset(Offset = "0x160")]
175 private Func<float, Color> _blipFunc;
176
177 [global::Cpp2ILInjected.Token(Token = "0x4008A19")]
178 [global::Cpp2ILInjected.FieldOffset(Offset = "0x168")]
179 private Action _slideGamepadAction;
180
181 [global::Cpp2ILInjected.Token(Token = "0x4008A1A")]
182 [global::Cpp2ILInjected.FieldOffset(Offset = "0x170")]
184
185 [global::Cpp2ILInjected.Token(Token = "0x4008A1B")]
186 [global::Cpp2ILInjected.FieldOffset(Offset = "0x171")]
187 private bool _soundedUsage;
188
189 [global::Cpp2ILInjected.Token(Token = "0x4008A1C")]
190 [global::Cpp2ILInjected.FieldOffset(Offset = "0x172")]
191 private bool _alreadyHovered;
192
194 [global::Cpp2ILInjected.Token(Token = "0x2000AD4")]
195 [Serializable]
196 private sealed class <>c
197 {
198 // Note: this type is marked as 'beforefieldinit'.
199 [global::Cpp2ILInjected.Token(Token = "0x6005198")]
200 [global::Cpp2ILInjected.Address(RVA = "0x930DAC", Offset = "0x930DAC", Length = "0x5C")]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
204 static <>c()
205 {
206 throw null;
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x6005199")]
210 [global::Cpp2ILInjected.Address(RVA = "0x930E08", Offset = "0x930E08", Length = "0x8")]
211 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
213 public <>c()
214 {
215 throw null;
216 }
217
218 [global::Cpp2ILInjected.Token(Token = "0x600519A")]
219 [global::Cpp2ILInjected.Address(RVA = "0x930E10", Offset = "0x930E10", Length = "0x8")]
220 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
221 internal float <.ctor>b__10_0()
222 {
223 throw null;
224 }
225
226 [global::Cpp2ILInjected.Token(Token = "0x600519B")]
227 [global::Cpp2ILInjected.Address(RVA = "0x930E18", Offset = "0x930E18", Length = "0x4")]
228 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
229 internal void <.ctor>b__10_1(float s)
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x4008A1D")]
235 public static readonly UIVerticalSlider.<>c <>9;
236
237 [global::Cpp2ILInjected.Token(Token = "0x4008A1E")]
238 public static Func<float> <>9__10_0;
239
240 [global::Cpp2ILInjected.Token(Token = "0x4008A1F")]
241 public static Action<float> <>9__10_1;
242 }
243 }
244}
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)