DRG-Femboy-Voice/Source/FSD/Public/SaveGameLibrary.h
2025-04-15 12:39:31 -07:00

25 lines
813 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "SaveGameSnapShot.h"
#include "SaveGameLibrary.generated.h"
class UObject;
UCLASS(Blueprintable)
class USaveGameLibrary : public UBlueprintFunctionLibrary {
GENERATED_BODY()
public:
USaveGameLibrary();
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContext"))
static bool TryGetSaveGameSnapShot(UObject* WorldContext, const FString& Filename, int32 userIdx, FSaveGameSnapShot& OutSnapShot);
UFUNCTION(BlueprintCallable, BlueprintPure)
static TMap<FString, FDateTime> GetUserSaveGameSlots(const FString& UserId);
UFUNCTION(BlueprintCallable, BlueprintPure)
static TMap<FString, FDateTime> GetAllSaveGameSlots();
};