Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ChatMessageLineComponent Interface Reference
Inheritance diagram for SCR_ChatMessageLineComponent:

Public Member Functions

override void HandlerAttached (Widget w)
 
void SetMessage (notnull SCR_ChatMessage msg, notnull SCR_ChatMessageStyle style)
 
void SetEmptyMessage ()
 
void SetVisible (bool visible)
 
Widget GetRootWidget ()
 

Protected Member Functions

Color GetTextColor (notnull SCR_ChatMessageStyle style, SCR_Faction senderFaction=null, int senderId=-1)
 Retrieves a copy of the color that should be used for the text of the message.
 
Color GetBadgeColor (notnull SCR_ChatMessageStyle style, SCR_Faction senderFaction=null, SCR_Faction localFaction=null, int senderId=-1)
 Retrieves a copy of the color that should be used for the badge of the message.
 
Color GetBackgroundColor (notnull SCR_ChatMessageStyle style, SCR_Faction senderFaction=null, SCR_Faction localFaction=null, int senderId=-1)
 Retrieves a copy of the color that should be used for the background of the message.
 

Protected Attributes

ref SCR_ChatMessageLineWidgets m_Widgets = new SCR_ChatMessageLineWidgets()
 
ResourceName CHAT_IMAGESET = "{1872FFA1133724A2}UI/Textures/Chat/chat.imageset"
 
Widget m_wRoot
 

Member Function Documentation

◆ GetBackgroundColor()

Color SCR_ChatMessageLineComponent.GetBackgroundColor ( notnull SCR_ChatMessageStyle style,
SCR_Faction senderFaction = null,
SCR_Faction localFaction = null,
int senderId = -1 )
protected

Retrieves a copy of the color that should be used for the background of the message.

Parameters
[in]style
[in]senderFaction
[in]localFaction
[in]senderId

◆ GetBadgeColor()

Color SCR_ChatMessageLineComponent.GetBadgeColor ( notnull SCR_ChatMessageStyle style,
SCR_Faction senderFaction = null,
SCR_Faction localFaction = null,
int senderId = -1 )
protected

Retrieves a copy of the color that should be used for the badge of the message.

Parameters
[in]style
[in]senderFaction
[in]localFaction
[in]senderId

◆ GetRootWidget()

Widget SCR_ChatMessageLineComponent.GetRootWidget ( )
Returns

◆ GetTextColor()

Color SCR_ChatMessageLineComponent.GetTextColor ( notnull SCR_ChatMessageStyle style,
SCR_Faction senderFaction = null,
int senderId = -1 )
protected

Retrieves a copy of the color that should be used for the text of the message.

Parameters
[in]style
[in]senderFaction
[in]senderId

◆ HandlerAttached()

override void SCR_ChatMessageLineComponent.HandlerAttached ( Widget w)

◆ SetEmptyMessage()

void SCR_ChatMessageLineComponent.SetEmptyMessage ( )

◆ SetMessage()

void SCR_ChatMessageLineComponent.SetMessage ( notnull SCR_ChatMessage msg,
notnull SCR_ChatMessageStyle style )
Parameters
[in]msg
[in]style

◆ SetVisible()

void SCR_ChatMessageLineComponent.SetVisible ( bool visible)
Parameters
[in]visible

Member Data Documentation

◆ CHAT_IMAGESET

ResourceName SCR_ChatMessageLineComponent.CHAT_IMAGESET = "{1872FFA1133724A2}UI/Textures/Chat/chat.imageset"
protected

◆ m_Widgets

ref SCR_ChatMessageLineWidgets SCR_ChatMessageLineComponent.m_Widgets = new SCR_ChatMessageLineWidgets()
protected

◆ m_wRoot

Widget SCR_ChatMessageLineComponent.m_wRoot
protected

The documentation for this interface was generated from the following file: