예제 #1
0
 private void OnNodeClick(BNetContext <HeroSummary> d3Object)
 {
     guiBattleNetHostList.SelectedItem = hosts.FirstOrDefault(h => h.Url == d3Object.Host);
     guiBattleTag.Text    = d3Object.BattleTag.ToString();
     D3ObjectLiveUrl.Text = D3Api.GetHeroUrlFromHeroId(d3Object.BattleTag, d3Object.Data.Id);
 }
예제 #2
0
 private void OnNodeClick(BNetContext <Career> d3Object)
 {
     guiBattleNetHostList.SelectedItem = hosts.FirstOrDefault(h => h.Url == d3Object.Host);
     guiBattleTag.Text    = d3Object.BattleTag.ToString();
     D3ObjectLiveUrl.Text = D3Api.GetCareerUrl(d3Object.BattleTag);
 }