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

◆ LoadSpriteFont()

SpriteFont Microsoft.Xna.Framework.Content.ContentManager.LoadSpriteFont ( string asset)
inlineprivate

Definition at line 319 of file ContentManager.cs.

320 {
321 if (!true)
322 {
323 }
324 byte[] bytes = ContentManager.LoadUnityResource<TextAsset>(asset).bytes;
326 if (!true)
327 {
328 }
329 string text2;
330 string text = asset + "_" + text2;
332 if (texture2D == null || texture2D != null)
333 {
334 long num = 0L;
335 if (asset != null)
336 {
337 }
338 if (num != 0L)
339 {
340 throw new OutOfMemoryException();
341 }
342 if (false)
343 {
344 throw new OutOfMemoryException();
345 }
346 }
347 throw new ArrayTypeMismatchException();
348 }
class f__AnonymousType0<< Count > j__TPar
Microsoft.Xna.Framework.Graphics.Texture2D LoadTexture2D(string asset)
static Encoding Unicode
Definition Encoding.cs:799

References j__TPar, System.L, Microsoft.Xna.Framework.Content.ContentManager.LoadTexture2D(), System.text, and System.Text.Encoding.Unicode.