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

◆ MeasureMaxString()

void Microsoft.Xna.Framework.Graphics.SpriteFont.MeasureMaxString ( SpriteFont::CharacterSource text,
[Out] int lastCharacter,
float maxWidth,
float scale )
inlinepackage

Definition at line 199 of file SpriteFont.cs.

200 {
201 int length = text.Length;
202 if (length == 0)
203 {
204 int num;
206 return;
207 }
208 int num2 = this.<LineSpacing>k__BackingField;
209 if (length == 0)
210 {
211 }
212 if (!true)
213 {
214 }
215 SpriteFont.Glyph[] glyphs = this._glyphs;
216 if (glyphs != null && glyphs.Cropping.Y != 0)
217 {
218 return;
219 }
220 int length2 = text.Length;
221 long num3 = 0L;
222 char c = text[(int)num3];
223 int num4 = this.<LineSpacing>k__BackingField;
224 }
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.