Advanced Menu System  1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
UTextChatWidget Class Reference

Game chat widget. More...

#include <TextChatWidget.h>

+ Inheritance diagram for UTextChatWidget:

Public Member Functions

 UTextChatWidget (const FObjectInitializer &ObjectInitializer)
 
virtual void NativeConstruct () override
 
void FocusChat ()
 
void ExitChat ()
 
void Scroll (bool Up)
 
void SetUpChatComponent ()
 
void AddChatUserMessage (FString User, FString Message, FColor Color, FSlateFontInfo Font, bool CustomStyle=false)
 
void AddChatGlobalMessage (FString Message, FColor Color, FSlateFontInfo Font, bool CustomStyle=false)
 
void UpdatePreviewText ()
 
void SetUserMessageTextPreview (FText Text)
 
void SetUserMessageTextPreviewColor (FColor Color)
 
void SetUserMessageTextPreviewFont (FSlateFontInfo Font)
 
void SetGlobalMessageTextPreview (FText Text)
 
void SetGlobalMessageTextPreviewColor (FColor Color)
 
void SetGlobalMessageTextPreviewFont (FSlateFontInfo Font)
 
void OnTextCommited (const FText &Text, ETextCommit::Type CommitMethod)
 

Public Attributes

UEditableTextBox * EditField
 
UScrollBox * ScrollBox
 
UVerticalBox * MessagesBox
 
UCanvasPanel * CanvasPanel
 
UTextBlock * UserMessageTextPreview
 
UTextBlock * GlobalMessageTextPreview
 
FText UserMessagePreviewText
 
FColor UserMessagePreviewTextColor
 
FSlateFontInfo UserMessagePreviewTextFont
 
FText GlobalMessagePreviewText
 
FColor GlobalMessagePreviewTextColor
 
FSlateFontInfo GlobalMessagePreviewTextFont
 
bool bChatFocused
 
bool bLocalPlayer
 

Protected Member Functions

virtual void SynchronizeProperties () override
 
virtual void NativeOnInitialized () override
 

Protected Attributes

float ScrollMultiplier
 
TArray< UTextBlockWidget * > MessagesTextBlockArr
 
UActorComponent * ParentComponent
 

Detailed Description

Game chat widget.

Constructor & Destructor Documentation

◆ UTextChatWidget()

UTextChatWidget::UTextChatWidget ( const FObjectInitializer &  ObjectInitializer)

Member Function Documentation

◆ AddChatGlobalMessage()

void UTextChatWidget::AddChatGlobalMessage ( FString  Message,
FColor  Color,
FSlateFontInfo  Font,
bool  CustomStyle = false 
)

◆ AddChatUserMessage()

void UTextChatWidget::AddChatUserMessage ( FString  User,
FString  Message,
FColor  Color,
FSlateFontInfo  Font,
bool  CustomStyle = false 
)

◆ ExitChat()

void UTextChatWidget::ExitChat ( )

◆ FocusChat()

void UTextChatWidget::FocusChat ( )

◆ NativeConstruct()

void UTextChatWidget::NativeConstruct ( )
overridevirtual

◆ NativeOnInitialized()

void UTextChatWidget::NativeOnInitialized ( )
overrideprotectedvirtual

◆ OnTextCommited()

void UTextChatWidget::OnTextCommited ( const FText &  Text,
ETextCommit::Type  CommitMethod 
)

◆ Scroll()

void UTextChatWidget::Scroll ( bool  Up)

◆ SetGlobalMessageTextPreview()

void UTextChatWidget::SetGlobalMessageTextPreview ( FText  Text)

◆ SetGlobalMessageTextPreviewColor()

void UTextChatWidget::SetGlobalMessageTextPreviewColor ( FColor  Color)

◆ SetGlobalMessageTextPreviewFont()

void UTextChatWidget::SetGlobalMessageTextPreviewFont ( FSlateFontInfo  Font)

◆ SetUpChatComponent()

void UTextChatWidget::SetUpChatComponent ( )

◆ SetUserMessageTextPreview()

void UTextChatWidget::SetUserMessageTextPreview ( FText  Text)

◆ SetUserMessageTextPreviewColor()

void UTextChatWidget::SetUserMessageTextPreviewColor ( FColor  Color)

◆ SetUserMessageTextPreviewFont()

void UTextChatWidget::SetUserMessageTextPreviewFont ( FSlateFontInfo  Font)

◆ SynchronizeProperties()

void UTextChatWidget::SynchronizeProperties ( )
overrideprotectedvirtual

◆ UpdatePreviewText()

void UTextChatWidget::UpdatePreviewText ( )

Member Data Documentation

◆ bChatFocused

bool UTextChatWidget::bChatFocused

◆ bLocalPlayer

bool UTextChatWidget::bLocalPlayer

◆ CanvasPanel

UCanvasPanel* UTextChatWidget::CanvasPanel

◆ EditField

UEditableTextBox* UTextChatWidget::EditField

◆ GlobalMessagePreviewText

FText UTextChatWidget::GlobalMessagePreviewText

◆ GlobalMessagePreviewTextColor

FColor UTextChatWidget::GlobalMessagePreviewTextColor

◆ GlobalMessagePreviewTextFont

FSlateFontInfo UTextChatWidget::GlobalMessagePreviewTextFont

◆ GlobalMessageTextPreview

UTextBlock* UTextChatWidget::GlobalMessageTextPreview

◆ MessagesBox

UVerticalBox* UTextChatWidget::MessagesBox

◆ MessagesTextBlockArr

TArray<UTextBlockWidget*> UTextChatWidget::MessagesTextBlockArr
protected

◆ ParentComponent

UActorComponent* UTextChatWidget::ParentComponent
protected

◆ ScrollBox

UScrollBox* UTextChatWidget::ScrollBox

◆ ScrollMultiplier

float UTextChatWidget::ScrollMultiplier
protected

◆ UserMessagePreviewText

FText UTextChatWidget::UserMessagePreviewText

◆ UserMessagePreviewTextColor

FColor UTextChatWidget::UserMessagePreviewTextColor

◆ UserMessagePreviewTextFont

FSlateFontInfo UTextChatWidget::UserMessagePreviewTextFont

◆ UserMessageTextPreview

UTextBlock* UTextChatWidget::UserMessageTextPreview