50 UFUNCTION(BlueprintCallable, Category =
"UI|Toast")
51 bool ShowToastByID(
const int32 ToastID,
const bool bApplyImmediately =
false);
53 UFUNCTION(BlueprintCallable, Category =
"UI|Toast")
54 bool ShowToastByRowName(
const FName ToastRowName,
const bool bApplyImmediately =
false);
56 UFUNCTION(BlueprintCallable, Category =
"UI|Toast")
59 UFUNCTION(BlueprintCallable, Category =
"UI|Toast")
60 void SetToastDataTable(UDataTable* InToastDataTable);
62 UFUNCTION(BlueprintPure, Category =
"UI|Toast")
63 UDataTable* GetToastDataTable()
const;
66 virtual void NativeDestruct()
override;
69 bool CanAddToastWidget()
const;
71 void ProcessPendingToastQueue();
75 void RequestOldestToastExit();
76 void StartToastDurationTimer(
UToastWidgetBase* ToastWidget,
const float ToastDuration);
84 int32 FindActiveToastIndexByGroupID(
const int32 GroupID)
const;
85 UDataTable* ResolveToastDataTable();
88 UFUNCTION(BlueprintImplementableEvent, Category =
"UI|Toast")
92 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "
UI|Toast")
95 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "
UI|Toast", meta = (ClampMin = "1"))
96 int32 MaxStackCount = 3;
98 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "
UI|Toast")
99 TObjectPtr<UDataTable> CachedToastDataTable;
101 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "
UI|Toast", meta = (BindWidget))
102 TObjectPtr<UStackBox> ToastMessageStack;
111 int32 ExitingToastCount = 0;