DIFF

class ChatLineSource

Constructors 2

void ~ChatLine()
References m_TextWidget

Constants 9

const float FADE_TIMEOUT = 30
Referenced by Set()
const float FADE_OUT_DURATION = 3
Referenced by Set()
const float FADE_IN_DURATION = 0.5
Referenced by Set()
private const string RADIO_PREFIX = "(" + "#str_radio" + ") "
Referenced by Set()
private const string GAME_PREFIX = "(" + "#layout_chat_game" + ") "
Referenced by Set()
private const string ADMIN_PREFIX = "(" + "#STR_MP_MASTER" + ") "
Referenced by Set()
private const int DEFAULT_COLOUR = ARGB(255, 255, 255, 255)
Referenced by Set()
private const int GAME_TEXT_COLOUR = ARGB(255, 255, 0, 0)
Referenced by Set()
private const int ADMIN_TEXT_COLOUR = ARGB(255, 255, 255, 0)
Referenced by Set()

Members 5

Widget m_RootWidget
Referenced by Chat.AddInternal(), ChatLine(), Clear()
Show 1 more, Set()
TextWidget m_NameWidget
Referenced by ChatLine(), Set(), and SetColour()
TextWidget m_TextWidget
Referenced by ~ChatLine(), ChatLine(), Set()
Show 1 more, SetColour()
private ref WidgetFadeTimer m_FadeTimer
Referenced by ChatLine(), Clear(), and Set()
private ref Timer m_TimeoutTimer
Referenced by ChatLine(), Clear(), and Set()

Methods 5

private void SetColour(int colour)
References Widget.SetColor(), Widget.SetColor(), m_NameWidget
Show 1 more, m_TextWidget
Referenced by Set(), and SetColorByParam()
protected void SetColorByParam(string pParamValue, int pFallback)
Referenced by Set()
void Clear()
protected int ColorNameToColor(string pColorName)
Referenced by SetColorByParam()