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); } } }
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++; } } }