Esempio n. 1
0
        private void SendGameStarts(List <Player> playerList)
        {
            List <long> players = new List <long>();

            foreach (Player player in playerList)
            {
                players.Add(player.Id);
            }

            GameStarts data = new GameStarts(this.Game, players);

            dispatcher.GameStarts(PacketSerializer.Serialize(data)).Wait();
        }