9 private const string GAME_PREFIX =
"(" +
"#layout_chat_game" +
") ";
49 channel = params.param1;
76 if ( channel & CCSystem )
79 if (params.param2 !=
"")
86 else if ( channel & CCAdmin )
92 else if ( channel & CCTransmitter )
97 else if ( channel == 0 || channel & CCDirect )
100 if (params.param2 !=
"")
121 if (pParamValue !=
"")
139 int color = 0xFFFFFFFF;
142 case "colorStatusChannel":
148 case "colorFriendly":
151 case "colorImportant":
proto native WorkspaceWidget GetWorkspace()
const int ADMIN_TEXT_COLOUR
const string RADIO_PREFIX
const int GAME_TEXT_COLOUR
const float FADE_OUT_DURATION
void Set(ChatMessageEventParams params)
void SetColour(int colour)
ref WidgetFadeTimer m_FadeTimer
void ChatLine(Widget root_widget)
const float FADE_IN_DURATION
const string ADMIN_PREFIX
int ColorNameToColor(string pColorName)
void SetColorByParam(string pParamValue, int pFallback)
Param4< int, string, string, string > ChatMessageEventParams
channel, from, text, color config class
proto native CGame GetGame()
int ARGB(int a, int r, int g, int b)