Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
ConstellationListPanelWidget.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UI/UserWidgetBase.h"
8#include "ConstellationListPanelWidget.generated.h"
9
12class UUniformGridPanel;
13
18UCLASS()
20{
21 GENERATED_BODY()
22
23protected:
24 virtual void NativeConstruct() override;
25 virtual void NativeDestruct() override;
26
27protected:
28 void HandleConstellationRegistered(UConstellationBase* Constellation);
29
30 UConstellationEntryWidget* FindEntry(const UConstellationBase* Constellation) const;
31
32protected:
33 UPROPERTY(BlueprintReadOnly, Category = "UI|Constellation", meta = (BindWidget))
34 TObjectPtr<UUniformGridPanel> ConstellationGrid;
35
36 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI|Constellation")
37 TSubclassOf<UConstellationEntryWidget> EntryClass;
38
39 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI|Constellation", meta = (ClampMin = "1"))
40 int32 ColumnCount = 3; // 한 행에 들어가는 칸 수.
41
42
43
44private:
45 UPROPERTY(Transient)
46 TArray<TObjectPtr<UConstellationEntryWidget>> Entries;
47};
Definition ConstellationBase.h:35
Definition ConstellationEntryWidget.h:21
Definition ConstellationListPanelWidget.h:20
Definition PopupWidgetBase.h:25