5#include "CoreMinimal.h"
7#include "HealthBarWidgetComponent.generated.h"
9UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent) )
10class HEALTH_API UHealthBarWidgetComponent :
public UScreenFacingWidgetComponent
15 UHealthBarWidgetComponent();
17 virtual
void BeginPlay() override;
20 UFUNCTION(BlueprintCallable)
21 void SetHasShield(const
bool in_bHasShield);
22 UFUNCTION(BlueprintCallable)
23 void UpdateHealth(const
float CurrentHealth, const
float MaxHealth, const class UDamageType* DamageType);
24 UFUNCTION(BlueprintCallable)
25 void UpdateHeathAndShield(const
float CurrentHealth, const
float MaxHealth, const
float CurrentShield, const
float MaxShield, const class UDamageType* DamageType);
27 void SetCollapsedAfterDamage();
28 void SetCollapsedAfterFocus();
30 UFUNCTION(BlueprintCallable)
35 virtual
void OnComponentDestroyed(
bool bDestroyingHierarchy) override;
37 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="
Health")
38 float FocusTimeCollapsedDelay = 3.0f;
39 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="
Health")
40 float DamageCollapsedDelay = 10.0f;
49 FTimerHandle FocusTimerHandle;
50 FTimerHandle DamagedTimerHandle;
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition Health.Build.cs:6