Esempio n. 1
0
        private void SetResult(ConnectGamer gamer)
        {
            LanguageDictionary language = new LanguageDictionary();
            GameMechanic       game     = gamer.Game.Game;

            List <JsonResult> results = game.Results().Select(x => new JsonResult()
            {
                Feature = x.Feature.Value(language.GetLanguage()),
                Id      = x.Gamer.Id
            }).ToList();

            Clients.Clients(GamersId(gamer)).SetResult(results, language.Get("Result"));
        }