28 lines
650 B
C++
Executable file
28 lines
650 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Interface.h"
|
|
#include "Templates/SubclassOf.h"
|
|
#include "BossFightInterface.generated.h"
|
|
|
|
class AActor;
|
|
class UBossFightWidget;
|
|
|
|
UINTERFACE(Blueprintable)
|
|
class UBossFightInterface : public UInterface {
|
|
GENERATED_BODY()
|
|
};
|
|
|
|
class IBossFightInterface : public IInterface {
|
|
GENERATED_BODY()
|
|
public:
|
|
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
|
|
bool IsStillValid();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
|
|
TSubclassOf<UBossFightWidget> GetWidgetClass();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
|
|
AActor* GetBossActor();
|
|
|
|
};
|
|
|