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

◆ Load< T1 >()

T1 Microsoft.Xna.Framework.Content.ContentManager.Load< T1 > ( string A_1)
inlinepackage
Type Constraints
T1 :class 

Definition at line 38 of file ContentManager.cs.

38 : class
39 {
41 do
42 {
43 string text = Path.Combine("Content", A_1).Replace("\\", "/");
44 Type type;
45 Type type2;
46 bool flag = type == type2;
47 object obj = Convert.ChangeType(this.LoadTexture2D(text), type);
48 Type type3;
49 bool flag2 = type == type3;
50 bool flag3 = text == "Content/TileShader";
52 Type type4;
53 bool flag4 = type == type4;
55 Type type5;
56 bool flag5 = type == type5;
57 bool flag6 = text == "Content/ScreenShader";
60 if (effect4 == null)
61 {
62 return;
63 }
64 }
65 while (effect4 != null);
66 throw new InvalidCastException();
67 }
class f__AnonymousType0<< Count > j__TPar
Microsoft.Xna.Framework.Graphics.Texture2D LoadTexture2D(string asset)
static object ChangeType(object value, TypeCode typeCode, IFormatProvider provider)
Definition Convert.cs:73
static string Combine(string path1, string path2)
Definition Path.cs:41

References System.Convert.ChangeType(), System.IO.Path.Combine(), Microsoft.Xna.Framework.Graphics.PixelShader.Effect, Microsoft.Xna.Framework.Graphics.ScreenShader.Effect, Microsoft.Xna.Framework.Graphics.SpriteEffect.Effect, Microsoft.Xna.Framework.Graphics.TileShader.Effect, j__TPar, Microsoft.Xna.Framework.Content.ContentManager.LoadTexture2D(), System.obj, and System.text.