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
NPCSmartInteractCandidateProvider.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200084C")]
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x600432A")]
13 [global::Cpp2ILInjected.Address(RVA = "0x7A06C8", Offset = "0x7A06C8", Length = "0x54")]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractNPC", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x600432B")]
23 [global::Cpp2ILInjected.Address(RVA = "0x7A071C", Offset = "0x7A071C", Length = "0x308")]
24 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Center", ReturnType = typeof(Vector2))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_tileRangeX", ReturnType = typeof(int))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_tileRangeY", ReturnType = typeof(int))]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
30 {
31 typeof(float),
32 typeof(float)
33 }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
35 {
37 typeof(float)
38 }, ReturnType = typeof(Vector2))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "CenteredRectangle", MemberParameters = new object[]
40 {
43 }, ReturnType = typeof(Rectangle))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToPoint", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Hitbox", ReturnType = typeof(Rectangle))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Intersects", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(bool))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Distance", MemberParameters = new object[]
48 {
51 }, ReturnType = typeof(float))]
52 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
54 {
55 throw null;
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x600432C")]
59 [global::Cpp2ILInjected.Address(RVA = "0x79E9E0", Offset = "0x79E9E0", Length = "0x60")]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SmartInteractSystem), Member = ".ctor", ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x4008158")]
70 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
72
73 [global::Cpp2ILInjected.Token(Token = "0x200084D")]
75 {
76 [global::Cpp2ILInjected.Token(Token = "0x170007C8")]
77 public float DistanceFromCursor
78 {
80 [global::Cpp2ILInjected.Token(Token = "0x600432D")]
81 [global::Cpp2ILInjected.Address(RVA = "0x7A0A38", Offset = "0x7A0A38", Length = "0x8")]
82 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
83 get
84 {
85 throw null;
86 }
88 [global::Cpp2ILInjected.Token(Token = "0x600432E")]
89 [global::Cpp2ILInjected.Address(RVA = "0x7A0A40", Offset = "0x7A0A40", Length = "0x8")]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
91 private set
92 {
93 throw null;
94 }
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x600432F")]
98 [global::Cpp2ILInjected.Address(RVA = "0x7A0A48", Offset = "0x7A0A48", Length = "0x68")]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractNPC", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_SmartInteractShowingGenuine", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
103 public void WinCandidacy()
104 {
105 throw null;
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x6004330")]
109 [global::Cpp2ILInjected.Address(RVA = "0x7A0A24", Offset = "0x7A0A24", Length = "0xC")]
110 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
111 public void Reuse(int npcIndex, float npcDistanceFromCursor)
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x6004331")]
117 [global::Cpp2ILInjected.Address(RVA = "0x7A0A30", Offset = "0x7A0A30", Length = "0x8")]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
121 {
122 throw null;
123 }
124
126 [global::Cpp2ILInjected.Token(Token = "0x4008159")]
127 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
128 private float <DistanceFromCursor>k__BackingField;
129
130 [global::Cpp2ILInjected.Token(Token = "0x400815A")]
131 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
132 private int _npcIndexToTarget;
133 }
134 }
135}
class f__AnonymousType0<< Count > j__TPar
bool ProvideCandidate(SmartInteractScanSettings settings, out ISmartInteractCandidate candidate)