LEAP Documentation 40220
Documentation for the LEAP project
ObjectInfoInterface.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2021. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/Interface.h"
7#include "ObjectInfoInterface.generated.h"
8
9UINTERFACE(BlueprintType, meta = (CannotImplementInterfaceInBlueprint))
10class UObjectInfoInterface : public UInterface
11{
12 GENERATED_BODY()
13};
14
15class PROJECTX_API IObjectInfoInterface
16{
17 GENERATED_BODY()
18
19public:
20 UFUNCTION(BlueprintCallable, Category = TrackableInterface)
21 virtual const FText& GetObjectName() const { return FText::GetEmpty(); }
22 UFUNCTION(BlueprintCallable, Category = TrackableInterface)
23 virtual const FString GetOwnerName() const { return ""; }
24 UFUNCTION(BlueprintCallable, Category = TrackableInterface)
25 virtual const FText& GetObjectDescription() const { return FText::GetEmpty(); }
26};
Definition: ObjectInfoInterface.h:16
Definition: ObjectInfoInterface.h:11