This repository has been archived on 2026-05-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AgrarianGameArchive/Source/AgrarianGame/AgrarianPersistentStateProvider.h
T
2026-05-17 19:09:55 -07:00

28 lines
707 B
C++

// Copyright Pacificao. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "AgrarianPersistentStateProvider.generated.h"
class UAgrarianPersistentActorComponent;
UINTERFACE(BlueprintType)
class UAgrarianPersistentStateProvider : public UInterface
{
GENERATED_BODY()
};
class IAgrarianPersistentStateProvider
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintNativeEvent, Category = "Agrarian|Persistence")
void CapturePersistentState(UAgrarianPersistentActorComponent* PersistentComponent) const;
UFUNCTION(BlueprintNativeEvent, Category = "Agrarian|Persistence")
void ApplyPersistentState(UAgrarianPersistentActorComponent* PersistentComponent);
};