KLingo Project Documentation
1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
StartWidget.cpp
이 파일의 문서화 페이지로 가기
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
4
#include "
StartWidget.h
"
5
6
#include "
UHoverButton.h
"
7
#include "
UPopupManager.h
"
8
#include "
UPopup_InputMsg.h
"
9
#include "
ULingoGameHelper.h
"
10
11
void
UStartWidget::NativeConstruct
()
12
{
13
Super::NativeConstruct();
14
15
// 마우스 커서 표시
16
ULingoGameHelper::ShowMouseCursor
(
this
);
17
18
if
(
HoverBtn_Start
)
19
{
20
HoverBtn_Start
->
OnButtonClickedEvent
.AddDynamic(
this
, &
UStartWidget::OnStartPressed
);
21
}
22
23
if
(
HoverBtn_Regist
)
24
{
25
HoverBtn_Regist
->
OnButtonClickedEvent
.AddDynamic(
this
, &
UStartWidget::OnRegistPressed
);
26
}
27
}
28
29
void
UStartWidget::OnStartPressed
()
30
{
31
if
(
auto
Popup = UPopupManager::ShowPopupAs<UPopup_InputMsg>(GetWorld(), EPopupType::Login))
32
{
33
Popup->InitPopup(EPopupType::Login);
34
}
35
}
36
37
void
UStartWidget::OnRegistPressed
()
38
{
39
if
(
auto
Popup = UPopupManager::ShowPopupAs<UPopup_InputMsg>(GetWorld(), EPopupType::Register))
40
{
41
Popup->InitPopup(EPopupType::Register);
42
}
43
}
StartWidget.h
UHoverButton.h
ULingoGameHelper.h
UPopupManager.h
UPopup_InputMsg.h
UHoverButton::OnButtonClickedEvent
FOnHoverButtonClickedEvent OnButtonClickedEvent
Definition
UHoverButton.h:45
ULingoGameHelper::ShowMouseCursor
static void ShowMouseCursor(const UObject *WorldContextObject)
마우스 커서를 표시하고 게임+UI 입력 모드로 설정합니다.
Definition
ULingoGameHelper.cpp:221
UStartWidget::HoverBtn_Regist
class UHoverButton * HoverBtn_Regist
Definition
StartWidget.h:26
UStartWidget::OnRegistPressed
void OnRegistPressed()
Definition
StartWidget.cpp:37
UStartWidget::NativeConstruct
virtual void NativeConstruct() override
Definition
StartWidget.cpp:11
UStartWidget::HoverBtn_Start
class UHoverButton * HoverBtn_Start
Definition
StartWidget.h:23
UStartWidget::OnStartPressed
void OnStartPressed()
Definition
StartWidget.cpp:29
Source
Onepiece
UI
Private
StartWidget.cpp
생성시간 : 금 1월 9 2026 00:25:57, 프로젝트명 : KLingo Project Documentation, 생성자 :
1.9.8