예제 #1
0
 public override void Send_Card_To_Clients(string p)
 {
     if (this.server != null)//server
     {
         foreach (PokerClient Player_net in server.Clients)
         {
             Player_net.Send("AddCard#" + p);
         }
     }
 }
예제 #2
0
 public override void Init_Start()
 {
     if (server != null)//Server
     {
         int index = 1;
         foreach (PokerClient Player_net in server.Clients)
         {
             Player_net.Send("SetThisCompPlayer#" + index + "");
             Player_net.SendPlayers();
             index++;
         }
     }
 }