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
Keyboard.cs
Go to the documentation of this file.
1using System;
6using Terraria;
8using UnityEngine;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000350")]
13 public static class Keyboard
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x60015C8")]
16 [global::Cpp2ILInjected.Address(RVA = "0xA9B86C", Offset = "0xA9B86C", Length = "0x74")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate_HandleInput", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerInput), Member = "ResetInputsOnActiveStateChange", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Keyboard), Member = "PlatformGetState", ReturnType = typeof(KeyboardState))]
22 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
23 public static KeyboardState GetState()
24 {
25 throw null;
26 }
27
28 [Obsolete("Use GetState() instead. In future versions this method can be removed.")]
29 [global::Cpp2ILInjected.Token(Token = "0x60015C9")]
30 [global::Cpp2ILInjected.Address(RVA = "0xA9BCD4", Offset = "0xA9BCD4", Length = "0x74")]
31 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Keyboard), Member = "PlatformGetState", ReturnType = typeof(KeyboardState))]
34 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
36 {
37 throw null;
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x60015CA")]
41 [global::Cpp2ILInjected.Address(RVA = "0xA9B8E0", Offset = "0xA9B8E0", Length = "0x3F4")]
42 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Keyboard), Member = "GetState", ReturnType = typeof(KeyboardState))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Keyboard), Member = "GetState", MemberParameters = new object[] { typeof(PlayerIndex) }, ReturnType = typeof(KeyboardState))]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_HasKeyboard", ReturnType = typeof(bool))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyboardState), Member = ".ctor", MemberParameters = new object[]
49 {
51 typeof(bool),
52 typeof(bool)
53 }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Int32Enum>), Member = "AddRange", MemberParameters = new object[] { typeof(IEnumerable<Int32Enum>) }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyboardInput), Member = "GetKey", MemberParameters = new object[] { typeof(KeyCode) }, ReturnType = typeof(bool))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x60015CB")]
63 [global::Cpp2ILInjected.Address(RVA = "0xA9BEA0", Offset = "0xA9BEA0", Length = "0x5C")]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
66 internal static void SetKeys(List<Keys> keys)
67 {
68 throw null;
69 }
70
71 // Note: this type is marked as 'beforefieldinit'.
72 [global::Cpp2ILInjected.Token(Token = "0x60015CC")]
73 [global::Cpp2ILInjected.Address(RVA = "0xA9BEFC", Offset = "0xA9BEFC", Length = "0x1B4")]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
76 {
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Int32Enum>), Member = ".ctor", ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
82 static Keyboard()
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x4002332")]
88 public static KeyCode[] keyCodes;
89
90 [global::Cpp2ILInjected.Token(Token = "0x4002333")]
91 public static Keys[] keys;
92
93 [global::Cpp2ILInjected.Token(Token = "0x4002334")]
94 public static bool keyboardActive;
95
96 [global::Cpp2ILInjected.Token(Token = "0x4002335")]
97 private static List<Keys> _keys;
98
99 [global::Cpp2ILInjected.Token(Token = "0x4002336")]
101
102 [global::Cpp2ILInjected.Token(Token = "0x4002337")]
104
105 [global::Cpp2ILInjected.Token(Token = "0x4002338")]
106 public static bool IgnoreEnterUntilClear;
107 }
108}
class f__AnonymousType0<< Count > j__TPar
static List< KeyCode > UnityKeys
Definition Keyboard.cs:100
static List< KeyCode > LastUnityKeys
Definition Keyboard.cs:103
static KeyboardState PlatformGetState()
Definition Keyboard.cs:57
static KeyboardState GetState()
Definition Keyboard.cs:23
static KeyboardState GetState(PlayerIndex playerIndex)
Definition Keyboard.cs:35
static void SetKeys(List< Keys > keys)
Definition Keyboard.cs:66