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
ItemTooltip.cs
Go to the documentation of this file.
1using System;
7
8namespace Terraria.UI
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000712")]
11 public class ItemTooltip
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x17000761")]
14 public int Lines
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6003BF1")]
17 [global::Cpp2ILInjected.Address(RVA = "0x148C074", Offset = "0x148C074", Length = "0x28")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "MouseText_DrawItemTooltip_GetLinesInfo", MemberParameters = new object[]
19 {
20 typeof(Item),
21 typeof(ref int),
22 typeof(ref int),
23 typeof(ref int),
24 typeof(float),
25 typeof(ref int),
26 typeof(string[]),
27 typeof(bool[]),
28 typeof(bool[]),
29 typeof(ref int)
30 }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemTooltip), Member = "ValidateTooltip", ReturnType = typeof(void))]
33 get
34 {
35 throw null;
36 }
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x6003BF2")]
40 [global::Cpp2ILInjected.Address(RVA = "0x148C2A4", Offset = "0x148C2A4", Length = "0x8")]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
43 private ItemTooltip()
44 {
45 throw null;
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x6003BF3")]
49 [global::Cpp2ILInjected.Address(RVA = "0x148C2AC", Offset = "0x148C2AC", Length = "0x3C")]
50 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(LocalizedText))]
54 private ItemTooltip(short id, string key)
55 {
56 throw null;
57 }
58
59 [global::Cpp2ILInjected.Token(Token = "0x6003BF4")]
60 [global::Cpp2ILInjected.Address(RVA = "0x148C2E8", Offset = "0x148C2E8", Length = "0xAC")]
61 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Lang.<>c", Member = "<InitializeLegacyLocalization>b__54_1", MemberParameters = new object[] { typeof(FieldInfo) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(LocalizedText))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
68 public static ItemTooltip FromLanguageKey(short id, string key)
69 {
70 throw null;
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x6003BF5")]
74 [global::Cpp2ILInjected.Address(RVA = "0x148C394", Offset = "0x148C394", Length = "0x2C")]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "MouseText_DrawItemTooltip_GetLinesInfo", MemberParameters = new object[]
76 {
77 typeof(Item),
78 typeof(ref int),
79 typeof(ref int),
80 typeof(ref int),
81 typeof(float),
82 typeof(ref int),
83 typeof(string[]),
84 typeof(bool[]),
85 typeof(bool[]),
86 typeof(ref int)
87 }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemTooltip), Member = "ValidateTooltip", ReturnType = typeof(void))]
90 public string GetLine(int line)
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x6003BF6")]
96 [global::Cpp2ILInjected.Address(RVA = "0x148C09C", Offset = "0x148C09C", Length = "0x208")]
97 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemTooltip), Member = "get_Lines", ReturnType = typeof(int))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemTooltip), Member = "GetLine", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Split", MemberParameters = new object[]
105 {
106 typeof(char),
108 }, ReturnType = typeof(string[]))]
109 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
110 private void ValidateTooltip()
111 {
112 throw null;
113 }
114
115 [global::Cpp2ILInjected.Token(Token = "0x6003BF7")]
116 [global::Cpp2ILInjected.Address(RVA = "0x148C3C0", Offset = "0x148C3C0", Length = "0xC4")]
117 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lang), Member = "InitializeLegacyLocalization", ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x6003BF8")]
127 [global::Cpp2ILInjected.Address(RVA = "0x148C484", Offset = "0x148C484", Length = "0x78")]
128 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Remove", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
130 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
132 {
133 throw null;
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x6003BF9")]
137 [global::Cpp2ILInjected.Address(RVA = "0x148C4FC", Offset = "0x148C4FC", Length = "0x90")]
138 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
141 {
142 typeof(Array),
143 typeof(int),
144 typeof(int)
145 }, ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
147 public static void ClearGlobalProcessors()
148 {
149 throw null;
150 }
151
152 [global::Cpp2ILInjected.Token(Token = "0x6003BFA")]
153 [global::Cpp2ILInjected.Address(RVA = "0x148C58C", Offset = "0x148C58C", Length = "0x80")]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingEntry), Member = "Draw", ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPageOptions), Member = "RefreshLangStrings", ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNAUnityRunner), Member = "ExecuteFrame", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main.<>c", Member = "<ClientInitialize>b__1854_0", MemberParameters = new object[] { typeof(LanguageManager) }, ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
160 public static void InvalidateTooltips()
161 {
162 throw null;
163 }
164
165 // Note: this type is marked as 'beforefieldinit'.
166 [global::Cpp2ILInjected.Token(Token = "0x6003BFB")]
167 [global::Cpp2ILInjected.Address(RVA = "0x148C60C", Offset = "0x148C60C", Length = "0xB0")]
168 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
172 static ItemTooltip()
173 {
174 throw null;
175 }
176
177 [global::Cpp2ILInjected.Token(Token = "0x4007B5B")]
178 public static readonly ItemTooltip None;
179
180 [global::Cpp2ILInjected.Token(Token = "0x4007B5C")]
182
183 [global::Cpp2ILInjected.Token(Token = "0x4007B5D")]
185
186 [global::Cpp2ILInjected.Token(Token = "0x4007B5E")]
187 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
188 private string[] _tooltipLines;
189
190 [global::Cpp2ILInjected.Token(Token = "0x4007B5F")]
191 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
193
194 [global::Cpp2ILInjected.Token(Token = "0x4007B60")]
195 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
197
198 [global::Cpp2ILInjected.Token(Token = "0x4007B61")]
199 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
200 private string _processedText;
201
202 [global::Cpp2ILInjected.Token(Token = "0x4007B62")]
203 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
204 private readonly short _id;
205 }
206}
class f__AnonymousType0<< Count > j__TPar
static readonly List< TooltipProcessor > _globalProcessors
static ulong _globalValidatorKey
static ItemTooltip FromLanguageKey(short id, string key)
static void AddGlobalProcessor(TooltipProcessor processor)
string GetLine(int line)
readonly LocalizedText _text
static void InvalidateTooltips()
static readonly ItemTooltip None
ItemTooltip(short id, string key)
static void ClearGlobalProcessors()
static void RemoveGlobalProcessor(TooltipProcessor processor)
delegate string TooltipProcessor(short tooltipId, string tooltip)