Interface ProgressMap


@NullMarked public interface ProgressMap
플레이어 발전 과제 진행도 맵
  • Method Details

    • getData

      진행도 맵의 데이터를 가져옵니다.
      Returns:
      수정할 수 없는 데이터 맵
    • iterator

      void iterator(BiConsumer<NamespacedKey,CriteriaProgress> action)
      진행도 맵에 대하여 반복을 실행합니다.
      Parameters:
      action - 수행할 작업
    • newProgress

      주어진 발전 과제에 대하여 새로운 진행도를 생성하고 추가합니다.
      Parameters:
      key - 대상 발전 과제의 키
      criteria - 기준 달성 목록
      Returns:
      생성된 진행도
    • newCountProgress

      CountableProgress newCountProgress(NamespacedKey key, int currentCount, @Nullable Instant obtainedTime)
      주어진 발전 과제에 대하여 새로운 카운트 형식의 진행도를 생성하고 추가합니다.
      Parameters:
      key - 대상 발전 과제의 키
      currentCount - 현재 카운트
      obtainedTime - 기준 달성 시간 (null인 경우 달성하지 않음)
      Returns:
      생성된 카운트 형식의 진행도