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
CustomEntryIcon.cs
Go to the documentation of this file.
1using System;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x2000944")]
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x60047A4")]
15 [global::Cpp2ILInjected.Address(RVA = "0x81A8CC", Offset = "0x81A8CC", Length = "0x13C")]
16 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BestiaryEntry), Member = "Biome", MemberParameters = new object[]
18 {
19 typeof(string),
20 typeof(string),
21 typeof(Func<bool>)
22 }, ReturnType = typeof(BestiaryEntry))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomEntryIcon), Member = "CreateClone", ReturnType = typeof(IEntryIcon))]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(LocalizedText))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomEntryIcon), Member = "UpdateUnlockState", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x60047A5")]
35 [global::Cpp2ILInjected.Address(RVA = "0x81B94C", Offset = "0x81B94C", Length = "0x84")]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomEntryIcon), Member = ".ctor", MemberParameters = new object[]
38 {
39 typeof(string),
40 typeof(string),
41 typeof(Func<bool>)
42 }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x60047A6")]
50 [global::Cpp2ILInjected.Address(RVA = "0x81B9D0", Offset = "0x81B9D0", Length = "0xC")]
51 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomEntryIcon), Member = "UpdateUnlockState", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
55 {
56 throw null;
57 }
58
59 [global::Cpp2ILInjected.Token(Token = "0x60047A7")]
60 [global::Cpp2ILInjected.Address(RVA = "0x81B9E8", Offset = "0x81B9E8", Length = "0x200")]
61 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Center", ReturnType = typeof(Point))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToVector2", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(Vector2))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
66 {
69 }, ReturnType = typeof(Vector2))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(Vector2))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
73 {
75 typeof(float)
76 }, ReturnType = typeof(Vector2))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
78 {
83 typeof(float),
85 typeof(float),
87 typeof(float)
88 }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
90 public void Draw(BestiaryUICollectionInfo providedInfo, SpriteBatch spriteBatch, EntryIconDrawSettings settings)
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x60047A8")]
96 [global::Cpp2ILInjected.Address(RVA = "0x81BBE8", Offset = "0x81BBE8", Length = "0x5C")]
97 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
99 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
100 public string GetHoverText(BestiaryUICollectionInfo providedInfo)
101 {
102 throw null;
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x60047A9")]
106 [global::Cpp2ILInjected.Address(RVA = "0x81B8A0", Offset = "0x81B8A0", Length = "0xAC")]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomEntryIcon), Member = ".ctor", MemberParameters = new object[]
108 {
109 typeof(string),
110 typeof(string),
111 typeof(Func<bool>)
112 }, ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomEntryIcon), Member = "Update", MemberParameters = new object[]
114 {
115 typeof(BestiaryUICollectionInfo),
117 typeof(EntryIconDrawSettings)
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToInt", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(int))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Frame", MemberParameters = new object[]
122 {
124 typeof(int),
125 typeof(int),
126 typeof(int),
127 typeof(int),
128 typeof(int),
129 typeof(int)
130 }, ReturnType = typeof(Rectangle))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Inflate", MemberParameters = new object[]
132 {
133 typeof(int),
134 typeof(int)
135 }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
137 private void UpdateUnlockState(bool state)
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x60047AA")]
143 [global::Cpp2ILInjected.Address(RVA = "0x81B9DC", Offset = "0x81B9DC", Length = "0xC")]
144 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
146 public bool GetUnlockState(BestiaryUICollectionInfo providedInfo)
147 {
148 throw null;
149 }
150
151 [global::Cpp2ILInjected.Token(Token = "0x4008375")]
152 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
154
155 [global::Cpp2ILInjected.Token(Token = "0x4008376")]
156 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
158
159 [global::Cpp2ILInjected.Token(Token = "0x4008377")]
160 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
162
163 [global::Cpp2ILInjected.Token(Token = "0x4008378")]
164 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
165 private Func<bool> _unlockCondition;
166 }
167}
class f__AnonymousType0<< Count > j__TPar
CustomEntryIcon(string nameLanguageKey, string texturePath, Func< bool > unlockCondition)
void Draw(BestiaryUICollectionInfo providedInfo, SpriteBatch spriteBatch, EntryIconDrawSettings settings)
string GetHoverText(BestiaryUICollectionInfo providedInfo)
bool GetUnlockState(BestiaryUICollectionInfo providedInfo)
void Update(BestiaryUICollectionInfo providedInfo, Rectangle hitbox, EntryIconDrawSettings settings)