mirror of
https://github.com/johndoe6345789/ArenaFPS.git
synced 2026-04-25 06:04:57 +00:00
37 lines
980 B
C++
37 lines
980 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CommonListView.h"
|
|
|
|
#include "LyraListView.generated.h"
|
|
|
|
#define UE_API LYRAGAME_API
|
|
|
|
class UUserWidget;
|
|
class ULocalPlayer;
|
|
class ULyraWidgetFactory;
|
|
|
|
UCLASS(MinimalAPI, meta = (DisableNativeTick))
|
|
class ULyraListView : public UCommonListView
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UE_API ULyraListView(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
|
|
|
|
#if WITH_EDITOR
|
|
UE_API virtual void ValidateCompiledDefaults(IWidgetCompilerLog& InCompileLog) const override;
|
|
#endif
|
|
|
|
protected:
|
|
UE_API virtual UUserWidget& OnGenerateEntryWidgetInternal(UObject* Item, TSubclassOf<UUserWidget> DesiredEntryClass, const TSharedRef<STableViewBase>& OwnerTable) override;
|
|
//virtual bool OnIsSelectableOrNavigableInternal(UObject* SelectedItem) override;
|
|
|
|
protected:
|
|
UPROPERTY(EditAnywhere, Instanced, Category="Entry Creation")
|
|
TArray<TObjectPtr<ULyraWidgetFactory>> FactoryRules;
|
|
};
|
|
|
|
#undef UE_API
|