internal static unsafe void Invoke(AnimInstance AnimInstance, bool bUnlockMovement, bool UnlockAILogic) { long *p = stackalloc long[] { 0L, 0L, 0L }; byte *b = (byte *)p; *((IntPtr *)(b + 0)) = AnimInstance; *((bool *)(b + 8)) = bUnlockMovement; *((bool *)(b + 9)) = UnlockAILogic; Main.GetProcessEvent(AIBlueprintHelperLibrary.DefaultObject, UnlockAIResourcesWithAnimation_ptr, new IntPtr(p));; } }
///<summary>unlocks indicated AI resources of animated pawn. Will unlock only animation-locked resources</summary> public static void UnlockAIResourcesWithAnimation(AnimInstance AnimInstance, bool bUnlockMovement, bool UnlockAILogic) => AIBlueprintHelperLibrary_methods.UnlockAIResourcesWithAnimation_method.Invoke(AnimInstance, bUnlockMovement, UnlockAILogic);