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
GlyphTagHandler.cs
Go to the documentation of this file.
1using System;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000AD9")]
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x60051A6")]
16 [global::Cpp2ILInjected.Address(RVA = "0x931DA8", Offset = "0x931DA8", Length = "0x10C")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "TryParse", MemberParameters = new object[]
20 {
21 typeof(string),
22 typeof(ref int)
23 }, ReturnType = typeof(bool))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GlyphTagHandler.GlyphSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
27 {
28 typeof(string),
29 typeof(string),
30 typeof(string)
31 }, ReturnType = typeof(string))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x60051A7")]
40 [global::Cpp2ILInjected.Address(RVA = "0x931F48", Offset = "0x931F48", Length = "0x98")]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GlyphTagHandler), Member = "GenerateTag", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
45 {
46 typeof(string),
47 typeof(string),
48 typeof(string),
49 typeof(string)
50 }, ReturnType = typeof(string))]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
52 public static string GenerateTag(int index)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x60051A8")]
58 [global::Cpp2ILInjected.Address(RVA = "0x931FE0", Offset = "0x931FE0", Length = "0xB4")]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerInput), Member = "GenerateGlyphList", MemberParameters = new object[] { typeof(List<string>) }, ReturnType = typeof(string))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "TryGetValue", MemberParameters = new object[]
62 {
63 typeof(object),
64 typeof(ref int)
65 }, ReturnType = typeof(bool))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GlyphTagHandler), Member = "GenerateTag", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
68 public static string GenerateTag(string keyname)
69 {
70 throw null;
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x60051A9")]
74 [global::Cpp2ILInjected.Address(RVA = "0x932094", Offset = "0x932094", Length = "0x8")]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
78 {
79 throw null;
80 }
81
82 // Note: this type is marked as 'beforefieldinit'.
83 [global::Cpp2ILInjected.Token(Token = "0x60051AA")]
84 [global::Cpp2ILInjected.Address(RVA = "0x93209C", Offset = "0x93209C", Length = "0x590")]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = ".ctor", ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "ToString", ReturnType = typeof(string))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "Add", MemberParameters = new object[]
89 {
90 typeof(object),
91 typeof(int)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x4008A32")]
100 private const int GlyphsPerLine = 25;
101
102 [global::Cpp2ILInjected.Token(Token = "0x4008A33")]
103 private const int MaxGlyphs = 26;
104
105 [global::Cpp2ILInjected.Token(Token = "0x4008A34")]
106 public static float GlyphsScale;
107
108 [global::Cpp2ILInjected.Token(Token = "0x4008A35")]
110
111 [global::Cpp2ILInjected.Token(Token = "0x2000ADA")]
112 private class GlyphSnippet : TextSnippet
113 {
114 [global::Cpp2ILInjected.Token(Token = "0x60051AB")]
115 [global::Cpp2ILInjected.Address(RVA = "0x931EB4", Offset = "0x931EB4", Length = "0x94")]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GlyphTagHandler), Member = "Terraria.UI.Chat.ITagHandler.Parse", MemberParameters = new object[]
117 {
118 typeof(string),
119 typeof(Color),
120 typeof(string)
121 }, ReturnType = typeof(TextSnippet))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
125 public GlyphSnippet(int index)
126 {
127 throw null;
128 }
129
130 [global::Cpp2ILInjected.Token(Token = "0x60051AC")]
131 [global::Cpp2ILInjected.Address(RVA = "0x93262C", Offset = "0x93262C", Length = "0x32C")]
132 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Inequality", MemberParameters = new object[]
135 {
136 typeof(Color),
138 }, ReturnType = typeof(bool))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Frame", MemberParameters = new object[]
140 {
142 typeof(int),
143 typeof(int),
144 typeof(int),
145 typeof(int),
146 typeof(int),
147 typeof(int)
148 }, ReturnType = typeof(Rectangle))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
151 {
155 typeof(Color),
156 typeof(float),
158 typeof(float),
160 typeof(float)
161 }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
164 {
166 typeof(float)
167 }, ReturnType = typeof(Vector2))]
168 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
169 public override bool UniqueDraw(bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Color color = default(Color), float scale = 1f)
170 {
171 throw null;
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x60051AD")]
175 [global::Cpp2ILInjected.Address(RVA = "0x932958", Offset = "0x932958", Length = "0x60")]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
177 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
178 public override float GetStringLength(SpriteFont font)
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x4008A36")]
184 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
185 private int _glyphIndex;
186 }
187 }
188}
class f__AnonymousType0<< Count > j__TPar
override bool UniqueDraw(bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position=default(Vector2), Color color=default(Color), float scale=1f)
static Dictionary< string, int > GlyphIndexes
static string GenerateTag(string keyname)
TextSnippet Parse(string text, Color baseColor=default(Color), string options=null)