Exemple #1
0
        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);
            }
        }
Exemple #2
0
        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);
            }
        }