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
BestiaryDatabase.cs
Go to the documentation of this file.
1using System;
6using Terraria.ID;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000917")]
11 public class BestiaryDatabase
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x17000810")]
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60046D7")]
17 [global::Cpp2ILInjected.Address(RVA = "0x80F934", Offset = "0x80F934", Length = "0x8")]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
19 get
20 {
21 throw null;
22 }
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x17000811")]
27 {
28 [global::Cpp2ILInjected.Token(Token = "0x60046D8")]
29 [global::Cpp2ILInjected.Address(RVA = "0x80F93C", Offset = "0x80F93C", Length = "0x8")]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 get
32 {
33 throw null;
34 }
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x17000812")]
39 {
40 [global::Cpp2ILInjected.Token(Token = "0x60046D9")]
41 [global::Cpp2ILInjected.Address(RVA = "0x80F944", Offset = "0x80F944", Length = "0x8")]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 get
44 {
45 throw null;
46 }
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x60046DA")]
50 [global::Cpp2ILInjected.Address(RVA = "0x80F94C", Offset = "0x80F94C", Length = "0x170")]
51 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "Register", MemberParameters = new object[] { typeof(BestiaryEntry) }, ReturnType = typeof(BestiaryEntry))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "RegisterTestEntries", ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddTownNPCs_Manual", ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddMultiEntryNPCS_Manual", ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddEmptyEntries_CrittersAndEnemies_Automated", ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 45)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "set_Item", MemberParameters = new object[]
60 {
61 typeof(int),
62 typeof(object)
63 }, ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
66 {
67 throw null;
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x60046DB")]
71 [global::Cpp2ILInjected.Address(RVA = "0x80FABC", Offset = "0x80FABC", Length = "0xA4")]
72 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "Register", MemberParameters = new object[] { typeof(IBestiaryEntryFilter) }, ReturnType = typeof(IBestiaryEntryFilter))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "RegisterFilters", ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
76 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x60046DC")]
83 [global::Cpp2ILInjected.Address(RVA = "0x80FB60", Offset = "0x80FB60", Length = "0xA4")]
84 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "RegisterSortSteps", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
87 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
89 {
90 throw null;
91 }
92
93 [global::Cpp2ILInjected.Token(Token = "0x60046DD")]
94 [global::Cpp2ILInjected.Address(RVA = "0x80FC04", Offset = "0x80FC04", Length = "0xAC")]
95 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "DidDiscoverBestiaryEntry", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentSamples.BestiaryHelper), Member = "GetLowestBiomeGroupIndex", MemberParameters = new object[]
98 {
99 typeof(NPC),
102 }, ReturnType = typeof(int))]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabase), Member = "ExtractDropsForNPC", MemberParameters = new object[]
104 {
106 typeof(int)
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "FindEntryByNPCID", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "ModifyEntriesThatNeedIt_NameOverride", MemberParameters = new object[]
110 {
111 typeof(int),
112 typeof(string)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "ModifyEntriesThatNeedIt", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddNPCBiomeRelationships_Automated", ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddNPCBiomeRelationships_Manual", ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddNPCBiomeRelationships_AddDecorations_Automated", ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddDropOverrides", MemberParameters = new object[] { typeof(BestiaryDatabase) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 813)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "TryGetValue", MemberParameters = new object[]
121 {
122 typeof(int),
123 typeof(ref object)
124 }, ReturnType = typeof(bool))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
126 {
127 typeof(Array),
128 typeof(int),
129 typeof(int)
130 }, ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
133 {
134 throw null;
135 }
136
137 [global::Cpp2ILInjected.Token(Token = "0x60046DE")]
138 [global::Cpp2ILInjected.Address(RVA = "0x80FCB0", Offset = "0x80FCB0", Length = "0x3C")]
139 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryDatabase), Member = "ExtractDropsForNPC", MemberParameters = new object[]
143 {
145 typeof(int)
146 }, ReturnType = typeof(void))]
148 {
149 throw null;
150 }
151
152 [global::Cpp2ILInjected.Token(Token = "0x60046DF")]
153 [global::Cpp2ILInjected.Address(RVA = "0x80FCEC", Offset = "0x80FCEC", Length = "0x444")]
154 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabase), Member = "Merge", MemberParameters = new object[] { typeof(ItemDropDatabase) }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryDatabase), Member = "FindEntryByNPCID", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemDropDatabase), Member = "GetRulesForNPCID", MemberParameters = new object[]
159 {
160 typeof(int),
161 typeof(bool)
162 }, ReturnType = typeof(List<IItemDropRule>))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<DropRateInfo>), Member = ".ctor", ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DropRateInfoChainFeed), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<DropRateInfo>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<DropRateInfo>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<DropRateInfo>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 26)]
174 {
175 throw null;
176 }
177
178 [global::Cpp2ILInjected.Token(Token = "0x60046E0")]
179 [global::Cpp2ILInjected.Address(RVA = "0x810164", Offset = "0x810164", Length = "0xA4")]
180 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "ModifyEntriesThatNeedIt", ReturnType = typeof(void))]
182 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
184 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
186 {
187 throw null;
188 }
189
190 [global::Cpp2ILInjected.Token(Token = "0x60046E1")]
191 [global::Cpp2ILInjected.Address(RVA = "0x810208", Offset = "0x810208", Length = "0x17C")]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = ".ctor", ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryEntry), Member = ".ctor", ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
200 {
201 throw null;
202 }
203
204 [global::Cpp2ILInjected.Token(Token = "0x40082B6")]
205 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
207
208 [global::Cpp2ILInjected.Token(Token = "0x40082B7")]
209 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
211
212 [global::Cpp2ILInjected.Token(Token = "0x40082B8")]
213 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
215
216 [global::Cpp2ILInjected.Token(Token = "0x40082B9")]
217 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
219
220 [global::Cpp2ILInjected.Token(Token = "0x40082BA")]
221 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
223
224 [global::Cpp2ILInjected.Token(Token = "0x2000918")]
226 }
227}
class f__AnonymousType0<< Count > j__TPar
void Merge(ItemDropDatabase dropsDatabase)
delegate void BestiaryEntriesPass(BestiaryEntry entry)
void ExtractDropsForNPC(ItemDropDatabase dropsDatabase, int npcId)
IBestiarySortStep Register(IBestiarySortStep sortStep)
Dictionary< int, BestiaryEntry > _byNpcId
void ApplyPass(BestiaryDatabase.BestiaryEntriesPass pass)
BestiaryEntry Register(BestiaryEntry entry)
IBestiaryEntryFilter Register(IBestiaryEntryFilter filter)