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

단어 버튼 위젯 더 자세히 ...

#include <UWordButton.h>

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

Public 멤버 함수

 DECLARE_MULTICAST_DELEGATE_OneParam (FOnWordButtonClicked, int32)
 버튼 클릭 델리게이트
 
int32 GetIndex () const
 버튼 인덱스 가져오기
 
void InitializeWordButton (const FString &InText, int32 InIndex)
 버튼 초기화
 
virtual void NativeConstruct () override
 

Public 속성

FOnWordButtonClicked OnWordButtonClicked
 

Protected 멤버 함수

void OnButtonClicked ()
 버튼 클릭 핸들러
 

Protected 속성

UButton * Btn_Word
 버튼 위젯
 
int32 Index = 0
 버튼 인덱스
 
UTextBlock * Txt_Word
 텍스트 위젯
 

상세한 설명

단어 버튼 위젯

클릭 가능한 단어 버튼으로, 인덱스 정보를 포함합니다.

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

멤버 함수 문서화

◆ DECLARE_MULTICAST_DELEGATE_OneParam()

UWordButton::DECLARE_MULTICAST_DELEGATE_OneParam ( FOnWordButtonClicked  ,
int32   
)

버튼 클릭 델리게이트

◆ GetIndex()

int32 UWordButton::GetIndex ( ) const
inline

버튼 인덱스 가져오기

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

36{ return Index; }
int32 Index
버튼 인덱스
Definition UWordButton.h:48

◆ InitializeWordButton()

void UWordButton::InitializeWordButton ( const FString &  InText,
int32  InIndex 
)

버튼 초기화

매개변수
InText버튼에 표시할 텍스트
InIndex버튼의 인덱스

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

19{
20 Index = InIndex;
21
22 if (Txt_Word)
23 {
24 Txt_Word->SetText(FText::FromString(InText));
25 }
26}
UTextBlock * Txt_Word
텍스트 위젯
Definition UWordButton.h:45

다음을 참조함 : Index, Txt_Word.

◆ NativeConstruct()

void UWordButton::NativeConstruct ( )
overridevirtual

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

8{
9 Super::NativeConstruct();
10
11 if (Btn_Word)
12 {
13 Btn_Word->OnClicked.RemoveDynamic(this, &UWordButton::OnButtonClicked);
14 Btn_Word->OnClicked.AddDynamic(this, &UWordButton::OnButtonClicked);
15 }
16}
void OnButtonClicked()
버튼 클릭 핸들러
UButton * Btn_Word
버튼 위젯
Definition UWordButton.h:41

다음을 참조함 : Btn_Word, OnButtonClicked().

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

◆ OnButtonClicked()

void UWordButton::OnButtonClicked ( )
protected

버튼 클릭 핸들러

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

29{
30 OnWordButtonClicked.Broadcast(Index);
31}
FOnWordButtonClicked OnWordButtonClicked
Definition UWordButton.h:61

다음을 참조함 : Index, OnWordButtonClicked.

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

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

멤버 데이터 문서화

◆ Btn_Word

UButton* UWordButton::Btn_Word
protected

버튼 위젯

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

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

◆ Index

int32 UWordButton::Index = 0
protected

버튼 인덱스

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

다음에 의해서 참조됨 : InitializeWordButton(), OnButtonClicked().

◆ OnWordButtonClicked

FOnWordButtonClicked UWordButton::OnWordButtonClicked

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

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

◆ Txt_Word

UTextBlock* UWordButton::Txt_Word
protected

텍스트 위젯

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

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


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