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
SnapPoint.cs
Go to the documentation of this file.
1using System;
9
10namespace Terraria.UI
11{
12 [DebuggerDisplay("Snap Point - {Name} {Id}")]
13 [global::Cpp2ILInjected.Token(Token = "0x200071A")]
14 public class SnapPoint
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x17000762")]
17 public int Id
18 {
20 [global::Cpp2ILInjected.Token(Token = "0x6003C26")]
21 [global::Cpp2ILInjected.Address(RVA = "0x148DFFC", Offset = "0x148DFFC", Length = "0x8")]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 get
24 {
25 throw null;
26 }
28 [global::Cpp2ILInjected.Token(Token = "0x6003C27")]
29 [global::Cpp2ILInjected.Address(RVA = "0x148E004", Offset = "0x148E004", Length = "0x8")]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 private set
32 {
33 throw null;
34 }
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x17000763")]
39 {
41 [global::Cpp2ILInjected.Token(Token = "0x6003C28")]
42 [global::Cpp2ILInjected.Address(RVA = "0x148E00C", Offset = "0x148E00C", Length = "0x8")]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
44 get
45 {
46 throw null;
47 }
49 [global::Cpp2ILInjected.Token(Token = "0x6003C29")]
50 [global::Cpp2ILInjected.Address(RVA = "0x148E014", Offset = "0x148E014", Length = "0x8")]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
52 private set
53 {
54 throw null;
55 }
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x6003C2A")]
59 [global::Cpp2ILInjected.Address(RVA = "0x148E01C", Offset = "0x148E01C", Length = "0x58")]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIDynamicItemCollection), Member = "GetSnapPoints", ReturnType = typeof(List<SnapPoint>))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
63 public SnapPoint(string name, int id, Vector2 anchor, Vector2 offset)
64 {
65 throw null;
66 }
67
68 [global::Cpp2ILInjected.Token(Token = "0x6003C2B")]
69 [global::Cpp2ILInjected.Address(RVA = "0x148E074", Offset = "0x148E074", Length = "0xFC")]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIElement), Member = "GetSnapPoint", MemberParameters = new object[] { typeof(ref SnapPoint) }, ReturnType = typeof(bool))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIElement), Member = "GetSnapPoints", ReturnType = typeof(List<SnapPoint>))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIDynamicItemCollection), Member = "GetSnapPoints", ReturnType = typeof(List<SnapPoint>))]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalculatedStyle), Member = "Position", ReturnType = typeof(Vector2))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
76 {
79 }, ReturnType = typeof(Vector2))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
81 {
82 typeof(float),
83 typeof(float)
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
86 {
89 }, ReturnType = typeof(Vector2))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
91 public void Calculate(UIElement element)
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x6003C2C")]
97 [global::Cpp2ILInjected.Address(RVA = "0x148E170", Offset = "0x148E170", Length = "0x10")]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIDynamicItemCollection), Member = "GetSnapPoints", ReturnType = typeof(List<SnapPoint>))]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
101 {
102 throw null;
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x4007B77")]
106 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
107 public string Name;
108
110 [global::Cpp2ILInjected.Token(Token = "0x4007B78")]
111 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
112 private int <Id>k__BackingField;
113
115 [global::Cpp2ILInjected.Token(Token = "0x4007B79")]
116 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
117 private Vector2 <Position>k__BackingField;
118
119 [global::Cpp2ILInjected.Token(Token = "0x4007B7A")]
120 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
122
123 [global::Cpp2ILInjected.Token(Token = "0x4007B7B")]
124 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
126 }
127}
class f__AnonymousType0<< Count > j__TPar
void Calculate(UIElement element)
Definition SnapPoint.cs:91
SnapPoint(string name, int id, Vector2 anchor, Vector2 offset)
Definition SnapPoint.cs:63
Vector2< Position > k__BackingField
Definition SnapPoint.cs:117
int< Id > k__BackingField
Definition SnapPoint.cs:112
void ThisIsAHackThatChangesTheSnapPointsInfo(Vector2 anchor, Vector2 offset, int id)
Definition SnapPoint.cs:100