Skip to content

Commit

Permalink
add blizt execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammers21 committed Sep 11, 2024
1 parent 713b54b commit ea2175c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/io/github/sammers/pla/logic/Ladder.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ private Observable<Long> runDataUpdater(String region, int timeout, TimeUnit tim
.andThen(twoVTwo(region).ignoreElement())
.andThen(battlegrounds(region).ignoreElement())
.andThen(shuffle(region).ignoreElement())
.andThen(blitz(region).ignoreElement())
.andThen(updateCutoffs(region))
.andThen(loadCutoffsFromDb(region))
.andThen(calculateMulticlasserLeaderboard(region))
Expand Down Expand Up @@ -202,6 +203,10 @@ public Single<Snapshot> shuffle(String region) {
return fetchLadder(bracket, region);
}

public Single<Snapshot> blitz(String region) {
return fetchLadder(BLITZ, region);
}

public Optional<WowAPICharacter> wowChar(String realm, String name) {
return Optional.ofNullable(characterCache.getByFullName(Character.fullNameByRealmAndName(name, realm)));
}
Expand Down

0 comments on commit ea2175c

Please sign in to comment.