SaveGame / LevelData / bCanChain
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Data/SV_SaveGame.uasset
Normal file
BIN
Content/Data/SV_SaveGame.uasset
Normal file
Binary file not shown.
@@ -23,6 +23,9 @@ public:
|
|||||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||||
int32 HitsRemaining = 1;
|
int32 HitsRemaining = 1;
|
||||||
|
|
||||||
|
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite)
|
||||||
|
bool CanChain = false;
|
||||||
|
|
||||||
UPROPERTY(BlueprintReadOnly)
|
UPROPERTY(BlueprintReadOnly)
|
||||||
int32 Index = 0;
|
int32 Index = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,11 @@
|
|||||||
#include "CoreMinimal.h"
|
#include "CoreMinimal.h"
|
||||||
#include "FireworkBase.h"
|
#include "FireworkBase.h"
|
||||||
#include "BuildingBlock.h"
|
#include "BuildingBlock.h"
|
||||||
|
#include "LevelTemplate.h"
|
||||||
#include "Engine/Texture.h"
|
#include "Engine/Texture.h"
|
||||||
#include "Engine/World.h"
|
#include "Engine/World.h"
|
||||||
#include "Engine/DataTable.h"
|
#include "Engine/DataTable.h"
|
||||||
|
#include "UObject/SoftObjectPtr.h"
|
||||||
#include "CustomDataTypes.generated.h"
|
#include "CustomDataTypes.generated.h"
|
||||||
|
|
||||||
UENUM(BlueprintType)
|
UENUM(BlueprintType)
|
||||||
@@ -35,6 +37,25 @@ enum Firework
|
|||||||
Lighter UMETA(DisplayName = "Lighter"),
|
Lighter UMETA(DisplayName = "Lighter"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// LevelData
|
||||||
|
USTRUCT(BlueprintType)
|
||||||
|
struct FIREWORKDUELS_API FLevelData
|
||||||
|
{
|
||||||
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||||
|
TSoftClassPtr<ALevelTemplate> LevelTemplateClass;
|
||||||
|
|
||||||
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||||
|
bool IsUnlocked = false;
|
||||||
|
|
||||||
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||||
|
int32 ObtainedStars = 0;
|
||||||
|
|
||||||
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||||
|
float BestTime = 999.f;
|
||||||
|
};
|
||||||
|
|
||||||
// Firework data
|
// Firework data
|
||||||
USTRUCT(BlueprintType)
|
USTRUCT(BlueprintType)
|
||||||
struct FIREWORKDUELS_API FFireworkData : public FTableRowBase
|
struct FIREWORKDUELS_API FFireworkData : public FTableRowBase
|
||||||
@@ -70,24 +91,3 @@ struct FIREWORKDUELS_API FInventory
|
|||||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||||
TArray<FFireworkData> Items;
|
TArray<FFireworkData> Items;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Level Data
|
|
||||||
USTRUCT(BlueprintType)
|
|
||||||
struct FIREWORKDUELS_API FLevelData : public FTableRowBase
|
|
||||||
{
|
|
||||||
GENERATED_BODY()
|
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
||||||
TSoftObjectPtr<UWorld> Level;
|
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
||||||
TSoftObjectPtr<UTexture2D> LevelThumbnail;
|
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
||||||
FText LevelName;
|
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
||||||
FText Description;
|
|
||||||
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user