diff --git a/Content/ProofOfConcept/ClassHealthSegments.uasset b/Content/ProofOfConcept/ClassHealthSegments.uasset new file mode 100644 index 0000000..e5b46be Binary files /dev/null and b/Content/ProofOfConcept/ClassHealthSegments.uasset differ diff --git a/Content/UI_Hud/HUD_BP.uasset b/Content/UI_Hud/HUD_BP.uasset index 0ac5f3c..5529630 100644 Binary files a/Content/UI_Hud/HUD_BP.uasset and b/Content/UI_Hud/HUD_BP.uasset differ diff --git a/Source/OpenConflict/PlayerCharacter/Components/ClassEnums.h b/Source/OpenConflict/PlayerCharacter/Components/ClassEnums.h new file mode 100644 index 0000000..e9b6ed1 --- /dev/null +++ b/Source/OpenConflict/PlayerCharacter/Components/ClassEnums.h @@ -0,0 +1,13 @@ +#pragma once + +#include "CoreMinimal.h" +#include "ClassEnums.generated.h" + +UENUM(BlueprintType) +enum class ClassNames : uint8 +{ + Basic = 0 UMETA(DisplayName = "Basic"), + Scout = 1 UMETA(DisplayName = "Scout"), + Assault = 2 UMETA(DisplayName = "Assault"), + Heavy = 3 UMETA(DisplayName = "Heavy") +}; \ No newline at end of file diff --git a/Source/OpenConflict/PlayerCharacter/Components/HealthSegmentStruct.h b/Source/OpenConflict/PlayerCharacter/Components/HealthSegmentStruct.h new file mode 100644 index 0000000..72fb3f1 --- /dev/null +++ b/Source/OpenConflict/PlayerCharacter/Components/HealthSegmentStruct.h @@ -0,0 +1,16 @@ +#pragma once +#include "ClassEnums.h" + +#include "HealthSegmentStruct.generated.h" + +USTRUCT(BlueprintType) +struct FHealthSegment : public FTableRowBase +{ + GENERATED_BODY() + + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Health Segments") + ClassNames Class; + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Health Segments") + TArray SegmentList; + +}; \ No newline at end of file