Skip to content

Commit

Permalink
🚧 Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed Nov 28, 2024
1 parent e96fcd5 commit cc8dbeb
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using BD.WTTS.Helpers;

namespace BD.WTTS.UI.ViewModels;

public sealed class GameInfoPageViewModel : WindowViewModel
Expand Down Expand Up @@ -38,6 +40,13 @@ public void ImmediatelyAccelerate()
return;
}

TracepointHelper.TrackEvent(nameof(ImmediatelyAccelerate), new Dictionary<string, string> {
{ "GameId", XunYouGame.Id.ToString() },
{ "GameName", XunYouGame.Name ?? string.Empty },
{ "SelectedArea", XunYouGame?.SelectedArea?.Name ?? string.Empty },
{ "SelectedServer", XunYouGame?.SelectedServer?.Name ?? string.Empty },
});

Close?.Invoke(true);
}
}

0 comments on commit cc8dbeb

Please sign in to comment.