KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
UPopup_InputMsg.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 "NetworkData.h"
7#include "UBasePopup.h"
8#include "UPopupManager.h"
9#include "Blueprint/UserWidget.h"
10#include "UPopup_InputMsg.generated.h"
11
12UCLASS()
13class ONEPIECE_API UPopup_InputMsg : public UBasePopup
14{
15 GENERATED_BODY()
16
17protected:
18 virtual void NativeConstruct() override;
19
20private:
21 void SetTitle(const FString& InTitle);
22 void SetDesc(const FString& InDescription);
23
24 UFUNCTION()
25 void OnClickOk();
26
27 UFUNCTION()
28 void OnClickCancel();
29
30public:
31 UPROPERTY(meta = (BindWidget))
32 class UTextBlock* Txt_Title;
33
34 UPROPERTY(meta = (BindWidget))
35 class UTextBlock* Txt_Desc;
36
37 UPROPERTY(meta = (BindWidget))
38 class UTextureButton* Btn_Close;
39
40 UPROPERTY(meta = (BindWidget))
41 class UImageButton* Btn_Ok;
42
43 UPROPERTY(meta = (BindWidget))
44 class UImageButton* Btn_Cancel;
45
46public:
47 void InitPopup( const EPopupType PopupType );
48
49private:
50 void RequestUserRegister(const FString& UserInput);
51 void OnResponseUserRegister(FResponseUserRegister& ResponseData, bool bWasSuccessful);
52
53 void RequestUserToken(const FString& UserInput);
54 void OnResponseUserToken(FResponseUserToken& ResponseData, bool bWasSuccessful);
55
56 void RequestUserMe();
57 void OnResponseUserMe(FResponseUserMe& ResponseData, bool bWasSuccessful);
58
59public:
60 UPROPERTY(meta = (BindWidget))
61 class UEditableTextBox* Edit_Name;
62};
EPopupType
팝업 타입 정의
Definition EPopupType.h:14
네트워크 요청과 응답에 사용되는 구조체 및 설정을 정의합니다.
모든 팝업의 기본 클래스
Definition UBasePopup.h:19
UImageButton
심플한 텍스쳐 기반 버튼 위젯