Exemplo n.º 1
0
        public void Execute(object parameter)
        {
            var reg = App.Settings.LastLanguage.ToLower();

            reg = reg.StartsWith("eu") ? "eu" : reg;
            reg = reg == "na" ? "" : reg;
            reg = reg == "" ? reg : reg + "/";
            TccUtils.OpenUrl($"https://" + $"moongourd.com/{reg}encounter?area={_encounter.AreaId}&boss={_encounter.BossId}&log={_encounter.LogId}");
        }
Exemplo n.º 2
0
 private void OnToolboxDiscordButtonClick(object sender, RoutedEventArgs e)
 {
     try
     {
         TccUtils.OpenUrl("https://discord.gg/dUNDDtw");
     }
     catch
     {
     }
 }
Exemplo n.º 3
0
 private void OnWikiButtonClick(object sender, RoutedEventArgs e)
 {
     try
     {
         TccUtils.OpenUrl("https://github.com/Foglio1024/Tera-custom-cooldowns/wiki");
     }
     catch
     {
     }
 }
Exemplo n.º 4
0
 private void OnTeraDpsDiscordButtonClick(object sender, RoutedEventArgs e)
 {
     try
     {
         TccUtils.OpenUrl("https://discord.gg/anUXQTp");
     }
     catch
     {
     }
 }
Exemplo n.º 5
0
 private void Hyperlink_OnRequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e)
 {
     TccUtils.OpenUrl(e.Uri.AbsoluteUri);
 }