diff --git a/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/GameAccelerator/GameInfoPageViewModel.cs b/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/GameAccelerator/GameInfoPageViewModel.cs index 4b24fec5683..b3de80584ff 100644 --- a/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/GameAccelerator/GameInfoPageViewModel.cs +++ b/src/BD.WTTS.Client.Plugins.Accelerator/UI/ViewModels/GameAccelerator/GameInfoPageViewModel.cs @@ -1,3 +1,5 @@ +using BD.WTTS.Helpers; + namespace BD.WTTS.UI.ViewModels; public sealed class GameInfoPageViewModel : WindowViewModel @@ -38,6 +40,13 @@ public void ImmediatelyAccelerate() return; } + TracepointHelper.TrackEvent(nameof(ImmediatelyAccelerate), new Dictionary { + { "GameId", XunYouGame.Id.ToString() }, + { "GameName", XunYouGame.Name ?? string.Empty }, + { "SelectedArea", XunYouGame?.SelectedArea?.Name ?? string.Empty }, + { "SelectedServer", XunYouGame?.SelectedServer?.Name ?? string.Empty }, + }); + Close?.Invoke(true); } }