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
ControlsAxisTagHandler.cs
Go to the documentation of this file.
1using System;
2using System.Text;
3using Controller;
9
10[global::Cpp2ILInjected.Token(Token = "0x20000F6")]
12{
13 [global::Cpp2ILInjected.Token(Token = "0x6000678")]
14 [global::Cpp2ILInjected.Address(RVA = "0xD18428", Offset = "0xD18428", Length = "0x16C")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "ApplyMultiLineAlignment", MemberParameters = new object[]
17 {
19 typeof(string),
20 typeof(ref int)
21 }, ReturnType = typeof(string))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUINPCDialogue), Member = "UpdateText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteFont), Member = "MeasureMaxString", MemberParameters = new object[]
24 {
26 typeof(ref int),
27 typeof(float),
28 typeof(float)
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
31 {
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont.CharacterSource), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
38 public static bool MeasureInline(ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x6000679")]
44 [global::Cpp2ILInjected.Address(RVA = "0xD18594", Offset = "0xD18594", Length = "0x1C8")]
45 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
47 {
49 typeof(string),
52 }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
54 {
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
61 {
63 typeof(string),
66 typeof(float),
70 typeof(float)
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawStringMultiLineRight", MemberParameters = new object[]
73 {
75 typeof(string),
78 typeof(float),
82 typeof(float)
83 }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawStringMultiLineCentre", MemberParameters = new object[]
85 {
87 typeof(string),
90 typeof(float),
94 typeof(float)
95 }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
97 {
101 typeof(Color),
102 typeof(float),
106 typeof(float)
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
109 {
111 typeof(string),
112 typeof(int),
113 typeof(int),
115 typeof(Color),
116 typeof(float),
119 typeof(Vector2[])
120 }, ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
122 {
125 typeof(int),
126 typeof(int),
128 typeof(Color),
129 typeof(float),
132 typeof(Vector2[])
133 }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
135 {
137 typeof(string),
138 typeof(int),
139 typeof(int),
141 typeof(Color),
142 typeof(float),
146 typeof(float)
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
149 {
152 typeof(int),
153 typeof(int),
155 typeof(Color),
156 typeof(float),
160 typeof(float)
161 }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont.CharacterSource), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsAxisTagHandler.ControlsAxisSnippet), Member = "Draw", MemberParameters = new object[]
165 {
167 typeof(bool),
171 typeof(Color),
172 typeof(float)
173 }, ReturnType = typeof(bool))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
175 public static bool PrintInline(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
176 {
177 throw null;
178 }
179
180 [global::Cpp2ILInjected.Token(Token = "0x600067A")]
181 [global::Cpp2ILInjected.Address(RVA = "0xD188F4", Offset = "0xD188F4", Length = "0x10C")]
182 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
183 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "TryParse", MemberParameters = new object[]
185 {
186 typeof(string),
187 typeof(ref int)
188 }, ReturnType = typeof(bool))]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsAxisTagHandler.ControlsAxisSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(GUIControllerInputButton.AxisControl) }, ReturnType = typeof(void))]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
192 {
193 typeof(string),
194 typeof(string),
195 typeof(string)
196 }, ReturnType = typeof(string))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
199 public TextSnippet Parse(string text, Color baseColor = default(Color), string options = null)
200 {
201 throw null;
202 }
203
204 [global::Cpp2ILInjected.Token(Token = "0x600067B")]
205 [global::Cpp2ILInjected.Address(RVA = "0xD18A94", Offset = "0xD18A94", Length = "0x8")]
206 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
209 {
210 throw null;
211 }
212
213 [global::Cpp2ILInjected.Token(Token = "0x20000F7")]
215 {
216 [global::Cpp2ILInjected.Token(Token = "0x600067C")]
217 [global::Cpp2ILInjected.Address(RVA = "0xD18A00", Offset = "0xD18A00", Length = "0x94")]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsAxisTagHandler), Member = "Parse", MemberParameters = new object[]
219 {
220 typeof(string),
221 typeof(Color),
222 typeof(string)
223 }, ReturnType = typeof(TextSnippet))]
224 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
231
232 [global::Cpp2ILInjected.Token(Token = "0x600067D")]
233 [global::Cpp2ILInjected.Address(RVA = "0xD1875C", Offset = "0xD1875C", Length = "0x198")]
234 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
235 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsAxisTagHandler.ControlsAxisSnippet), Member = "UniqueDraw", MemberParameters = new object[]
236 {
237 typeof(bool),
238 typeof(ref Vector2),
239 typeof(SpriteBatch),
240 typeof(Vector2),
241 typeof(Color),
242 typeof(float)
243 }, ReturnType = typeof(bool))]
244 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsAxisTagHandler), Member = "PrintInline", MemberParameters = new object[]
245 {
248 typeof(Color),
249 typeof(float),
251 typeof(int),
252 typeof(ref int),
254 }, ReturnType = typeof(bool))]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "DrawButtonControl", MemberParameters = new object[]
256 {
259 typeof(Color),
260 typeof(float),
262 typeof(bool)
263 }, ReturnType = typeof(int))]
264 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsButtonTagHandler), Member = "DrawAxisControl", MemberParameters = new object[]
265 {
268 typeof(Color),
269 typeof(float),
271 typeof(bool)
272 }, ReturnType = typeof(int))]
273 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
274 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerInputButton), Member = "GetAxisTexureInformation", MemberParameters = new object[]
275 {
278 typeof(int)
279 }, ReturnType = typeof(Texture2D))]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
282 {
286 typeof(Color),
287 typeof(float),
289 typeof(float),
291 typeof(float)
292 }, ReturnType = typeof(void))]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
294 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
295 public static bool Draw(GUIControllerInputButton.AxisControl axisControl, bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Color color = default(Color), float scale = 1f)
296 {
297 throw null;
298 }
299
300 [global::Cpp2ILInjected.Token(Token = "0x600067E")]
301 [global::Cpp2ILInjected.Address(RVA = "0xD18C24", Offset = "0xD18C24", Length = "0x20")]
302 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
303 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsAxisTagHandler.ControlsAxisSnippet), Member = "Draw", MemberParameters = new object[]
304 {
305 typeof(GUIControllerInputButton.AxisControl),
306 typeof(bool),
307 typeof(ref Vector2),
308 typeof(SpriteBatch),
309 typeof(Vector2),
310 typeof(Color),
311 typeof(float)
312 }, ReturnType = typeof(bool))]
313 public override bool UniqueDraw(bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Color color = default(Color), float scale = 1f)
314 {
315 throw null;
316 }
317
318 [global::Cpp2ILInjected.Token(Token = "0x600067F")]
319 [global::Cpp2ILInjected.Address(RVA = "0xD18C44", Offset = "0xD18C44", Length = "0x8")]
320 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
321 public override float GetStringLength(SpriteFont font)
322 {
323 throw null;
324 }
325
326 [global::Cpp2ILInjected.Token(Token = "0x40004F4")]
327 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
329 }
330}
class f__AnonymousType0<< Count > j__TPar
readonly GUIControllerInputButton.AxisControl _axisControl
static bool Draw(GUIControllerInputButton.AxisControl axisControl, bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position=default(Vector2), Color color=default(Color), float scale=1f)
ControlsAxisSnippet(GUIControllerInputButton.AxisControl axisControl)
override float GetStringLength(SpriteFont font)
override bool UniqueDraw(bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position=default(Vector2), Color color=default(Color), float scale=1f)
static bool PrintInline(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
static bool MeasureInline(ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
TextSnippet Parse(string text, Color baseColor=default(Color), string options=null)