2025-02-17 14:46:22 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
2025-03-15 20:17:03 +01:00
|
|
|
#include "Characters/ExoPlayerCharacter.h"
|
2025-02-17 14:46:22 +01:00
|
|
|
#include "UObject/Interface.h"
|
|
|
|
|
#include "Interactable.generated.h"
|
|
|
|
|
|
|
|
|
|
UINTERFACE(MinimalAPI, Blueprintable)
|
|
|
|
|
class UInteractable : public UInterface
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class EXO_API IInteractable
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Interaction")
|
2025-03-15 20:17:03 +01:00
|
|
|
void Interact(AExoPlayerCharacter* playerCharacter);
|
2025-02-17 14:46:22 +01:00
|
|
|
};
|