示例#1
0
        public async Task OnInit()
        {
            Leagues = null;
            Leagues = await poeApiClient.Fetch <League>();

            if (string.IsNullOrEmpty(configuration.LeagueId))
            {
                configuration.LeagueId = Leagues.FirstOrDefault().Id;
                configuration.Save();
            }
        }
示例#2
0
 public async Task OnInit()
 {
     Categories = null;
     Categories = await poeApiClient.Fetch <AttributeCategory>();
 }
示例#3
0
 public async Task OnInit()
 {
     Categories = null;
     Categories = await poeApiClient.Fetch <StaticItemCategory>();
 }