From e475a6a365557503228e0c456a4416b3878d4c08 Mon Sep 17 00:00:00 2001 From: baz Date: Tue, 21 May 2024 22:06:47 +0100 Subject: [PATCH] Create NakatomiSaveFileInfo struct --- Source/Nakatomi/NakatomiSaveFileInfo.h | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Source/Nakatomi/NakatomiSaveFileInfo.h b/Source/Nakatomi/NakatomiSaveFileInfo.h index 1dabcb1..2621e29 100644 --- a/Source/Nakatomi/NakatomiSaveFileInfo.h +++ b/Source/Nakatomi/NakatomiSaveFileInfo.h @@ -3,13 +3,25 @@ #pragma once #include "CoreMinimal.h" +#include "NakatomiSaveFileInfo.generated.h" /** * */ -class NAKATOMI_API NakatomiSaveFileInfo +USTRUCT(BlueprintType) +struct FNakatomiSaveFileInfo { -public: - NakatomiSaveFileInfo(); - ~NakatomiSaveFileInfo(); + GENERATED_BODY() + + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Info") + FString SaveSlotName; + + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Info") + FString PlayerName; + + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Info") + FString CurrentLevel; + + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Info") + FString DateTimeSaved; };