terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ MeasureString() [1/5]

void Microsoft.Xna.Framework.Graphics.SpriteFont.MeasureString ( SpriteFont::CharacterSource text,
[Out] Vector2 size )
inlinepackage

Definition at line 227 of file SpriteFont.cs.

228 {
229 int length;
230 for (;;)
231 {
232 length = text.Length;
233 if (length != 0)
234 {
235 break;
236 }
237 int num;
238 if (num == 0)
239 {
240 }
241 if (num == 0)
242 {
243 goto Block_3;
244 }
245 }
246 int num2 = this.<LineSpacing>k__BackingField;
247 if (length == 0)
248 {
249 }
250 if (!true)
251 {
252 }
253 SpriteFont.Glyph[] glyphs = this._glyphs;
254 if (glyphs != null && glyphs.Cropping.Y != 0)
255 {
256 return;
257 }
258 int length2 = text.Length;
259 long num3 = 0L;
260 char c = text[(int)num3];
261 int num4 = this.<LineSpacing>k__BackingField;
262 int length3 = text.Length;
263 return;
264 Block_3:
265 if (!true)
266 {
267 }
268 }
class f__AnonymousType0<< Count > j__TPar
readonly SpriteFont.Glyph[] _glyphs

References Microsoft.Xna.Framework.Graphics.SpriteFont._glyphs, j__TPar, Microsoft.Xna.Framework.Graphics.SpriteFont.k__BackingField, System.L, System.length, Microsoft.Xna.Framework.Graphics.SpriteFont.LineSpacing, and System.text.