http api: update for beginner clues

Co-authored-by: Robin Rijkeboer <robin.rijkeboer@itonomy.nl>
This commit is contained in:
Adam
2019-04-11 20:28:54 -04:00
committed by Adam
parent 410eacfd6a
commit ee216e0c43
4 changed files with 18 additions and 11 deletions

View File

@@ -57,6 +57,7 @@ public class HiscoreResult
private Skill bountyHunterHunter;
private Skill bountyHunterRogue;
private Skill clueScrollAll;
private Skill clueScrollBeginner;
private Skill clueScrollEasy;
private Skill clueScrollMedium;
private Skill clueScrollHard;
@@ -122,6 +123,8 @@ public class HiscoreResult
return getBountyHunterRogue();
case CLUE_SCROLL_ALL:
return getClueScrollAll();
case CLUE_SCROLL_BEGINNER:
return getClueScrollBeginner();
case CLUE_SCROLL_EASY:
return getClueScrollEasy();
case CLUE_SCROLL_MEDIUM:

View File

@@ -79,13 +79,14 @@ public class HiscoreResultBuilder
hiscoreResult.setConstruction(skills.get(23));
hiscoreResult.setBountyHunterHunter(skills.get(24));
hiscoreResult.setBountyHunterRogue(skills.get(25));
hiscoreResult.setClueScrollAll(skills.get(26));
hiscoreResult.setClueScrollEasy(skills.get(27));
hiscoreResult.setClueScrollMedium(skills.get(28));
hiscoreResult.setClueScrollHard(skills.get(29));
hiscoreResult.setClueScrollElite(skills.get(30));
hiscoreResult.setClueScrollMaster(skills.get(31));
hiscoreResult.setLastManStanding(skills.get(32));
hiscoreResult.setLastManStanding(skills.get(26));
hiscoreResult.setClueScrollAll(skills.get(27));
hiscoreResult.setClueScrollBeginner(skills.get(28));
hiscoreResult.setClueScrollEasy(skills.get(29));
hiscoreResult.setClueScrollMedium(skills.get(30));
hiscoreResult.setClueScrollHard(skills.get(31));
hiscoreResult.setClueScrollElite(skills.get(32));
hiscoreResult.setClueScrollMaster(skills.get(33));
return hiscoreResult;
}
}

View File

@@ -52,13 +52,14 @@ public enum HiscoreSkill
CONSTRUCTION("Construction"),
BOUNTY_HUNTER_HUNTER("Bounty Hunter - Hunter"),
BOUNTY_HUNTER_ROGUE("Bounty Hunter - Rogue"),
LAST_MAN_STANDING("Last Man Standing"),
CLUE_SCROLL_ALL("Clue Scrolls (all)"),
CLUE_SCROLL_BEGINNER("Clue Scrolls (beginner)"),
CLUE_SCROLL_EASY("Clue Scrolls (easy)"),
CLUE_SCROLL_MEDIUM("Clue Scrolls (medium)"),
CLUE_SCROLL_HARD("Clue Scrolls (hard)"),
CLUE_SCROLL_ELITE("Clue Scrolls (elite)"),
CLUE_SCROLL_MASTER("Clue Scrolls (master)"),
LAST_MAN_STANDING("Last Man Standing");
CLUE_SCROLL_MASTER("Clue Scrolls (master)");
private final String name;