Exemple #1
0
        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;

        }
Exemple #2
0
 public async Task <LevelUpRewardsResponse> GetLevelUpRewards(Inventory inv)
 {
     return(await GetLevelUpRewards(inv.GetPlayerStats().FirstOrDefault().Level));
 }
Exemple #3
0
 public async Task<LevelUpRewardsResponse> GetLevelUpRewards(Inventory inv )
 {
     return await GetLevelUpRewards(inv.GetPlayerStats().Result.FirstOrDefault().Level);
 }
Exemple #4
0
 public async Task <LevelUpRewardsResponse> GetLevelUpRewards(Inventory inv)
 {
     return(await GetLevelUpRewards((await inv.GetPlayerStats().ConfigureAwait(false)).FirstOrDefault().Level).ConfigureAwait(false));
 }
Exemple #5
0
        public async Task <LevelUpRewardsResponse> GetLevelUpRewards(Inventory inventory)
        {
            PlayerStats playerStats = await inventory.GetPlayerStats();

            return(await GetLevelUpRewards(playerStats.Level));
        }