KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
USessionInfoWidget 클래스 참조

#include <SessionInfoWidget.h>

+ USessionInfoWidget에 대한 상속 다이어그램 :
+ USessionInfoWidget에 대한 협력 다이어그램:

Public 멤버 함수

void OnClickJoin ()
 
void SetSessionInfo (int32 idx, FString sessionName)
 

Public 속성

class UHoverButtonBtn_Join
 
int32 sessionIdx
 
class UTextBlock * Txt_SessionName
 

Protected 멤버 함수

virtual void NativeConstruct () override
 

상세한 설명

SessionInfoWidget.h 파일의 13 번째 라인에서 정의되었습니다.

멤버 함수 문서화

◆ NativeConstruct()

void USessionInfoWidget::NativeConstruct ( )
overrideprotectedvirtual

SessionInfoWidget.cpp 파일의 12 번째 라인에서 정의되었습니다.

13{
14 Super::NativeConstruct();
15
16 // 중복 바인딩 방지
17 if (Btn_Join)
18 {
21 }
22}
FOnHoverButtonClickedEvent OnButtonClickedEvent
class UHoverButton * Btn_Join

다음을 참조함 : Btn_Join, UHoverButton::OnButtonClickedEvent, OnClickJoin().

+ 이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ OnClickJoin()

void USessionInfoWidget::OnClickJoin ( )

SessionInfoWidget.cpp 파일의 24 번째 라인에서 정의되었습니다.

25{
26 // Game Instance 가져오자
27 ULingoGameInstance* gi = Cast<ULingoGameInstance>(GetGameInstance());
28 // sessionIdx 번째 세션에 참여
30
31 UDialogManager::Get(GetWorld())->ShowToast(TEXT("Room created successfully"));
32}
void JoinOtherSession(int32 sessionIdx)

다음을 참조함 : ULingoGameInstance::JoinOtherSession(), sessionIdx.

다음에 의해서 참조됨 : NativeConstruct().

+ 이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ SetSessionInfo()

void USessionInfoWidget::SetSessionInfo ( int32  idx,
FString  sessionName 
)

SessionInfoWidget.cpp 파일의 34 번째 라인에서 정의되었습니다.

35{
36 // 세션 순서 설정
37 sessionIdx = idx;
38 // 세션 이름 설정
39 Txt_SessionName->SetText(FText::FromString(sessionName));
40}
class UTextBlock * Txt_SessionName

다음을 참조함 : sessionIdx, Txt_SessionName.

다음에 의해서 참조됨 : ULobbyWidget::OnFindComplete().

+ 이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ Btn_Join

class UHoverButton* USessionInfoWidget::Btn_Join

SessionInfoWidget.h 파일의 25 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : NativeConstruct().

◆ sessionIdx

int32 USessionInfoWidget::sessionIdx

SessionInfoWidget.h 파일의 33 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : OnClickJoin(), SetSessionInfo().

◆ Txt_SessionName

class UTextBlock* USessionInfoWidget::Txt_SessionName

SessionInfoWidget.h 파일의 22 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : SetSessionInfo().


이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: