Persist Ground Zero tile registry baseline
This commit is contained in:
@@ -106,6 +106,27 @@ struct FAgrarianSavedContainer
|
||||
FString OwnerPlayerId;
|
||||
};
|
||||
|
||||
USTRUCT(BlueprintType)
|
||||
struct FAgrarianSavedTileRegistryState
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
|
||||
FName ActiveTileId = TEXT("gz_us_ca_pacifica_utm10n_e544_n4160");
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
|
||||
FString RegistryPath = TEXT("Data/Tiles/ground_zero_tiles.json");
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
|
||||
int32 RegistrySchemaVersion = 1;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
|
||||
int32 GenerationVersion = 1;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
|
||||
int32 PackageVersion = 0;
|
||||
};
|
||||
|
||||
UCLASS()
|
||||
class UAgrarianSaveGame : public USaveGame
|
||||
{
|
||||
@@ -138,4 +159,7 @@ public:
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
|
||||
TArray<FAgrarianSavedContainer> Containers;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
|
||||
FAgrarianSavedTileRegistryState TileRegistry;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user