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
NPCWasNearPlayerTracker.cs
Go to the documentation of this file.
1using System;
4using System.IO;
10using Terraria.Net;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x200093E")]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6004778")]
18 [global::Cpp2ILInjected.Address(RVA = "0x8188F0", Offset = "0x8188F0", Length = "0x4")]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 {
22 throw null;
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x6004779")]
26 [global::Cpp2ILInjected.Address(RVA = "0x8182F0", Offset = "0x8182F0", Length = "0x13C")]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryUnlocksTracker), Member = ".ctor", ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = ".ctor", ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Rectangle>), Member = ".ctor", ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = ".ctor", ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x600477A")]
40 [global::Cpp2ILInjected.Address(RVA = "0x8188F4", Offset = "0x8188F4", Length = "0x1CC")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPCWasNearPlayerTracker), Member = "ScanWorldForFinds", ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "GetBestiaryCreditId", ReturnType = typeof(string))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Contains", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
47 {
48 typeof(object),
49 typeof(ref bool)
50 }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Add", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetHost", ReturnType = typeof(bool))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetBestiaryModule), Member = "SerializeSight", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(NetPacket))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetManager), Member = "Broadcast", MemberParameters = new object[]
56 {
58 typeof(int)
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
61 public void RegisterWasNearby(NPC npc)
62 {
63 throw null;
64 }
65
66 [global::Cpp2ILInjected.Token(Token = "0x600477B")]
67 [global::Cpp2ILInjected.Address(RVA = "0x818AC0", Offset = "0x818AC0", Length = "0xF4")]
68 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetBestiaryModule), Member = "Deserialize", MemberParameters = new object[]
70 {
72 typeof(int)
73 }, ReturnType = typeof(bool))]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
76 {
77 typeof(object),
78 typeof(ref bool)
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Add", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
83 public void SetWasSeenDirectly(string persistentId)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x600477C")]
89 [global::Cpp2ILInjected.Address(RVA = "0x818BB4", Offset = "0x818BB4", Length = "0x24")]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "GetBestiaryCreditId", ReturnType = typeof(string))]
92 public bool GetWasNearbyBefore(NPC npc)
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x600477D")]
98 [global::Cpp2ILInjected.Address(RVA = "0x818BD8", Offset = "0x818BD8", Length = "0x58")]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CritterUICollectionInfoProvider), Member = "GetEntryUICollectionInfo", ReturnType = typeof(BestiaryUICollectionInfo))]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GoldCritterUICollectionInfoProvider), Member = "GetUnlockStateForCritter", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(BestiaryEntryUnlockState))]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Contains", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x600477E")]
110 [global::Cpp2ILInjected.Address(RVA = "0x8171D0", Offset = "0x8171D0", Length = "0x218")]
111 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryUnlocksTracker), Member = "Save", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
115 {
116 typeof(object),
117 typeof(ref bool)
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
124 public void Save(BinaryWriter writer)
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x600477F")]
130 [global::Cpp2ILInjected.Address(RVA = "0x8176F0", Offset = "0x8176F0", Length = "0x9C")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryUnlocksTracker), Member = "Load", MemberParameters = new object[]
133 {
135 typeof(int)
136 }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Add", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
139 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
141 {
142 throw null;
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x6004780")]
146 [global::Cpp2ILInjected.Address(RVA = "0x817924", Offset = "0x817924", Length = "0x54")]
147 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x6004781")]
155 [global::Cpp2ILInjected.Address(RVA = "0x817A38", Offset = "0x817A38", Length = "0x84")]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryUnlocksTracker), Member = "Reset", ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Clear", ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
160 public void Reset()
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x6004782")]
166 [global::Cpp2ILInjected.Address(RVA = "0x818C30", Offset = "0x818C30", Length = "0x2A4")]
167 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdateInWorld", MemberParameters = new object[] { typeof(Stopwatch) }, ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_HitboxForBestiaryNearbyCheck", ReturnType = typeof(Rectangle))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "get_CountsAsACritter", ReturnType = typeof(bool))]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = "Contains", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Hitbox", ReturnType = typeof(Rectangle))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Rectangle>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Intersects", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(bool))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCWasNearPlayerTracker), Member = "RegisterWasNearby", MemberParameters = new object[] { typeof(NPC) }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
178 public void ScanWorldForFinds()
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x6004783")]
184 [global::Cpp2ILInjected.Address(RVA = "0x817D74", Offset = "0x817D74", Length = "0x20C")]
185 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryUnlocksTracker), Member = "OnPlayerJoining", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "TryGetValue", MemberParameters = new object[]
191 {
192 typeof(object),
193 typeof(ref int)
194 }, ReturnType = typeof(bool))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetBestiaryModule), Member = "SerializeSight", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(NetPacket))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetManager), Member = "SendToClient", MemberParameters = new object[]
197 {
199 typeof(int)
200 }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
202 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
204 {
205 throw null;
206 }
207
208 [global::Cpp2ILInjected.Token(Token = "0x4008362")]
209 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
210 private object _entryCreationLock;
211
212 [global::Cpp2ILInjected.Token(Token = "0x4008363")]
213 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
215
216 [global::Cpp2ILInjected.Token(Token = "0x4008364")]
217 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
219
220 [global::Cpp2ILInjected.Token(Token = "0x4008365")]
221 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
223 }
224}
class f__AnonymousType0<< Count > j__TPar
void ValidateWorld(BinaryReader reader, int gameVersionSaveWasMadeOn)
void Load(BinaryReader reader, int gameVersionSaveWasMadeOn)