32 lines
911 B
C++
Executable file
32 lines
911 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "Engine/DataAsset.h"
|
|
#include "SaveGameIDInterface.h"
|
|
#include "SavableDataAsset.generated.h"
|
|
|
|
class UBuildRestriction;
|
|
|
|
UCLASS(Blueprintable)
|
|
class USavableDataAsset : public UDataAsset, public ISaveGameIDInterface {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(AdvancedDisplay, BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
bool EnableDangerousSaveGameIDEditing;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FGuid SavegameID;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
UBuildRestriction* BuildRestriction;
|
|
|
|
public:
|
|
USavableDataAsset();
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
FGuid GetSavegameID() const;
|
|
|
|
|
|
// Fix for true pure virtual functions not being implemented
|
|
};
|
|
|