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

◆ ConstructFromUnityResources< ResourceType >() [1/2]

static ResourceType Microsoft.Xna.Framework.Content.ContentManager.ConstructFromUnityResources< ResourceType > ( string asset,
string asset2,
string asset3,
ThreadContentRequest::ObjectCreate3 createFunction )
inlinestatic
Type Constraints
ResourceType :class 

Definition at line 180 of file ContentManager.cs.

180 : class
181 {
182 IntPtr extra_arg;
183 do
184 {
186 extra_arg = createFunction.extra_arg;
187 global::UnityEngine.Object @object = Resources.Load(asset);
188 global::UnityEngine.Object object2 = Resources.Load(asset2);
189 IntPtr extra_arg2 = createFunction.extra_arg;
190 IntPtr extra_arg3 = createFunction.extra_arg;
191 if (extra_arg == 0)
192 {
193 return;
194 }
195 }
196 while (extra_arg != 0);
197 throw new InvalidCastException();
198 }
class f__AnonymousType0<< Count > j__TPar
static Thread CurrentThread
Definition Thread.cs:381
static Object Load(string path)
Definition Resources.cs:20

References UnityEngine.Object.Object(), System.Threading.Thread.CurrentThread, j__TPar, and UnityEngine.Resources.Load().