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 >() [2/2]

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

Definition at line 160 of file ContentManager.cs.

160 : class
161 {
162 IntPtr extra_arg;
163 do
164 {
166 extra_arg = createFunction.extra_arg;
167 global::UnityEngine.Object @object = Resources.Load(asset);
168 IntPtr extra_arg2 = createFunction.extra_arg;
169 IntPtr extra_arg3 = createFunction.extra_arg;
170 if (extra_arg == 0)
171 {
172 return;
173 }
174 }
175 while (extra_arg != 0);
176 throw new InvalidCastException();
177 }
class f__AnonymousType0<< Count > j__TPar
static Thread CurrentThread
Definition Thread.cs:381
static Object Load(string path)
Definition Resources.cs:20

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