Esempio n. 1
0
        internal void ModifyStatisticPostfix(StatCollection statCollection, string statName)
        {
            var stat        = statCollection.GetStatistic(statName);
            var historyList = Traverse.Create(statCollection.History).Field <List <StatHistory.Event> >("historyList").Value;

            if (SortLatestHistory(historyList, stat.uid))
            {
                statCollection.RefreshStatistic(stat);
            }
        }