// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Containers/Map.h" #include "LyraWidgetFactory.h" #include "Templates/SubclassOf.h" #include "UObject/SoftObjectPtr.h" #include "UObject/UObjectGlobals.h" #include "LyraWidgetFactory_Class.generated.h" class UObject; class UUserWidget; UCLASS() class LYRAGAME_API ULyraWidgetFactory_Class : public ULyraWidgetFactory { GENERATED_BODY() public: ULyraWidgetFactory_Class() { } virtual TSubclassOf FindWidgetClassForData_Implementation(const UObject* Data) const override; protected: UPROPERTY(EditAnywhere, Category = ListEntries, meta = (AllowAbstract)) TMap, TSubclassOf> EntryWidgetForClass; };