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
GameInterfaceLayer.cs
Go to the documentation of this file.
1
using
System
;
2
using
Terraria.GameInput
;
3
4
namespace
Terraria.UI
5
{
6
// Token: 0x020006DF RID: 1759
7
public
class
GameInterfaceLayer
8
{
9
// Token: 0x06003B11 RID: 15121 RVA: 0x00234174 File Offset: 0x00232374
10
public
GameInterfaceLayer
(
string
name
,
InterfaceScaleType
scaleType
)
11
{
12
this.Name
=
name
;
13
this.ScaleType
=
scaleType
;
14
}
15
16
// Token: 0x06003B12 RID: 15122 RVA: 0x00234198 File Offset: 0x00232398
17
public
bool
Draw
()
18
{
19
int
num;
20
if
(this.
ScaleType
!=
InterfaceScaleType
.Game)
21
{
22
PlayerInput
.
SetZoom_UI
();
23
num = 1;
24
if
(num == 0)
25
{
26
}
27
}
28
if
(num == 0)
29
{
30
}
31
PlayerInput
.
SetZoom_World
();
32
if
(num == 0)
33
{
34
}
35
PlayerInput
.
SetZoom_Unscaled
();
36
if
(num == 0)
37
{
38
}
39
int
num2
= 1;
40
if
(
num2
== 0)
41
{
42
}
43
int
value
=
num2
.m_value;
44
if
(
num2
== 0)
45
{
46
return
;
47
}
48
}
49
50
// Token: 0x06003B13 RID: 15123 RVA: 0x002341EC File Offset: 0x002323EC
51
protected
virtual
bool
DrawSelf
()
52
{
53
return
true
;
54
}
55
56
// Token: 0x04007AF1 RID: 31473
57
public
readonly
string
Name
;
58
59
// Token: 0x04007AF2 RID: 31474
60
public
InterfaceScaleType
ScaleType
;
61
}
62
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Terraria.GameInput.PlayerInput.SetZoom_World
static void SetZoom_World()
Definition
PlayerInput.cs:1158
Terraria.GameInput.PlayerInput.SetZoom_Unscaled
static void SetZoom_Unscaled()
Definition
PlayerInput.cs:1163
Terraria.GameInput.PlayerInput.SetZoom_UI
static void SetZoom_UI()
Definition
PlayerInput.cs:1153
Terraria.GameInput.PlayerInput
Definition
PlayerInput.cs:15
Terraria.UI.GameInterfaceLayer.Draw
bool Draw()
Definition
GameInterfaceLayer.cs:17
Terraria.UI.GameInterfaceLayer.DrawSelf
virtual bool DrawSelf()
Definition
GameInterfaceLayer.cs:51
Terraria.UI.GameInterfaceLayer.ScaleType
InterfaceScaleType ScaleType
Definition
GameInterfaceLayer.cs:60
Terraria.UI.GameInterfaceLayer.GameInterfaceLayer
GameInterfaceLayer(string name, InterfaceScaleType scaleType)
Definition
GameInterfaceLayer.cs:10
Terraria.UI.GameInterfaceLayer.Name
readonly string Name
Definition
GameInterfaceLayer.cs:57
Terraria.UI.GameInterfaceLayer
Definition
GameInterfaceLayer.cs:8
System.ExceptionArgument.value
@ value
System.ExceptionArgument.name
@ name
System
Definition
__ComObject.cs:4
Terraria.GameInput
Definition
CursorMode.cs:4
Terraria.UI.InterfaceScaleType
InterfaceScaleType
Definition
InterfaceScaleType.cs:7
Terraria.UI
Definition
Alignment.cs:5
source
Terraria
UI
GameInterfaceLayer.cs
Generated by
1.10.0