Search in sources :

Example 1 with HiscoreResultBuilder

use of net.runelite.http.service.hiscore.HiscoreResultBuilder in project runelite by runelite.

the class XpTrackerService method update.

public void update(String username) throws IOException {
    HiscoreResultBuilder hiscoreResultBuilder = hiscoreService.lookupUsername(username, HiscoreEndpoint.NORMAL);
    HiscoreResult hiscoreResult = hiscoreResultBuilder.build();
    update(username, hiscoreResult);
}
Also used : HiscoreResult(net.runelite.http.api.hiscore.HiscoreResult) HiscoreResultBuilder(net.runelite.http.service.hiscore.HiscoreResultBuilder)

Aggregations

HiscoreResult (net.runelite.http.api.hiscore.HiscoreResult)1 HiscoreResultBuilder (net.runelite.http.service.hiscore.HiscoreResultBuilder)1