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
PersonalityDatabase.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200082F")]
9 public class PersonalityDatabase
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x60042E9")]
12 [global::Cpp2ILInjected.Address(RVA = "0x79C440", Offset = "0x79C440", Length = "0xA8")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShopHelper), Member = ".ctor", ReturnType = typeof(void))]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PersonalityProfile), Member = ".ctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = ".ctor", ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x60042EA")]
25 [global::Cpp2ILInjected.Address(RVA = "0x79C564", Offset = "0x79C564", Length = "0x160")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PersonalityDatabasePopulator), Member = "Populate_BiomePreferences", MemberParameters = new object[] { typeof(PersonalityDatabase) }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 25)]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "ContainsKey", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PersonalityProfile), Member = ".ctor", ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "set_Item", MemberParameters = new object[]
32 {
33 typeof(int),
34 typeof(object)
35 }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
38 public void Register(int npcId, IShopPersonalityTrait trait)
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x60042EB")]
44 [global::Cpp2ILInjected.Address(RVA = "0x79C6C4", Offset = "0x79C6C4", Length = "0xA0")]
45 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PersonalityDatabase), Member = "Register", MemberParameters = new object[]
47 {
49 typeof(int[])
50 }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PersonalityDatabase), Member = "Register", MemberParameters = new object[]
53 {
54 typeof(IShopPersonalityTrait),
55 typeof(int[])
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
59 {
60 throw null;
61 }
62
63 [global::Cpp2ILInjected.Token(Token = "0x60042EC")]
64 [global::Cpp2ILInjected.Address(RVA = "0x79C764", Offset = "0x79C764", Length = "0x78")]
65 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShopHelper), Member = "ProcessMood", MemberParameters = new object[]
67 {
69 typeof(NPC)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "TryGetValue", MemberParameters = new object[]
73 {
74 typeof(int),
75 typeof(ref object)
76 }, ReturnType = typeof(bool))]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x4008131")]
84 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
86
87 [global::Cpp2ILInjected.Token(Token = "0x4008132")]
88 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
90 }
91}
class f__AnonymousType0<< Count > j__TPar
Dictionary< int, PersonalityProfile > _personalityProfiles
void Register(IShopPersonalityTrait trait, params int[] npcIds)
void Register(int npcId, IShopPersonalityTrait trait)