Agrarsense
Interactable.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "CoreMinimal.h"
9#include "UObject/Interface.h"
10#include "Interactable.generated.h"
11
12// This class does not need to be modified.
13UINTERFACE(MinimalAPI)
14class UInteractable : public UInterface
15{
16 GENERATED_BODY()
17};
18
22class AGRARSENSE_API IInteractable
23{
24 GENERATED_BODY()
25
26 // Add interface functions to this class. This is the class that will be inherited to implement this interface.
27public:
28 UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category = "Interactable Interface")
29 FText GetInteractableName() const;
30
31
32 UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category = "Interactable Interface")
33 FTransform GetInteractableWorldTransform() const;
34};