コード例 #1
0
        private void OnEvaluationDataAdded(EvaluationData evaluationData)
        {
            if (_EvaluationDataToEvaluationMapper.TryGetRelated(evaluationData, out var evaluations))
            {
                var gameIds  = GetGameIdsFromEvaluations(evaluations);
                var sessions = _sessionTracker.GetByGames(gameIds);

                var progress = _progressEvaluator.EvaluateSessions(sessions, evaluations);
                _progressNotificationCache.Update(progress);
            }
        }