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
Keyboard.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections.Generic
;
3
using
Terraria
;
4
using
UnityEngine
;
5
6
namespace
Microsoft.Xna.Framework.Input
7
{
8
// Token: 0x02000350 RID: 848
9
public
static
class
Keyboard
10
{
11
// Token: 0x060015C8 RID: 5576 RVA: 0x0006116C File Offset: 0x0005F36C
12
public
static
KeyboardState
GetState
()
13
{
14
if
(!
true
)
15
{
16
}
17
KeyboardState
keyboardState
=
Keyboard
.
PlatformGetState
();
18
KeyboardState
keyboardState2
;
19
keyboardState2
.<
CapsLock
>k__BackingField =
true
;
20
return
1;
21
}
22
23
// Token: 0x060015C9 RID: 5577 RVA: 0x0006118C File Offset: 0x0005F38C
24
[
Obsolete
(
"Use GetState() instead. In future versions this method can be removed."
)]
25
public
static
KeyboardState
GetState
(
PlayerIndex
playerIndex
)
26
{
27
if
(!
true
)
28
{
29
}
30
KeyboardState
keyboardState
=
Keyboard
.
PlatformGetState
();
31
KeyboardState
keyboardState2
;
32
keyboardState2
.<
CapsLock
>k__BackingField =
true
;
33
return
1;
34
}
35
36
// Token: 0x060015CA RID: 5578 RVA: 0x000611AC File Offset: 0x0005F3AC
37
private
static
KeyboardState
PlatformGetState
()
38
{
39
int
num = 1;
40
if
(num == 0)
41
{
42
}
43
if
(num == 0)
44
{
45
}
46
bool
hasKeyboard
=
Main
.
HasKeyboard
;
47
if
(num == 0)
48
{
49
}
50
int
num3
;
51
if
(num != 0)
52
{
53
int
num2
= 1;
54
DrPlatform.DrPlatformType
currentPlatform
=
DrPlatform
.
CurrentPlatform
;
55
if
(num == 0)
56
{
57
}
58
if
(
num2
!= 0)
59
{
60
DrPlatform.DrPlatformType
currentPlatform2
=
DrPlatform
.
CurrentPlatform
;
61
DrPlatform.DrPlatformType
currentPlatform3
=
DrPlatform
.
CurrentPlatform
;
62
}
63
if
(num == 0)
64
{
65
}
66
num3
= 1;
67
if
(num == 0)
68
{
69
}
70
}
71
if
(num == 0)
72
{
73
}
74
if
(
num3
== 0)
75
{
76
}
77
if
(
num3
== 0)
78
{
79
return
;
80
}
81
}
82
83
// Token: 0x060015CB RID: 5579 RVA: 0x0006121C File Offset: 0x0005F41C
84
internal
static
void
SetKeys
(
List<Keys>
keys
)
85
{
86
if
(!
true
)
87
{
88
}
89
}
90
91
// Token: 0x060015CC RID: 5580 RVA: 0x0006122C File Offset: 0x0005F42C
92
// Note: this type is marked as 'beforefieldinit'.
93
static
Keyboard
()
94
{
95
}
96
97
// Token: 0x04002332 RID: 9010
98
public
static
KeyCode
[]
keyCodes
;
99
100
// Token: 0x04002333 RID: 9011
101
public
static
Keys
[]
keys
;
102
103
// Token: 0x04002334 RID: 9012
104
public
static
bool
keyboardActive
;
105
106
// Token: 0x04002335 RID: 9013
107
private
static
List<Keys>
_keys
;
108
109
// Token: 0x04002336 RID: 9014
110
public
static
List<KeyCode>
UnityKeys
;
111
112
// Token: 0x04002337 RID: 9015
113
public
static
List<KeyCode>
LastUnityKeys
;
114
115
// Token: 0x04002338 RID: 9016
116
public
static
bool
IgnoreEnterUntilClear
;
117
}
118
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
DrPlatform.CurrentPlatform
static DrPlatform.DrPlatformType CurrentPlatform
Definition
DrPlatform.cs:26
DrPlatform.DrPlatformType
DrPlatformType
Definition
DrPlatform.cs:331
DrPlatform
Definition
DrPlatform.cs:12
Microsoft.Xna.Framework.Input.Keyboard.IgnoreEnterUntilClear
static bool IgnoreEnterUntilClear
Definition
Keyboard.cs:116
Microsoft.Xna.Framework.Input.Keyboard.keys
static Keys[] keys
Definition
Keyboard.cs:101
Microsoft.Xna.Framework.Input.Keyboard.UnityKeys
static List< KeyCode > UnityKeys
Definition
Keyboard.cs:110
Microsoft.Xna.Framework.Input.Keyboard.LastUnityKeys
static List< KeyCode > LastUnityKeys
Definition
Keyboard.cs:113
Microsoft.Xna.Framework.Input.Keyboard.PlatformGetState
static KeyboardState PlatformGetState()
Definition
Keyboard.cs:37
Microsoft.Xna.Framework.Input.Keyboard.GetState
static KeyboardState GetState()
Definition
Keyboard.cs:12
Microsoft.Xna.Framework.Input.Keyboard.keyboardActive
static bool keyboardActive
Definition
Keyboard.cs:104
Microsoft.Xna.Framework.Input.Keyboard._keys
static List< Keys > _keys
Definition
Keyboard.cs:107
Microsoft.Xna.Framework.Input.Keyboard.GetState
static KeyboardState GetState(PlayerIndex playerIndex)
Definition
Keyboard.cs:25
Microsoft.Xna.Framework.Input.Keyboard.SetKeys
static void SetKeys(List< Keys > keys)
Definition
Keyboard.cs:84
Microsoft.Xna.Framework.Input.Keyboard.Keyboard
static Keyboard()
Definition
Keyboard.cs:93
Microsoft.Xna.Framework.Input.Keyboard.keyCodes
static KeyCode[] keyCodes
Definition
Keyboard.cs:98
Microsoft.Xna.Framework.Input.Keyboard
Definition
Keyboard.cs:10
System.Collections.Generic.List
Definition
List.cs:13
Terraria.Main.HasKeyboard
static bool HasKeyboard
Definition
Main.cs:8469
Terraria.Main
Definition
Main.cs:67
Microsoft.Xna.Framework.Input.Keys
Keys
Definition
Keys.cs:7
Microsoft.Xna.Framework.Input.Keys.CapsLock
@ CapsLock
Microsoft.Xna.Framework.Input
Definition
Buttons.cs:4
Microsoft.Xna.Framework.PlayerIndex
PlayerIndex
Definition
PlayerIndex.cs:7
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System
Definition
__ComObject.cs:4
Terraria
Definition
Achievement.cs:10
UnityEngine.KeyCode
KeyCode
Definition
KeyCode.cs:7
UnityEngine
Definition
_AndroidJNIHelper.cs:6
Microsoft.Xna.Framework.Input.KeyboardState
Definition
KeyboardState.cs:10
source
Microsoft
Xna
Framework
Input
Keyboard.cs
Generated by
1.10.0