Interface ContractService


public interface ContractService
Manages the Heist Board daily contracts. Contract types are the built-in STEAL, EARN, DEPOSIT, and FUSE jobs.
  • Method Details

    • getBoard

      @NotNull @NotNull List<ContractService.ContractView> getBoard(@NotNull @NotNull UUID playerId)
    • getActiveSlot

      int getActiveSlot(@NotNull @NotNull UUID playerId)
    • getActiveProgress

      long getActiveProgress(@NotNull @NotNull UUID playerId)
    • setActiveSlot

      boolean setActiveSlot(@NotNull @NotNull UUID playerId, int slotIndex)
    • recordProgress

      void recordProgress(@NotNull @NotNull UUID playerId, @NotNull @NotNull String contractTypeId, long amount)
    • claim

      boolean claim(@NotNull @NotNull UUID playerId, int slotIndex)
    • rerollBoard

      boolean rerollBoard(@NotNull @NotNull UUID playerId)