31 lines
686 B
C++
31 lines
686 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/Interface.h"
|
|
|
|
#include "IActorIndicatorWidget.generated.h"
|
|
|
|
class AActor;
|
|
class UIndicatorDescriptor;
|
|
|
|
UINTERFACE(BlueprintType)
|
|
class LYRAGAME_API UIndicatorWidgetInterface : public UInterface
|
|
{
|
|
GENERATED_BODY()
|
|
};
|
|
|
|
class IIndicatorWidgetInterface
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UFUNCTION(BlueprintNativeEvent, Category = "Indicator")
|
|
void BindIndicator(UIndicatorDescriptor* Indicator);
|
|
|
|
UFUNCTION(BlueprintNativeEvent, Category = "Indicator")
|
|
void UnbindIndicator(const UIndicatorDescriptor* Indicator);
|
|
};
|