#include <ChatTextFieldWidget.h>
◆ AddChatCategories()
| void UChatTextFieldWidget::AddChatCategories |
( |
| ) |
|
|
private |
47{
48 const UEnum* ChatCategoryEnum = StaticEnum<EChatSystemCategory>();
50 for(int32 i = 0; i < ChatCategoryEnum->NumEnums() -1; ++i)
51 {
52
53 FString ChatCategory = ChatCategoryEnum->GetDisplayNameTextByIndex(i).ToString();
54
56 if(i == 0)
57 {
59 }
60 }
61}
class UComboBoxString * CategoryComboBox
Definition ChatTextFieldWidget.h:36
◆ Initialize()
| bool UChatTextFieldWidget::Initialize |
( |
| ) |
|
|
overridevirtual |
22{
23 return Super::Initialize();
24}
◆ NativeConstruct()
| void UChatTextFieldWidget::NativeConstruct |
( |
| ) |
|
|
overridevirtual |
12{
13 Super::NativeConstruct();
16 {
18 }
19}
void AddChatCategories()
Definition ChatTextFieldWidget.cpp:46
void OnChatTextCommitted(const FText &Text, ETextCommit::Type CommitType)
Definition ChatTextFieldWidget.cpp:31
class UEditableText * ChatTextBox
Definition ChatTextFieldWidget.h:34
◆ OnChatTextCommitted()
| void UChatTextFieldWidget::OnChatTextCommitted |
( |
const FText & | Text, |
|
|
ETextCommit::Type | CommitType ) |
32{
33 if(CommitType == ETextCommit::OnEnter)
34 {
37
38 }
39}
FOnSentChatMessage OnSentChatMessage
Definition ChatTextFieldWidget.h:24
◆ SetHintChatText()
| void UChatTextFieldWidget::SetHintChatText |
( |
FString | HintText | ) |
|
27{
28 ChatTextBox->SetHintText(FText::FromString(HintText));
29}
◆ ToggleChat()
| void UChatTextFieldWidget::ToggleChat |
( |
bool | bOpen | ) |
|
◆ CategoryComboBox
| class UComboBoxString* UChatTextFieldWidget::CategoryComboBox |
◆ ChatTextBox
| class UEditableText* UChatTextFieldWidget::ChatTextBox |
◆ OnSentChatMessage
| FOnSentChatMessage UChatTextFieldWidget::OnSentChatMessage |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/ChatSystem/Source/ChatSystem/Public/Widgets/ChatTextFieldWidget.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/ChatSystem/Source/ChatSystem/Private/Widgets/ChatTextFieldWidget.cpp