28 virtual void DeinitializePresenter()
override;
36 void CompleteWeaponHandoff();
38 bool ResolveVideoBounds(FVector2D& Min, FVector2D& Max)
const;
42 UFUNCTION(BlueprintCallable, Category =
"Donation")
43 void NotifyWeaponShapeProgress(
float Progress);
46 UFUNCTION(BlueprintCallable, Category =
"Donation")
47 void NotifyWeaponExit();
51 bool ResolveVideoAxes(FVector2D&
Center, FVector2D&
Right, FVector2D& Down)
const;
52 void CancelDonation();
54 void ReleaseDonationWeapon();
55 void HandleDonationEvent(
const FGameplayEventData* Payload);
58 UPROPERTY(BlueprintAssignable, Category =
"Donation")
59 FOnDonationWeaponExit OnWeaponExit;
61 UPROPERTY(BlueprintAssignable, Category = "Donation")
62 FOnDonationWeaponExit OnDonationCancelled;
70 TWeakObjectPtr<UAbilitySystemComponent> DonationASC;
73 FDelegateHandle DonationEventHandle;
74 FTimerHandle CueTimer;
75 FTimerHandle PostLaunchTimer;
77 bool bPlaying = false;
78 bool bShapeReady = false;
79 bool bAbilityReady = false;
81 bool bWaitingForLaunch = false;
85 UPROPERTY(EditDefaultsOnly, Category = "Donation", meta = (ClampMin = "0.01"))
86 float VideoCueTimeout = 15.0f;
89 UPROPERTY(EditDefaultsOnly, Category = "Donation|Timing", meta = (ClampMin = "0.0", Units = s))
90 float PostLaunchUIOffset = 0.0f;