From cc8dbeb3f0b45a95244b957ddabaae98293a8247 Mon Sep 17 00:00:00 2001 From: RMBGAME Date: Thu, 28 Nov 2024 16:45:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Misc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ViewModels/GameAccelerator/GameInfoPageViewModel.cs | 9 +++++++++ 1 file changed, 9 insertions(+) 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); } }