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
BestiaryEntry.cs
Go to the documentation of this file.
1using System;
7using Terraria.UI;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x2000940")]
12 public class BestiaryEntry
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x17000821")]
16 {
18 [global::Cpp2ILInjected.Token(Token = "0x600478E")]
19 [global::Cpp2ILInjected.Address(RVA = "0x819254", Offset = "0x819254", Length = "0x8")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 get
22 {
23 throw null;
24 }
26 [global::Cpp2ILInjected.Token(Token = "0x600478F")]
27 [global::Cpp2ILInjected.Address(RVA = "0x81925C", Offset = "0x81925C", Length = "0x8")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 private set
30 {
31 throw null;
32 }
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x6004790")]
36 [global::Cpp2ILInjected.Address(RVA = "0x810384", Offset = "0x810384", Length = "0x80")]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabase), Member = ".ctor", ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "Enemy", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "TownNPC", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "Critter", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "Biome", MemberParameters = new object[]
42 {
43 typeof(string),
44 typeof(string),
45 typeof(Func<bool>)
46 }, ReturnType = typeof(BestiaryEntry))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPCPortraitInfoElement), Member = "ProvideUIElement", MemberParameters = new object[] { typeof(BestiaryUICollectionInfo) }, ReturnType = typeof(UIElement))]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6004791")]
58 [global::Cpp2ILInjected.Address(RVA = "0x819264", Offset = "0x819264", Length = "0x72C")]
59 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddMultiEntryNPCS_Manual", ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddEmptyEntries_CrittersAndEnemies_Automated", ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lang), Member = "GetNPCName", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(LocalizedText))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCKillCounterInfoElement), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCStatsReportInfoElement), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "GetBestiaryCreditId", ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommonEnemyUICollectionInfoProvider), Member = "GetKillCountNeeded", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
74 {
75 typeof(string),
76 typeof(string)
77 }, ReturnType = typeof(string))]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
79 {
80 typeof(string),
81 typeof(string)
82 }, ReturnType = typeof(string))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryEntry), Member = ".ctor", ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnlockableNPCEntryIcon), Member = ".ctor", MemberParameters = new object[]
86 {
87 typeof(int),
88 typeof(float),
89 typeof(float),
90 typeof(float),
91 typeof(float),
92 typeof(string)
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 39)]
95 public static BestiaryEntry Enemy(int npcNetId)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x6004792")]
101 [global::Cpp2ILInjected.Address(RVA = "0x819D2C", Offset = "0x819D2C", Length = "0x534")]
102 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddTownNPCs_Manual", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 40)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lang), Member = "GetNPCName", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(LocalizedText))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCKillCounterInfoElement), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
113 {
114 typeof(string),
115 typeof(string)
116 }, ReturnType = typeof(string))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
118 {
119 typeof(string),
120 typeof(string)
121 }, ReturnType = typeof(string))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryEntry), Member = ".ctor", ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnlockableNPCEntryIcon), Member = ".ctor", MemberParameters = new object[]
125 {
126 typeof(int),
127 typeof(float),
128 typeof(float),
129 typeof(float),
130 typeof(float),
131 typeof(string)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "GetBestiaryCreditId", ReturnType = typeof(string))]
134 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 30)]
135 public static BestiaryEntry TownNPC(int npcNetId)
136 {
137 throw null;
138 }
139
140 [global::Cpp2ILInjected.Token(Token = "0x6004793")]
141 [global::Cpp2ILInjected.Address(RVA = "0x81A288", Offset = "0x81A288", Length = "0x534")]
142 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddEmptyEntries_CrittersAndEnemies_Automated", ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lang), Member = "GetNPCName", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(LocalizedText))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCKillCounterInfoElement), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
153 {
154 typeof(string),
155 typeof(string)
156 }, ReturnType = typeof(string))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
158 {
159 typeof(string),
160 typeof(string)
161 }, ReturnType = typeof(string))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryEntry), Member = ".ctor", ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnlockableNPCEntryIcon), Member = ".ctor", MemberParameters = new object[]
165 {
166 typeof(int),
167 typeof(float),
168 typeof(float),
169 typeof(float),
170 typeof(float),
171 typeof(string)
172 }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "GetBestiaryCreditId", ReturnType = typeof(string))]
174 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 30)]
175 public static BestiaryEntry Critter(int npcNetId)
176 {
177 throw null;
178 }
179
180 [global::Cpp2ILInjected.Token(Token = "0x6004794")]
181 [global::Cpp2ILInjected.Address(RVA = "0x81A7E4", Offset = "0x81A7E4", Length = "0xE8")]
182 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "RegisterTestEntries", ReturnType = typeof(void))]
183 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryEntry), Member = ".ctor", ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomEntryIcon), Member = ".ctor", MemberParameters = new object[]
186 {
187 typeof(string),
188 typeof(string),
189 typeof(Func<bool>)
190 }, ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
193 public static BestiaryEntry Biome(string nameLanguageKey, string texturePath, Func<bool> unlockCondition)
194 {
195 throw null;
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x6004795")]
199 [global::Cpp2ILInjected.Address(RVA = "0x81AA08", Offset = "0x81AA08", Length = "0x58")]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "ModifyEntriesThatNeedIt", ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryDatabaseNPCsPopulator), Member = "AddNPCBiomeRelationships_AddDecorations_Automated", ReturnType = typeof(void))]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 62)]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "AddRange", MemberParameters = new object[] { typeof(IEnumerable<object>) }, ReturnType = typeof(void))]
204 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
205 public void AddTags(params IBestiaryInfoElement[] elements)
206 {
207 throw null;
208 }
209
210 [global::Cpp2ILInjected.Token(Token = "0x4008368")]
211 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
213
215 [global::Cpp2ILInjected.Token(Token = "0x4008369")]
216 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
218
219 [global::Cpp2ILInjected.Token(Token = "0x400836A")]
220 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
222 }
223}
class f__AnonymousType0<< Count > j__TPar
static BestiaryEntry Critter(int npcNetId)
IBestiaryUICollectionInfoProvider UIInfoProvider
List< IBestiaryInfoElement >< Info > k__BackingField
static BestiaryEntry TownNPC(int npcNetId)
void AddTags(params IBestiaryInfoElement[] elements)
static BestiaryEntry Biome(string nameLanguageKey, string texturePath, Func< bool > unlockCondition)
static BestiaryEntry Enemy(int npcNetId)