Added Class data table

Can select class from hud debug button
This commit is contained in:
Kukukakhew
2025-12-01 21:08:15 -05:00
parent 750082411f
commit 863b73bbbf
4 changed files with 29 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -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")
};

View File

@@ -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<int> SegmentList;
};