KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
ULevelWordGroup.h
이 파일의 문서화 페이지로 가기
1// Copyright (c) 2025 Doppleddiggong. All rights reserved. Unauthorized copying, modification, or distribution of this file, via any medium is strictly prohibited. Proprietary and confidential.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "EWordType.h"
7#include "Blueprint/UserWidget.h"
8#include "ULevelWordGroup.generated.h"
9
14UCLASS()
15class ONEPIECE_API ULevelWordGroup : public UUserWidget
16{
17 GENERATED_BODY()
18
19public:
25 void InitGroup(EWordType InWordType, int32 InCurrentLevel);
26
31 void SetColumnCount(int32 InColumnCount);
32
33protected:
37 void UpdateGroupTitle();
38
42 void PopulateItems();
43
44public:
46 UPROPERTY(meta = (BindWidget))
47 TObjectPtr<class UImage> Image_Symbol;
48
50 UPROPERTY(meta = (BindWidget))
51 TObjectPtr<class UTextBlock> Text_GroupName;
52
54 UPROPERTY(meta = (BindWidget))
55 TObjectPtr<class UUniformGridPanel> UniformGridPanel;
56
57protected:
59 UPROPERTY()
60 EWordType WordType;
61
63 UPROPERTY()
64 int32 CurrentLevel = 1;
65
67 UPROPERTY(EditAnywhere, Category = "LevelWordGroup")
68 int32 ColumnCount = 2;
69
71 UPROPERTY(EditAnywhere, Category = "LevelWordGroup")
72 TSubclassOf<class ULevelWordItem> LevelWordItemClass;
73};
EWordType 클래스를 선언합니다.
EWordType
Definition EWordType.h:9
특정 WordType의 단어 아이템들을 그룹으로 묶어서 표시하는 위젯