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
TileFont.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20004E9")]
11 public class TileFont
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x600307A")]
14 [global::Cpp2ILInjected.Address(RVA = "0x12FC80C", Offset = "0x12FC80C", Length = "0x144")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileFont), Member = "HLineLabel", MemberParameters = new object[]
17 {
19 typeof(int),
20 typeof(string),
22 typeof(bool)
23 }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileFont), Member = "VLineLabel", MemberParameters = new object[]
25 {
27 typeof(int),
28 typeof(string),
30 typeof(bool)
31 }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<char, object>), Member = "TryGetValue", MemberParameters = new object[]
35 {
36 typeof(char),
37 typeof(ref object)
38 }, ReturnType = typeof(bool))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileFont), Member = "DrawChar", MemberParameters = new object[]
40 {
42 typeof(byte[]),
44 }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
46 public static void DrawString(Point start, string text, TileFont.DrawMode mode)
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x600307B")]
52 [global::Cpp2ILInjected.Address(RVA = "0x12FC950", Offset = "0x12FC950", Length = "0x1E8")]
53 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileFont), Member = "DrawString", MemberParameters = new object[]
55 {
57 typeof(string),
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
62 {
63 typeof(int),
64 typeof(int)
65 }, ReturnType = typeof(Tile))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "ResetToType", MemberParameters = new object[] { typeof(ushort) }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "TileFrame", MemberParameters = new object[]
68 {
69 typeof(int),
70 typeof(int),
71 typeof(bool),
72 typeof(bool)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
75 private static void DrawChar(Point position, byte[] charData, TileFont.DrawMode mode)
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x600307C")]
81 [global::Cpp2ILInjected.Address(RVA = "0x12FCB38", Offset = "0x12FCB38", Length = "0x1C8")]
82 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileFont), Member = "HLineLabel", MemberParameters = new object[]
84 {
86 typeof(int),
87 typeof(string),
89 typeof(bool)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileFont), Member = "VLineLabel", MemberParameters = new object[]
92 {
94 typeof(int),
95 typeof(string),
96 typeof(TileFont.DrawMode),
97 typeof(bool)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
101 {
102 typeof(int),
103 typeof(int)
104 }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<char, object>), Member = "TryGetValue", MemberParameters = new object[]
107 {
108 typeof(char),
109 typeof(ref object)
110 }, ReturnType = typeof(bool))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
112 {
113 typeof(int),
114 typeof(int)
115 }, ReturnType = typeof(int))]
116 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
117 public static Point MeasureString(string text)
118 {
119 throw null;
120 }
121
122 [global::Cpp2ILInjected.Token(Token = "0x600307D")]
123 [global::Cpp2ILInjected.Address(RVA = "0x12FCD00", Offset = "0x12FCD00", Length = "0x1A8")]
124 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Point))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
128 {
129 typeof(int),
130 typeof(int)
131 }, ReturnType = typeof(Tile))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "ResetToType", MemberParameters = new object[] { typeof(ushort) }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "TileFrame", MemberParameters = new object[]
134 {
135 typeof(int),
136 typeof(int),
137 typeof(bool),
138 typeof(bool)
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
141 {
142 typeof(int),
143 typeof(int)
144 }, ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileFont), Member = "DrawString", MemberParameters = new object[]
146 {
147 typeof(Point),
148 typeof(string),
149 typeof(TileFont.DrawMode)
150 }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
152 public static void HLineLabel(Point start, int width, string text, TileFont.DrawMode mode, bool rightSideText = false)
153 {
154 throw null;
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x600307E")]
158 [global::Cpp2ILInjected.Address(RVA = "0x12FCEA8", Offset = "0x12FCEA8", Length = "0x1A8")]
159 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
160 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Point))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
163 {
164 typeof(int),
165 typeof(int)
166 }, ReturnType = typeof(Tile))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "ResetToType", MemberParameters = new object[] { typeof(ushort) }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "TileFrame", MemberParameters = new object[]
169 {
170 typeof(int),
171 typeof(int),
172 typeof(bool),
173 typeof(bool)
174 }, ReturnType = typeof(void))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
176 {
177 typeof(int),
178 typeof(int)
179 }, ReturnType = typeof(void))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileFont), Member = "DrawString", MemberParameters = new object[]
181 {
182 typeof(Point),
183 typeof(string),
184 typeof(TileFont.DrawMode)
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
187 public static void VLineLabel(Point start, int height, string text, TileFont.DrawMode mode, bool bottomText = false)
188 {
189 throw null;
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x600307F")]
193 [global::Cpp2ILInjected.Address(RVA = "0x12FD050", Offset = "0x12FD050", Length = "0x8")]
194 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
196 public TileFont()
197 {
198 throw null;
199 }
200
201 // Note: this type is marked as 'beforefieldinit'.
202 [global::Cpp2ILInjected.Token(Token = "0x6003080")]
203 [global::Cpp2ILInjected.Address(RVA = "0x12FD058", Offset = "0x12FD058", Length = "0x118C")]
204 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<char, object>), Member = ".ctor", ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
207 {
208 typeof(Array),
210 }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<char, object>), Member = "Add", MemberParameters = new object[]
212 {
213 typeof(char),
214 typeof(object)
215 }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 132)]
217 static TileFont()
218 {
219 throw null;
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x4003A8F")]
224
225 [global::Cpp2ILInjected.Token(Token = "0x20004EA")]
226 public struct DrawMode
227 {
228 [global::Cpp2ILInjected.Token(Token = "0x6003081")]
229 [global::Cpp2ILInjected.Address(RVA = "0x12FE1E4", Offset = "0x12FE1E4", Length = "0x10")]
230 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
231 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
233 {
234 throw null;
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x6003082")]
238 [global::Cpp2ILInjected.Address(RVA = "0x12FE1F4", Offset = "0x12FE1F4", Length = "0x14")]
239 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
240 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
242 {
243 throw null;
244 }
245
246 [global::Cpp2ILInjected.Token(Token = "0x4003A90")]
247 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
249
250 [global::Cpp2ILInjected.Token(Token = "0x4003A91")]
251 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2")]
253
254 [global::Cpp2ILInjected.Token(Token = "0x4003A92")]
255 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
257 }
258 }
259}
class f__AnonymousType0<< Count > j__TPar
static Point MeasureString(string text)
Definition TileFont.cs:117
static void DrawChar(Point position, byte[] charData, TileFont.DrawMode mode)
Definition TileFont.cs:75
static void DrawString(Point start, string text, TileFont.DrawMode mode)
Definition TileFont.cs:46
static readonly Dictionary< char, byte[]> MicroFont
Definition TileFont.cs:223
static void VLineLabel(Point start, int height, string text, TileFont.DrawMode mode, bool bottomText=false)
Definition TileFont.cs:187
static void HLineLabel(Point start, int width, string text, TileFont.DrawMode mode, bool rightSideText=false)
Definition TileFont.cs:152
DrawMode(ushort foregroundTile, ushort backgroundTile)
Definition TileFont.cs:241