api: add league world type

Co-authored-by: Hydrox6 <ikada@protonmail.ch>
This commit is contained in:
Adam
2019-11-15 09:40:38 -05:00
parent fab50b1725
commit 7463d2de1a
4 changed files with 11 additions and 4 deletions

View File

@@ -34,7 +34,8 @@ public enum HiscoreEndpoint
IRONMAN("Ironman", "https://services.runescape.com/m=hiscore_oldschool_ironman/index_lite.ws"),
HARDCORE_IRONMAN("Hardcore Ironman", "https://services.runescape.com/m=hiscore_oldschool_hardcore_ironman/index_lite.ws"),
ULTIMATE_IRONMAN("Ultimate Ironman", "https://services.runescape.com/m=hiscore_oldschool_ultimate/index_lite.ws"),
DEADMAN("Deadman", "https://services.runescape.com/m=hiscore_oldschool_deadman/index_lite.ws");
DEADMAN("Deadman", "https://services.runescape.com/m=hiscore_oldschool_deadman/index_lite.ws"),
LEAGUE("Twisted League", "https://services.runescape.com/m=hiscore_oldschool_seasonal/index_lite.ws");
private final String name;
private final HttpUrl hiscoreURL;

View File

@@ -33,5 +33,6 @@ public enum WorldType
HIGH_RISK,
LAST_MAN_STANDING,
TOURNAMENT,
DEADMAN;
DEADMAN,
LEAGUE;
}