public void BroadCastStartGame() { G2C_StartGame message = new G2C_StartGame(); message.RoomId = this.Id; Player[] players = this.GetAll(); foreach (Player player in players) { player.Session.Send(message); } }
public void BroadCastStartGame() { G2C_StartGame message = new G2C_StartGame(); message.RoomId = this.Id; message.BigModel = (int)this.BigModel; message.SmallModel = this.SmallMode; Player[] players = this.GetAll(); foreach (Player player in players) { player.Session.Send(message); } }