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
GUIReturnToTouch.cs
Go to the documentation of this file.
1using System;
2using Controller;
4using Terraria;
6
7// Token: 0x0200016D RID: 365
8public class GUIReturnToTouch
9{
10 // Token: 0x06000A51 RID: 2641 RVA: 0x00031764 File Offset: 0x0002F964
12 {
13 return this.displayPopup;
14 }
15
16 // Token: 0x06000A52 RID: 2642 RVA: 0x00031778 File Offset: 0x0002F978
17 public void Draw(bool inBatch = false)
18 {
19 int num = 1;
20 if (num == 0)
21 {
22 }
24 if (num == 0)
25 {
26 }
28 if (num == 0)
29 {
30 }
33 bool flag = this.displayPopup;
34 bool flag2;
35 int num2;
36 if (flag)
37 {
38 if (!flag)
39 {
40 }
42 if (!flag)
43 {
44 }
46 if (this._displayBlocker != null)
47 {
48 }
53 string textValue = Language.GetTextValue("Mobile.ReturnTouchPrompt");
54 if (controller == null)
55 {
56 }
59 string textValue2 = Language.GetTextValue("Mobile.ReturnTouchAccept");
61 if (controller == null)
62 {
63 }
64 if (controller == null)
65 {
66 }
70 {
71 return;
72 }
78 if (displayBlocker != null)
79 {
80 flag2 = this.displayPopup;
82 }
83 if (displayBlocker == null)
84 {
85 }
87 if (displayBlocker == null)
88 {
89 }
90 num2 = 1;
91 }
92 if (num2 == 0)
93 {
94 }
96 if (num2 == 0)
97 {
98 }
100 if (num2 == 0)
101 {
102 }
103 bool gameMenu = Main.gameMenu;
104 if (!flag2)
105 {
106 return;
107 }
111 if (inputState2 == GUITransactionButton.InputState.Clicked && !this.displayPopup)
112 {
113 int num3 = 1;
114 this.displayPopup = num3 != 0;
116 if (this._displayBlocker == null)
117 {
119 }
120 bool flag3 = this.displayPopup;
122 this._controller.Activate();
123 }
125 }
126
127 // Token: 0x1700010C RID: 268
128 // (get) Token: 0x06000A53 RID: 2643 RVA: 0x00031950 File Offset: 0x0002FB50
129 public bool Visible
130 {
131 get
132 {
133 if (!true)
134 {
135 }
137 if (!true)
138 {
139 }
141 if (!true)
142 {
143 }
145 return true;
146 }
147 }
148
149 // Token: 0x06000A54 RID: 2644 RVA: 0x00031984 File Offset: 0x0002FB84
172
173 // Token: 0x06000A55 RID: 2645 RVA: 0x00031A04 File Offset: 0x0002FC04
175 {
176 }
177
178 // Token: 0x04000A32 RID: 2610
179 public bool displayPopup;
180
181 // Token: 0x04000A33 RID: 2611
183
184 // Token: 0x04000A34 RID: 2612
185 private float scale;
186
187 // Token: 0x04000A35 RID: 2613
189
190 // Token: 0x04000A36 RID: 2614
192}
class f__AnonymousType0<< Count > j__TPar
GUIInputRegionExclusive _displayBlocker
GUIControllerItem _previous
GUIControllerModalResponse _controller
bool IsOverPanel(Vector2 cursorPosition)
void Draw(bool inBatch=false)
static void Draw(String_Layout layout, TextSnippet[] textSnippets, [Out] int snippetSelected, float maxWidth=-1f, int maxLines=100)
Definition GUIString.cs:12
Panel_Layout ReturnTouch_MenuDivider
TransactionButton_Layout ReturnTouch_Cancel
Panel_Layout ReturnTouch_Backing
static Settings_Layout Instance
String_Layout ReturnTouch_Prompt
TransactionButton_Layout ReturnTouch_Menu
TransactionButton_Layout ReturnTouch_HUD
TransactionButton_Layout ReturnTouch_Accept
static string GetTextValue(string key)
Definition Language.cs:54
static void FlushBatches()
Definition Main.cs:5092
static bool gameMenu
Definition Main.cs:2673
static XNAUnityRunner.ForcedInputMode PrimaryInputMode
static bool KeyboardModeLocked
static bool ControllerModeLocked