// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CommonListView.h" #include "Components/ListView.h" #include "LyraListView.generated.h" class UUserWidget; class ULocalPlayer; class ULyraWidgetFactory; UCLASS(meta = (DisableNativeTick)) class LYRAGAME_API ULyraListView : public UCommonListView { GENERATED_BODY() public: ULyraListView(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get()); #if WITH_EDITOR virtual void ValidateCompiledDefaults(IWidgetCompilerLog& InCompileLog) const override; #endif protected: virtual UUserWidget& OnGenerateEntryWidgetInternal(UObject* Item, TSubclassOf DesiredEntryClass, const TSharedRef& OwnerTable) override; //virtual bool OnIsSelectableOrNavigableInternal(UObject* SelectedItem) override; protected: UPROPERTY(EditAnywhere, Instanced, Category="Entry Creation") TArray> FactoryRules; };