22 lines
542 B
C
22 lines
542 B
C
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "CoreMinimal.h"
|
||
|
#include "Blueprint/UserWidget.h"
|
||
|
#include "Templates/SubclassOf.h"
|
||
|
#include "UObject/ObjectMacros.h"
|
||
|
|
||
|
#include "LyraWidgetFactory.generated.h"
|
||
|
|
||
|
UCLASS(Abstract, Blueprintable, BlueprintType, EditInlineNew)
|
||
|
class LYRAGAME_API ULyraWidgetFactory : public UObject
|
||
|
{
|
||
|
GENERATED_BODY()
|
||
|
|
||
|
public:
|
||
|
ULyraWidgetFactory() { }
|
||
|
|
||
|
UFUNCTION(BlueprintNativeEvent)
|
||
|
TSubclassOf<UUserWidget> FindWidgetClassForData(const UObject* Data) const;
|
||
|
};
|