98 override bool OnClick(Widget w,
int x,
int y,
int button)
100 super.OnClick(w,
x,
y, button);
108 switch (w.GetUserID())
114 if (m_Paper && m_Pen && m_IsWriting)
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);