-
Notifications
You must be signed in to change notification settings - Fork 4
Stats V2
Roberto Graham edited this page Feb 15, 2019
·
2 revisions
final var filterableStatisticV2 = fortnite.statistic()
.findAllByAccountId(
fortnite.account()
.findOneByDisplayName("Ninja")
.map(Account::accountId)
.orElseThrow(),
LocalDateTime.MIN.atZone(ZoneOffset.UTC),
ZonedDateTime.now(ZoneOffset.UTC)
)
.orElseThrow();
final var filterableStatisticV2 = fortnite.statistic()
.findAllByAccount(
fortnite.account()
.findOneByDisplayName("Ninja")
.orElseThrow(),
LocalDateTime.MIN.atZone(ZoneOffset.UTC),
ZonedDateTime.now(ZoneOffset.UTC)
)
.orElseThrow();
final var filterableStatisticV2 = fortnite.statistic()
.findAllBySessionAccountId(
LocalDateTime.MIN.atZone(ZoneOffset.UTC),
ZonedDateTime.now(ZoneOffset.UTC)
)
.orElseThrow();
filterableStatisticV2.byInputTypes(InputType.GAMEPAD, InputType.KEYBOARD_AND_MOUSE)
.byModes("defaultsolo", "defaultduo", "defaultsquad")
.playersOutlived();
filterableStatisticV2.playersOutlived();