Ejemplo n.º 1
0
 public void NextSendRoomData(string data, GameOrderType order, string tag = "")
 {
     if (this.NextPlayer != null)
     {
         this.NextPlayer.SendRoomData(data, order, tag);
     }
 }
Ejemplo n.º 2
0
 //发送数据给局内玩家
 private void SendBase(GameOrderType order, string json = "", Player p = null, string tag = null)
 {
     if (p == null)
     {
         p1.SendRoomData(json, order, tag);
         p1.LastSendRoomData(json, order, tag);
         p1.NextSendRoomData(json, order, tag);
     }
     else
     {
         p.SendRoomData(json, order, tag);
     }
 }
Ejemplo n.º 3
0
 public void SendRoomData(string data, GameOrderType order, string tag = "")
 {
     this.RoomWebsok.SendData(data, (int)order, tag);
 }