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

31 lines
807 B
C++

// Copyright Pacificao. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "AgrarianInteractable.generated.h"
class AAgrarianGameCharacter;
UINTERFACE(BlueprintType)
class UAgrarianInteractable : public UInterface
{
GENERATED_BODY()
};
class IAgrarianInteractable
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Agrarian|Interaction")
FText GetInteractionText(const AAgrarianGameCharacter* Interactor) const;
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Agrarian|Interaction")
bool CanInteract(const AAgrarianGameCharacter* Interactor) const;
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Agrarian|Interaction")
void Interact(AAgrarianGameCharacter* Interactor);
};