3 protected MultilineEditBoxWidget
m_edit;
15 MissionGameplay
mission = MissionGameplay.Cast(
GetGame().GetMission());
18 IngameHud hud = IngameHud.Cast(
mission.GetHud());
28 MissionGameplay
mission = MissionGameplay.Cast(
GetGame().GetMission());
31 IngameHud hud = IngameHud.Cast(
mission.GetHud());
91 m_edit = MultilineEditBoxWidget.Cast(layoutRoot.FindAnyWidget(
"EditWidget"));
92 m_html = HtmlWidget.Cast(layoutRoot.FindAnyWidget(
"HtmlWidget"));
100 super.OnClick(w,
x,
y, button);
108 switch (w.GetUserID())
117 m_edit.GetText(edit_text);
118 edit_text = MiscGameplayFunctions.SanitizeString(edit_text);
120 Param1<string> text =
new Param1<string>(edit_text);
121 m_Paper.RPCSingleParam(
ERPCs.RPC_WRITE_NOTE_CLIENT, text,
true);
132 super.Update(timeslice);
proto native WorkspaceWidget GetWorkspace()
proto native CGame GetGame()