18 explicit UHealthWidget(
const FObjectInitializer& ObjectInitializer);
21 UFUNCTION(BlueprintCallable)
22 void SetHasShield(
const bool in_bHasShield);
24 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category=
"Health")
25 void UpdateHealth(const
float CurrentHealth, const
float MaxHealth, const class UDamageType* DamageType);
26 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category="
Health")
27 void UpdateHealthAndShield(const
float CurrentHealth, const
float MaxHealth, const
float CurrentShieldHealth, const
float MaxShieldHealth, const class UDamageType* DamageType =
nullptr);
28 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category="
Health")
31 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category="
Health")
34 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="
Health|
General")
35 FVector2D SpacerSize = FVector2D(0.0f, 4.0f);
36 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="
Health|
General")
39 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="
Health|
General")
40 FProgressBarStyle HealthStyle;
41 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="
Health|
General")
42 FProgressBarStyle ShieldStyle;
43 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="
Health|
General")
44 FProgressBarStyle ShieldDamageStyle;
45 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="
Health|
General")
46 FProgressBarStyle HealthDamageStyle;
49 virtual
bool Initialize() override;
50 virtual
void NativePreConstruct() override;
51 virtual
void NativeConstruct() override;
53 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="
Health")
54 class UProgressBar* HealthBar;
55 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="
Health")
56 class UProgressBar* ShieldBar;
57 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="
Health")
58 class UOverlay* ShieldOverlay;
59 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="
Health")
60 class UOverlay* HealthOverlay;
61 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="
Health")
62 class USpacer* Spacer;
65 bool bHasShield = false;
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition HealthData.h:26