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
GUIReturnToTouch.cs
Go to the documentation of this file.
1using System;
2using Controller;
8using Terraria;
11using UnityEngine;
12
13[global::Cpp2ILInjected.Token(Token = "0x200016D")]
14public class GUIReturnToTouch
15{
16 [global::Cpp2ILInjected.Token(Token = "0x6000A51")]
17 [global::Cpp2ILInjected.Address(RVA = "0x9855B8", Offset = "0x9855B8", Length = "0x8")]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x6000A52")]
25 [global::Cpp2ILInjected.Address(RVA = "0x9855C0", Offset = "0x9855C0", Length = "0x8BC")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_FinalUI", ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "IsCurrentPlatform", MemberParameters = new object[] { typeof(DrPlatform.DrPlatformType) }, ReturnType = typeof(bool))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_PrimaryInputMode", ReturnType = typeof(XNAUnityRunner.ForcedInputMode))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_ControllerModeLocked", ReturnType = typeof(bool))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_KeyboardModeLocked", ReturnType = typeof(bool))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerNavigationController), Member = "set_CurrentNavigationItem", MemberParameters = new object[] { typeof(GUIControllerItem) }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "End", ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "FlushBatches", ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Begin", MemberParameters = new object[]
38 {
45 typeof(Matrix?),
46 typeof(bool)
47 }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Settings_Layout), Member = "get_Instance", ReturnType = typeof(Settings_Layout))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPanel), Member = "Draw", MemberParameters = new object[]
50 {
52 typeof(bool),
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIString), Member = "Draw", MemberParameters = new object[]
59 {
61 typeof(string)
62 }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "Draw", MemberParameters = new object[]
64 {
66 typeof(Item),
67 typeof(string),
68 typeof(bool),
69 typeof(ref float),
70 typeof(bool),
71 typeof(bool),
72 typeof(bool),
73 typeof(bool)
74 }, ReturnType = typeof(GUITransactionButton.InputState))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyboardInput), Member = "GetKeyDown", MemberParameters = new object[] { typeof(KeyCode) }, ReturnType = typeof(bool))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionManager), Member = "get_AnyControllerConnected", ReturnType = typeof(bool))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionManager), Member = "get_ActiveController", ReturnType = typeof(ControllerDevice))]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "GetButtonUp", MemberParameters = new object[] { typeof(ControllerDevice) }, ReturnType = typeof(bool))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "set_MobileControllerLocked", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "set_MobileKeyboardLocked", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIKeyboardMappings), Member = "set_KeyboardEnabled", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
83 {
84 typeof(int),
85 typeof(int),
86 typeof(int),
87 typeof(int),
88 typeof(float),
89 typeof(float)
90 }, ReturnType = typeof(SoundEffectInstance))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInstance), Member = "CloseDialoguesAndPopups", ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPageIcons), Member = "AnyPageSelected", ReturnType = typeof(bool))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPageIcons), Member = "Close", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappings), Member = "UpdateUIInteractionOverloads", MemberParameters = new object[] { typeof(GUIControllerMappings.InteractionOverloadState) }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionExclusive.IsOverHandler), Member = ".ctor", MemberParameters = new object[]
97 {
98 typeof(object),
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "RegisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive.IsOverHandler) }, ReturnType = typeof(GUIInputRegionExclusive))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerModalResponse), Member = "Activate", ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 32)]
104 public void Draw(bool inBatch = false)
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x1700010C")]
110 public bool Visible
111 {
112 [global::Cpp2ILInjected.Token(Token = "0x6000A53")]
113 [global::Cpp2ILInjected.Address(RVA = "0x985E7C", Offset = "0x985E7C", Length = "0xA0")]
114 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerNavigationController), Member = "UpdateUINavigation", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIHearts), Member = "AdjustForTouchReturn", MemberParameters = new object[] { typeof(ItemGrid_Layout) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIHearts), Member = "RestoreForTouchButton", MemberParameters = new object[] { typeof(ItemGrid_Layout) }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMana), Member = "AdjustForTouchReturn", MemberParameters = new object[] { typeof(ItemGrid_Layout) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMana), Member = "RestoreForTouchButton", MemberParameters = new object[] { typeof(ItemGrid_Layout) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPageIcons), Member = "AnyPageSelected", ReturnType = typeof(bool))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPageIcons), Member = "get_PagePopupDisplayed", ReturnType = typeof(bool))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_PrimaryInputMode", ReturnType = typeof(XNAUnityRunner.ForcedInputMode))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_ControllerModeLocked", ReturnType = typeof(bool))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_KeyboardModeLocked", ReturnType = typeof(bool))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
127 get
128 {
129 throw null;
130 }
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x6000A54")]
134 [global::Cpp2ILInjected.Address(RVA = "0x985F1C", Offset = "0x985F1C", Length = "0x294")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InterfaceProfile_Layout), Member = "DrawEdit", ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "GUIBarsDrawInner", ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPageIcons), Member = "DrawRightPageHUD", ReturnType = typeof(bool))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "IsCurrentPlatform", MemberParameters = new object[] { typeof(DrPlatform.DrPlatformType) }, ReturnType = typeof(bool))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_PrimaryInputMode", ReturnType = typeof(XNAUnityRunner.ForcedInputMode))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_ControllerModeLocked", ReturnType = typeof(bool))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XNAUnityRunner), Member = "get_KeyboardModeLocked", ReturnType = typeof(bool))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Settings_Layout), Member = "get_Instance", ReturnType = typeof(Settings_Layout))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "Draw", MemberParameters = new object[]
146 {
148 typeof(Item),
149 typeof(string),
150 typeof(bool),
151 typeof(ref float),
152 typeof(bool),
153 typeof(bool),
154 typeof(bool),
155 typeof(bool)
156 }, ReturnType = typeof(GUITransactionButton.InputState))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInstance), Member = "CloseDialoguesAndPopups", ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPageIcons), Member = "AnyPageSelected", ReturnType = typeof(bool))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPageIcons), Member = "Close", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappings), Member = "UpdateUIInteractionOverloads", MemberParameters = new object[] { typeof(GUIControllerMappings.InteractionOverloadState) }, ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionExclusive.IsOverHandler), Member = ".ctor", MemberParameters = new object[]
162 {
163 typeof(object),
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIInputRegionManager), Member = "RegisterPickingInterceptor", MemberParameters = new object[] { typeof(GUIInputRegionExclusive.IsOverHandler) }, ReturnType = typeof(GUIInputRegionExclusive))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerModalResponse), Member = "Activate", ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
169 public void DrawHUD()
170 {
171 throw null;
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x6000A55")]
175 [global::Cpp2ILInjected.Address(RVA = "0x9861B0", Offset = "0x9861B0", Length = "0x60")]
176 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIInstance), Member = ".ctor", ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerModalResponse), Member = ".ctor", ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
180 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
182 {
183 throw null;
184 }
185
186 [global::Cpp2ILInjected.Token(Token = "0x4000A32")]
187 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
188 public bool displayPopup;
189
190 [global::Cpp2ILInjected.Token(Token = "0x4000A33")]
191 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
193
194 [global::Cpp2ILInjected.Token(Token = "0x4000A34")]
195 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
196 private float scale;
197
198 [global::Cpp2ILInjected.Token(Token = "0x4000A35")]
199 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
201
202 [global::Cpp2ILInjected.Token(Token = "0x4000A36")]
203 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
205}
class f__AnonymousType0<< Count > j__TPar
delegate bool IsOverHandler(Vector2 cursorPosition)
GUIInputRegionExclusive _displayBlocker
GUIControllerItem _previous
GUIControllerModalResponse _controller
bool IsOverPanel(Microsoft.Xna.Framework.Vector2 cursorPosition)
void Draw(bool inBatch=false)