internal static unsafe AsyncActionLoadPrimaryAssetClass Invoke(UObject WorldContextObject, PrimaryAssetId PrimaryAsset, byte LoadBundles /*TODO: array TArray */) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((IntPtr *)(b + 0)) = WorldContextObject; *((PrimaryAssetId *)(b + 8)) = PrimaryAsset; throw new NotImplementedException(); //TODO: array TArray LoadBundles Main.GetProcessEvent(AsyncActionLoadPrimaryAssetClass.DefaultObject, AsyncLoadPrimaryAssetClass_ptr, new IntPtr(p));; //TODO: array TArray LoadBundles return(*((IntPtr *)(b + 48))); } }
///<summary>Load a primary asset class into memory.</summary> ///<remarks> ///The completed delegate will go off when the load succeeds or fails, you should cast the Loaded class to verify it is the correct type ///If LoadBundles is specified, those bundles are loaded along with the asset ///</remarks> public static AsyncActionLoadPrimaryAssetClass AsyncLoadPrimaryAssetClass(UObject WorldContextObject, PrimaryAssetId PrimaryAsset, byte LoadBundles /*TODO: array TArray */) => AsyncActionLoadPrimaryAssetClass_methods.AsyncLoadPrimaryAssetClass_method.Invoke(WorldContextObject, PrimaryAsset, LoadBundles);