5#include "CoreMinimal.h"
7#include "HUDBasicUserWidget.generated.h"
18 virtual bool ToggleHUDWidget(
bool bToggle);
19 UFUNCTION(BlueprintCallable, Category =
"HUD Widget")
20 bool CanBeHidden()
const;
21 UFUNCTION(BlueprintCallable, Category =
"HUD Widget")
22 FORCEINLINE
bool CanBeDestroyed()
const {
return bCanBeDestroyed; }
24 UFUNCTION(BlueprintCallable, Category =
"HUD Widget", meta = (WorldContext =
"WorldContextObject", CallableWithoutWorldContext))
25 void AddHUDBasicUserWidgetToWidgetList();
26 UFUNCTION(BlueprintCallable, Category =
"HUD Widget", meta = (WorldContext =
"WorldContextObject", CallableWithoutWorldContext))
27 void RemoveHUDBasicUserWidgetFromWidgetList();
28 UFUNCTION(BlueprintImplementableEvent)
29 void AddChildWidget(UUserWidget* ChildWidget);
33 UPROPERTY(EditDefaultsOnly, Category = "HUD Widget")
34 bool bCanBeDestroyed = true;
36 UPROPERTY(EditDefaultsOnly, Category = "HUD Widget")
37 bool bCanBeHidden = true;
39 UPROPERTY(EditDefaultsOnly, Category = "HUD Widget")
40 bool bUseVisibilityCount = false;
44 int VisibilityCount = 0;