public async Task<LevelUpRewardsResponse> GetLevelUpRewards(Inventory inv ) { var GetData = await _client.Player.GetPlayer(); var ClientLevel = await _client.Player.GetPlayerProfile( GetData.PlayerData.Username ); var Rewards = await _client.Player.GetLevelUpRewards( inv.GetPlayerStats().Result.FirstOrDefault().Level ); return Rewards; }
public async Task <LevelUpRewardsResponse> GetLevelUpRewards(Inventory inv) { return(await GetLevelUpRewards(inv.GetPlayerStats().FirstOrDefault().Level)); }
public async Task<LevelUpRewardsResponse> GetLevelUpRewards(Inventory inv ) { return await GetLevelUpRewards(inv.GetPlayerStats().Result.FirstOrDefault().Level); }
public async Task <LevelUpRewardsResponse> GetLevelUpRewards(Inventory inv) { return(await GetLevelUpRewards((await inv.GetPlayerStats().ConfigureAwait(false)).FirstOrDefault().Level).ConfigureAwait(false)); }
public async Task <LevelUpRewardsResponse> GetLevelUpRewards(Inventory inventory) { PlayerStats playerStats = await inventory.GetPlayerStats(); return(await GetLevelUpRewards(playerStats.Level)); }