KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
UPopup_HowToPlay.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 "UBasePopup.h"
8#include "UPopup_HowToPlay.generated.h"
9
11DECLARE_DELEGATE(FOnHowToPlayClosedDelegate);
12
16UCLASS()
17class ONEPIECE_API UPopup_HowToPlay : public UBasePopup
18{
19 GENERATED_BODY()
20
21public:
24 void InitPopup(const TArray<EHowToPlayPageType>& InPageTypes);
25
26private:
27 void InitPageScrollView();
28
30 void UpdateNavigationButtons();
31
34 TArray<FHowToPlayPageData> GetPageDataArray() const;
35
37 UFUNCTION()
38 void OnClickClose();
39
41 UFUNCTION()
42 void OnClickPrev();
43
45 UFUNCTION()
46 void OnClickNext();
47
49 UFUNCTION()
50 void OnPageChanged(int32 PrevPage, int32 CurrentPage);
51
52public:
54 FOnHowToPlayClosedDelegate OnClosedDelegate;
55
56protected:
58 UPROPERTY(BlueprintReadOnly, meta = (BindWidget))
59 TObjectPtr<class UPageScrollView> PageScrollView;
60
62 UPROPERTY(meta = (BindWidget))
63 TObjectPtr<class UTextureButton> Btn_Close;
64
66 UPROPERTY(BlueprintReadOnly, meta = (BindWidgetOptional))
67 TObjectPtr<class UTextureButton> Btn_Prev;
68
70 UPROPERTY(BlueprintReadOnly, meta = (BindWidgetOptional))
71 TObjectPtr<class UTextureButton> Btn_Next;
72
73private:
74 TArray<EHowToPlayPageType> PageTypes;
75};
EHowToPlayPageType
HowToPlay 페이지 타입
DECLARE_DELEGATE(FOnHowToPlayClosedDelegate)
팝업 닫힘 이벤트 델리게이트
모든 팝업의 기본 클래스
Definition UBasePopup.h:19
페이지 단위 스크롤 뷰 위젯 드래그 기반 스크롤과 자동 스냅 기능을 제공하는 메인 컨트롤러 위젯입니다.
HowToPlay 팝업 위젯
FOnHowToPlayClosedDelegate OnClosedDelegate
팝업 닫힘 시 호출될 델리게이트
심플한 텍스쳐 기반 버튼 위젯