Exemplo n.º 1
0
 public void onPrivateChatReceived(string sender, string message)
 {
     UIDispatcher.Execute(delegate() { tblmessage.Text = tblmessage.Text + "\nonPrivateChatReceived :" + sender + " sent " + message; });
 }
Exemplo n.º 2
0
 public void onNextTurnRequest(string lastTurn)
 {
     UIDispatcher.Execute(delegate() { tblmessage.Text = tblmessage.Text + "\nonNextTurnRequest lastturn" + lastTurn; });
 }
Exemplo n.º 3
0
 public void onChatReceived(com.shephertz.app42.gaming.multiplayer.client.events.ChatEvent eventObj)
 {
     UIDispatcher.Execute(delegate() { tblmessage.Text = tblmessage.Text + "\n" + eventObj.getSender() + " sent " + eventObj.getMessage(); });
 }
Exemplo n.º 4
0
 public void onPrivateUpdateReceived(string sender, byte[] update, bool fromUdp)
 {
     UIDispatcher.Execute(delegate() { tblmessage.Text = tblmessage.Text + "\n" + Encoding.UTF8.GetString(update, 0, update.Length); });
 }