Save MVP player identity metadata

This commit is contained in:
2026-05-18 19:10:44 -07:00
parent a23f886cfa
commit 1e0d326657
5 changed files with 105 additions and 1 deletions
+24
View File
@@ -7,6 +7,27 @@
#include "AgrarianTypes.h"
#include "AgrarianSaveGame.generated.h"
USTRUCT(BlueprintType)
struct FAgrarianSavedPlayerIdentity
{
GENERATED_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
FString StablePlayerId;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
FString PlayerName;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
FString NetworkId;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
bool bUsedNetworkId = false;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
FString LastKnownPawnName;
};
USTRUCT(BlueprintType)
struct FAgrarianSavedPlayer
{
@@ -15,6 +36,9 @@ struct FAgrarianSavedPlayer
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
FString PlayerId;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
FAgrarianSavedPlayerIdentity Identity;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Save")
FTransform Transform;