10 m_close_timer =
new Timer();
17 m_edit_box = EditBoxWidget.Cast(layoutRoot.FindAnyWidget(
"InputEditBoxWidget"));
18 m_channel_text =
TextWidget.Cast(layoutRoot.FindAnyWidget(
"ChannelText"));
31 super.OnChange(w,
x,
y, finished);
33 if (!finished)
return false;
35 string text = m_edit_box.GetText();
45 MissionGameplay.Cast(
GetGame().GetMission()).m_Chat.Add(chat_params);
49 m_close_timer.Run(0.1,
this,
"Close");
66 if (!
GetGame().GetMission().IsVoNActive())
74 override void Update(
float timeslice)
101 case CCPublicAddressSystem:
proto native Mission GetMission()
proto native void ChatPlayer(string text)
proto void GetPlayerName(out string name)
Gets current player name.
proto native WorkspaceWidget GetWorkspace()
void HideVoiceLevelWidgets()
proto native UAInput InputP()
Param4< int, string, string, string > ChatMessageEventParams
channel, from, text, color config class
proto native CGame GetGame()