30 lines
934 B
C++
Executable file
30 lines
934 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Object.h"
|
|
#include "SDCloudFailedDelegate.h"
|
|
#include "SDCloudLoadDelegate.h"
|
|
#include "FSDCloudLoadSave.generated.h"
|
|
|
|
class UFSDCloudSaveHandler;
|
|
|
|
UCLASS(Blueprintable)
|
|
class UFSDCloudLoadSave : public UObject {
|
|
GENERATED_BODY()
|
|
public:
|
|
UPROPERTY(BlueprintAssignable, BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FSDCloudLoad OnCloudLoadAll;
|
|
|
|
UPROPERTY(BlueprintAssignable, BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FSDCloudFailed OnCloudLoadAllFailed;
|
|
|
|
private:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
UFSDCloudSaveHandler* CloudSaveHandler;
|
|
|
|
public:
|
|
UFSDCloudLoadSave();
|
|
UFUNCTION(BlueprintCallable, meta=(WorldContext="WorldContextObject"))
|
|
void StartCloudLoadAll(UObject* WorldContextObject, int32 Index, int32 Offset);
|
|
|
|
};
|
|
|