添加属性存档
This commit is contained in:
parent
4c07e0601d
commit
c340c59eab
@ -0,0 +1,4 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
|
||||
#include "PlayerInfoSaveGame.h"
|
||||
32
ProjectFish/Source/ProjectFish/Data/PlayerInfoSaveGame.h
Normal file
32
ProjectFish/Source/ProjectFish/Data/PlayerInfoSaveGame.h
Normal file
@ -0,0 +1,32 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/SaveGame.h"
|
||||
#include "ProjectFish/Definations.h"
|
||||
#include "PlayerInfoSaveGame.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class PROJECTFISH_API UPlayerInfoSaveGame : public USaveGame
|
||||
{
|
||||
GENERATED_BODY()
|
||||
public:
|
||||
UPROPERTY(BlueprintReadWrite, meta = (ToolTip = "船只资源"))
|
||||
FPrimaryAssetId ShipAssetID;
|
||||
UPROPERTY(BlueprintReadWrite, meta = (ToolTip = "船只等级"))
|
||||
int32 ShipLevel;
|
||||
UPROPERTY(BlueprintReadWrite, meta = (ToolTip = "船舱信息"))
|
||||
FContainerInfo ShipContainer;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, meta = (ToolTip = "仓库资源"))
|
||||
FPrimaryAssetId PlayerContainerAssetID;
|
||||
UPROPERTY(BlueprintReadWrite, meta = (ToolTip = "仓库等级"))
|
||||
int32 PlayerContainerLevel;
|
||||
UPROPERTY(BlueprintReadWrite, meta = (ToolTip = "玩家仓库信息"))
|
||||
FContainerInfo PlayerContainer;
|
||||
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user