Example #1
0
 private void bq_Result(object sender, BuyPropertyEventArgs e)
 {
     if (e.Bought)
     {
         string msg = e.PropertyIndex + Message.DELIMETER + localPlayer.PlayerGUID;
         comm.Send(new Message(Message.Type.Buy, Encoding.UTF8.GetBytes(msg)).ToBytes());
         PropertyBought(e.PropertyIndex, localPlayer.PlayerGUID);
     }
     myBoard.Dice.ToggleEndTurnEnabled(true);
 }
 private void OnResult(BuyPropertyEventArgs e)
 {
     Result(this, e);
 }
 private void OnResult(BuyPropertyEventArgs e)
 {
     Result(this, e);
 }
 private void bq_Result(object sender, BuyPropertyEventArgs e)
 {
     if (e.Bought)
     {
         string msg = e.PropertyIndex + Message.DELIMETER + localPlayer.PlayerGUID;
         comm.Send(new Message(Message.Type.Buy, Encoding.UTF8.GetBytes(msg)).ToBytes());
         PropertyBought(e.PropertyIndex, localPlayer.PlayerGUID);
     }
     myBoard.Dice.ToggleEndTurnEnabled(true);
 }