internal static unsafe IReadOnlyCollection <UObject> Invoke(IntPtr obj, AutomatedAssetImportData ImportData) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((IntPtr *)(b + 0)) = ImportData; Main.GetProcessEvent(obj, ImportAssetsAutomated_ptr, new IntPtr(p));; //TODO: array TArray ReturnValue return(UObject.ToUObjectCollection <UObject>(b + 8)); } }
///<summary>Imports assets using data specified completely up front.</summary> ///<remarks> ///Does not ever ask any questions of the user or show any modal error messages /// ///@param AutomatedImportData Data that specifies how to import each file ///@return list of successfully imported assets ///</remarks> public IReadOnlyCollection <UObject> ImportAssetsAutomated(AutomatedAssetImportData ImportData) => AssetTools_methods.ImportAssetsAutomated_method.Invoke(ObjPointer, ImportData);