Exemple #1
0
        public static void AddGameToCache(RitoCurrentGameInfo Game)
        {
            foreach (var p in Game.Participants)
                PlayerToMatchMap.Add(p.SummonerName.ToLowerInvariant(), Game.GameID);
            Game.LastCheckDate = DateTime.Now;

            lock (CurrentGameCache)
            {
                CurrentGameCache.Add(Game.GameID, Game);
            }
        }
Exemple #2
0
 public static string GetMasteriesConfig(this HtmlHelper _this, RitoCurrentGameInfo.Rito_CurrentGameParticipant player )
 {
     return GetMasteriesConfig(player.Masteries);
 }