Skip to content

Commit

Permalink
Add GetLevelUpRewards
Browse files Browse the repository at this point in the history
  • Loading branch information
FeroxRev committed Jul 25, 2016
1 parent bf42aa7 commit ba9295d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion PokemonGo.RocketAPI/Rpc/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ public async Task<EquipBadgeResponse> EquipBadge(BadgeType type)
return await PostProtoPayload<Request, EquipBadgeResponse>(RequestType.EquipBadge, new EquipBadgeMessage() { BadgeType = type });
}


public async Task<LevelUpRewardsResponse> GetLevelUpRewards(int level)
{
return await PostProtoPayload<Request, LevelUpRewardsResponse>(RequestType.LevelUpRewards, new LevelUpRewardsMessage()
{
Level = level
});
}
}
}

0 comments on commit ba9295d

Please sign in to comment.