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
NPCKillCounterInfoElement.cs
Go to the documentation of this file.
1using System;
8using Terraria.UI;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x200096D")]
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x600482D")]
16 [global::Cpp2ILInjected.Address(RVA = "0x819A10", Offset = "0x819A10", Length = "0xCC")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "Enemy", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "TownNPC", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "Critter", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = ".ctor", ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "SetDefaults", MemberParameters = new object[]
24 {
25 typeof(int),
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x600482E")]
35 [global::Cpp2ILInjected.Address(RVA = "0x81FF0C", Offset = "0x81FF0C", Length = "0x544")]
36 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCKillCounterInfoElement), Member = "GetKillCount", ReturnType = typeof(int?))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = "get_Value", ReturnType = "T")]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = ".ctor", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = ".ctor", MemberParameters = new object[]
42 {
43 typeof(float),
44 typeof(float)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
48 {
49 typeof(int),
50 typeof(int)
51 }, ReturnType = typeof(int))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIPanel), Member = ".ctor", MemberParameters = new object[]
53 {
56 typeof(int),
57 typeof(int)
58 }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
60 {
61 typeof(int),
62 typeof(int),
63 typeof(int)
64 }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "SetPadding", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Append", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement.ElementEvent), Member = ".ctor", MemberParameters = new object[]
68 {
69 typeof(object),
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "add_OnUpdate", MemberParameters = new object[] { typeof(UIElement.ElementEvent) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIText), Member = ".ctor", MemberParameters = new object[]
74 {
75 typeof(string),
76 typeof(float),
77 typeof(bool)
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = ".ctor", ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "SetDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIItemIcon), Member = ".ctor", MemberParameters = new object[]
82 {
83 typeof(Item),
84 typeof(bool)
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x600482F")]
93 [global::Cpp2ILInjected.Address(RVA = "0x8204FC", Offset = "0x8204FC", Length = "0xB8")]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "MouseText", MemberParameters = new object[]
97 {
98 typeof(string),
99 typeof(int),
100 typeof(byte),
101 typeof(int),
102 typeof(int),
103 typeof(int),
104 typeof(int),
105 typeof(int)
106 }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
108 private void ShowDescription(UIElement element)
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x6004830")]
114 [global::Cpp2ILInjected.Address(RVA = "0x820450", Offset = "0x820450", Length = "0xAC")]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPCKillCounterInfoElement), Member = "ProvideUIElement", MemberParameters = new object[] { typeof(BestiaryUICollectionInfo) }, ReturnType = typeof(UIElement))]
116 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "GetBestiaryCreditId", ReturnType = typeof(string))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPCKillsTracker), Member = "GetKillCount", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
121 private int? GetKillCount()
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x40083B2")]
127 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
128 private NPC _instance;
129 }
130}
class f__AnonymousType0<< Count > j__TPar
delegate void ElementEvent(UIElement affectedElement)