Пример #1
0
        public SocketMessage ContinueGame(Chanel chanel, object data, string userName)
        {
            int level    = (int)data;
            var gameZone = GameCreator.GenerateZone(level);

            Console.WriteLine($"{userName} on {level} level ");

            return(new SocketMessage(ClientFunctionsNames.SetGameZone.ToString(), gameZone));
        }