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
GUIControllerInputButton.cs
Go to the documentation of this file.
1using System;
2using Controller;
9using UnityEngine;
10
11[global::Cpp2ILInjected.Token(Token = "0x2000104")]
12public static class GUIControllerInputButton
13{
14 [global::Cpp2ILInjected.Token(Token = "0x60006B2")]
15 [global::Cpp2ILInjected.Address(RVA = "0xD206D0", Offset = "0xD206D0", Length = "0x12C")]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Initializers.AssetInitializer.<LoadAssetsWhileInInitialBlackScreen_InSteps>d__3", Member = "MoveNext", ReturnType = typeof(bool))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AssetInitializer), Member = "LoadAssetsWhileInInitialBlackScreen", ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ContentManager), Member = "Load", MemberTypeParameters = new object[] { "T1" }, MemberParameters = new object[] { typeof(string) }, ReturnType = "T1")]
20 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
21 public static void LoadContent(ContentManager content)
22 {
23 throw null;
24 }
25
26 [global::Cpp2ILInjected.Token(Token = "0x60006B3")]
27 [global::Cpp2ILInjected.Address(RVA = "0xD207FC", Offset = "0xD207FC", Length = "0x100")]
28 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerInputButton), Member = "GetButtonTexureInformation", MemberParameters = new object[]
30 {
33 typeof(int)
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerDevice), Member = "get_SwapBumpersTriggers", ReturnType = typeof(bool))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionManager), Member = "get_ActiveController", ReturnType = typeof(ControllerDevice))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
39 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
44
45 [global::Cpp2ILInjected.Token(Token = "0x60006B4")]
46 [global::Cpp2ILInjected.Address(RVA = "0xD18A9C", Offset = "0xD18A9C", Length = "0x188")]
47 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingEntry), Member = "Draw", ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "GetTexure", MemberParameters = new object[] { typeof(ref Rectangle) }, ReturnType = typeof(Microsoft.Xna.Framework.Graphics.Texture2D))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsAxisTagHandler.ControlsAxisSnippet), Member = "Draw", MemberParameters = new object[]
51 {
53 typeof(bool),
58 typeof(float)
59 }, ReturnType = typeof(bool))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerInputButton), Member = "GetButtonTexureInformation", MemberParameters = new object[]
61 {
64 typeof(int)
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemDraw", MemberParameters = new object[]
67 {
69 typeof(int),
71 typeof(float)
72 }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemRightDraw", MemberParameters = new object[]
74 {
76 typeof(int),
78 typeof(float)
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 15)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionManager), Member = "get_ActiveController", ReturnType = typeof(ControllerDevice))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Application), Member = "get_isEditor", ReturnType = typeof(bool))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::UnityEngine.Object), Member = "op_Inequality", MemberParameters = new object[]
85 {
86 typeof(global::UnityEngine.Object),
87 typeof(global::UnityEngine.Object)
88 }, ReturnType = typeof(bool))]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
94
95 [global::Cpp2ILInjected.Token(Token = "0x60006B5")]
96 [global::Cpp2ILInjected.Address(RVA = "0xD19F3C", Offset = "0xD19F3C", Length = "0x130")]
97 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingEntry), Member = "Draw", ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerHardwareProfileEntry), Member = "GetTexure", MemberParameters = new object[] { typeof(ref Rectangle) }, ReturnType = typeof(Microsoft.Xna.Framework.Graphics.Texture2D))]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ControlsButtonTagHandler.ControlsButtonSnippet", Member = "Draw", MemberParameters = new object[]
101 {
103 typeof(bool),
108 typeof(float)
109 }, ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUITransactionButton), Member = "DrawControlIcon", MemberParameters = new object[]
111 {
115 typeof(float),
116 typeof(bool)
117 }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemDraw", MemberParameters = new object[]
119 {
121 typeof(int),
123 typeof(float)
124 }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "ItemRightDraw", MemberParameters = new object[]
126 {
128 typeof(int),
130 typeof(float)
131 }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControlsBanner), Member = "DrawMoreOptionsBanner", ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPulldownSetting), Member = "DrawOptionFaceButtons", MemberParameters = new object[] { typeof(ControllerDevice.ControlScheme) }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 16)]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerInputButton), Member = "GetAxisTexureInformation", MemberParameters = new object[]
136 {
139 typeof(int)
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionManager), Member = "get_ActiveController", ReturnType = typeof(ControllerDevice))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerInputButton), Member = "GetShoulderButtonTexureInformation", MemberParameters = new object[]
143 {
146 typeof(int)
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
153
154 [global::Cpp2ILInjected.Token(Token = "0x4000529")]
155 private const ControllerDevice.ControlScheme defaultScheme = ControllerDevice.ControlScheme.CONTROLS_ABXY_XBOX;
156
157 [global::Cpp2ILInjected.Token(Token = "0x400052A")]
159
160 [global::Cpp2ILInjected.Token(Token = "0x400052B")]
162
163 [global::Cpp2ILInjected.Token(Token = "0x400052C")]
165
166 [global::Cpp2ILInjected.Token(Token = "0x400052D")]
168
169 [global::Cpp2ILInjected.Token(Token = "0x2000105")]
171 {
172 [global::Cpp2ILInjected.Token(Token = "0x400052F")]
173 Action1,
174 [global::Cpp2ILInjected.Token(Token = "0x4000530")]
175 Action2,
176 [global::Cpp2ILInjected.Token(Token = "0x4000531")]
177 Action3,
178 [global::Cpp2ILInjected.Token(Token = "0x4000532")]
179 Action4,
180 [global::Cpp2ILInjected.Token(Token = "0x4000533")]
181 LB,
182 [global::Cpp2ILInjected.Token(Token = "0x4000534")]
183 RB,
184 [global::Cpp2ILInjected.Token(Token = "0x4000535")]
185 LT,
186 [global::Cpp2ILInjected.Token(Token = "0x4000536")]
187 RT,
188 [global::Cpp2ILInjected.Token(Token = "0x4000537")]
189 View,
190 [global::Cpp2ILInjected.Token(Token = "0x4000538")]
191 Options,
192 [global::Cpp2ILInjected.Token(Token = "0x4000539")]
193 LeftStick,
194 [global::Cpp2ILInjected.Token(Token = "0x400053A")]
195 RightStick
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x2000106")]
200 {
201 [global::Cpp2ILInjected.Token(Token = "0x400053C")]
202 LB,
203 [global::Cpp2ILInjected.Token(Token = "0x400053D")]
204 RB,
205 [global::Cpp2ILInjected.Token(Token = "0x400053E")]
206 LT,
207 [global::Cpp2ILInjected.Token(Token = "0x400053F")]
208 RT,
209 [global::Cpp2ILInjected.Token(Token = "0x4000540")]
210 View,
211 [global::Cpp2ILInjected.Token(Token = "0x4000541")]
212 Options
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x2000107")]
216 public enum AxisControl
217 {
218 [global::Cpp2ILInjected.Token(Token = "0x4000543")]
219 DPad,
220 [global::Cpp2ILInjected.Token(Token = "0x4000544")]
221 DPadLeft,
222 [global::Cpp2ILInjected.Token(Token = "0x4000545")]
223 DPadRight,
224 [global::Cpp2ILInjected.Token(Token = "0x4000546")]
225 DPadUp,
226 [global::Cpp2ILInjected.Token(Token = "0x4000547")]
227 DPadDown,
228 [global::Cpp2ILInjected.Token(Token = "0x4000548")]
229 DPadDummy,
230 [global::Cpp2ILInjected.Token(Token = "0x4000549")]
231 LS,
232 [global::Cpp2ILInjected.Token(Token = "0x400054A")]
233 LSLeft,
234 [global::Cpp2ILInjected.Token(Token = "0x400054B")]
235 LSRight,
236 [global::Cpp2ILInjected.Token(Token = "0x400054C")]
237 LSUp,
238 [global::Cpp2ILInjected.Token(Token = "0x400054D")]
239 LSDown,
240 [global::Cpp2ILInjected.Token(Token = "0x400054E")]
241 LSClick,
242 [global::Cpp2ILInjected.Token(Token = "0x400054F")]
243 RS,
244 [global::Cpp2ILInjected.Token(Token = "0x4000550")]
245 RSLeft,
246 [global::Cpp2ILInjected.Token(Token = "0x4000551")]
247 RSRight,
248 [global::Cpp2ILInjected.Token(Token = "0x4000552")]
249 RSUp,
250 [global::Cpp2ILInjected.Token(Token = "0x4000553")]
251 RSDown,
252 [global::Cpp2ILInjected.Token(Token = "0x4000554")]
253 RSClick
254 }
255}
class f__AnonymousType0<< Count > j__TPar
static void LoadContent(ContentManager content)
static Microsoft.Xna.Framework.Graphics.Texture2D GetShoulderButtonTexureInformation(GUIControllerInputButton.ShoulderButtonControl controlType, out Rectangle srcRegion, int overloadedControlType=-1)
static Microsoft.Xna.Framework.Graphics.Texture2D PS4TouchPad
static Microsoft.Xna.Framework.Graphics.Texture2D GetAxisTexureInformation(GUIControllerInputButton.AxisControl controlType, out Rectangle srcRegion, int overloadedControlType=-1)
static Microsoft.Xna.Framework.Graphics.Texture2D ShoulderButtonControls
static Microsoft.Xna.Framework.Graphics.Texture2D AxisControls
static Microsoft.Xna.Framework.Graphics.Texture2D ButtonControls
static Microsoft.Xna.Framework.Graphics.Texture2D GetButtonTexureInformation(GUIControllerInputButton.LinkedControlType controlType, out Rectangle srcRegion, int overloadedControlType=-1)