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
SmartSelectGamepadPointer.cs
Go to the documentation of this file.
1using System;
5
6namespace Terraria.GameInput
7{
8 [global::Cpp2ILInjected.Token(Token = "0x20006CE")]
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x60039F9")]
12 [global::Cpp2ILInjected.Address(RVA = "0x146FFC8", Offset = "0x146FFC8", Length = "0xB0")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheckWrapped", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartSelectGamepadPointer), Member = "SmartSelectLookup_GetTargetTile", MemberParameters = new object[]
15 {
17 typeof(ref int),
18 typeof(ref int)
19 }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_UsingGamepad", ReturnType = typeof(bool))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LocalPlayer", ReturnType = typeof(Player))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SmartCursorIsUsed", ReturnType = typeof(bool))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
25 public bool ShouldBeUsed()
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x60039FA")]
31 [global::Cpp2ILInjected.Address(RVA = "0x1470078", Offset = "0x1470078", Length = "0x290")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SmartSelectLookup", ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_worldMouseX", ReturnType = typeof(int))]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_worldMouseY", ReturnType = typeof(int))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseY", ReturnType = typeof(int))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SmartSelectGamepadPointer), Member = "ShouldBeUsed", ReturnType = typeof(bool))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SmartSelectGamepadPointer), Member = "GetPointerPosition", ReturnType = typeof(Vector2))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToPoint", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
43 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
44 public void SmartSelectLookup_GetTargetTile(Player player, out int tX, out int tY)
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x60039FB")]
50 [global::Cpp2ILInjected.Address(RVA = "0x14704D0", Offset = "0x14704D0", Length = "0x8")]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
52 public void UpdateSize(Vector2 size)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x60039FC")]
58 [global::Cpp2ILInjected.Address(RVA = "0x14704D8", Offset = "0x14704D8", Length = "0x8")]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
60 public void UpdateCenter(Vector2 center)
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x60039FD")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1470308", Offset = "0x1470308", Length = "0x1C8")]
67 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCursor", MemberParameters = new object[]
69 {
71 typeof(bool)
72 }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ForceSmartSelectCursor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartSelectGamepadPointer), Member = "SmartSelectLookup_GetTargetTile", MemberParameters = new object[]
75 {
76 typeof(Player),
77 typeof(ref int),
78 typeof(ref int)
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_worldMouseX", ReturnType = typeof(int))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_worldMouseY", ReturnType = typeof(int))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
84 {
85 typeof(float),
86 typeof(float)
87 }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
89 {
92 }, ReturnType = typeof(Vector2))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
94 {
97 }, ReturnType = typeof(Vector2))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
99 {
101 typeof(float)
102 }, ReturnType = typeof(Vector2))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
104 {
106 typeof(float)
107 }, ReturnType = typeof(Vector2))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
109 {
112 }, ReturnType = typeof(Vector2))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
114 {
117 }, ReturnType = typeof(Vector2))]
118 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
120 {
121 throw null;
122 }
123
124 [global::Cpp2ILInjected.Token(Token = "0x60039FE")]
125 [global::Cpp2ILInjected.Address(RVA = "0x14704E0", Offset = "0x14704E0", Length = "0x4C")]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerInput), Member = ".cctor", ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
129 {
130 typeof(float),
131 typeof(float)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
135 {
136 throw null;
137 }
138
139 [global::Cpp2ILInjected.Token(Token = "0x4007A2F")]
140 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
141 private Vector2 _size;
142
143 [global::Cpp2ILInjected.Token(Token = "0x4007A30")]
144 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
146
147 [global::Cpp2ILInjected.Token(Token = "0x4007A31")]
148 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
150 }
151}
class f__AnonymousType0<< Count > j__TPar
void SmartSelectLookup_GetTargetTile(Player player, out int tX, out int tY)