32 lines
628 B
C++
32 lines
628 B
C++
// © 2025 Naked People Team. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/SaveGame.h"
|
|
#include "GlobalSaveGameData.generated.h"
|
|
|
|
class UClothingList;
|
|
|
|
UCLASS()
|
|
class NAKEDDESIRE_API UGlobalSaveGameData : public USaveGame
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UPROPERTY(BlueprintReadWrite, SaveGame)
|
|
bool HaveSeenTutorial = false;
|
|
|
|
UPROPERTY(BlueprintReadWrite, SaveGame)
|
|
float Money = 0;
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
static UGlobalSaveGameData* LoadOrCreateSaveGame();
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
static bool SaveGame();
|
|
|
|
private:
|
|
static UGlobalSaveGameData* CreateNewSaveGame();
|
|
};
|