protected override async Task OnActionAsync(UpdateMoneyEvent value) { _silverCountUpTimer.Add(value.CurrentPlayerSilver); _trackingController.SetTotalPlayerSilver(value.CurrentPlayerSilver); _trackingController.AddValueToDungeon(value.CurrentPlayerSilver, ValueType.Silver); await Task.CompletedTask; }
protected override async Task OnActionAsync(UpdateReSpecPointsEvent value) { _reSpecPointsCountUpTimer.Add(value.CurrentReSpecPoints); _trackingController.SetTotalPlayerReSpecPoints(value.CurrentReSpecPoints); _trackingController.AddValueToDungeon(value.CurrentReSpecPoints, ValueType.ReSpec); await Task.CompletedTask; }
protected override async Task OnActionAsync(UpdateFameEvent value) { _trackingController.AddNotification(SetPveFameNotification(value.TotalPlayerFame.DoubleValue, value.TotalGainedFame.DoubleValue, value.ZoneFame.DoubleValue, value.PremiumFame.DoubleValue, value.SatchelFame.DoubleValue, value.IsPremiumBonus)); _fameCountUpTimer.Add(value.TotalGainedFame.DoubleValue); _trackingController.AddValueToDungeon(value.TotalGainedFame.DoubleValue, ValueType.Fame); _trackingController.SetTotalPlayerFame(value.TotalPlayerFame.DoubleValue); await Task.CompletedTask; }