Class RunCompletionService

java.lang.Object
dev.deepcore.challenge.session.RunCompletionService

public final class RunCompletionService extends Object
Coordinates dragon-kill completion flow, run record persistence, and return countdown.
  • Constructor Details

    • RunCompletionService

      public RunCompletionService(SessionState sessionState, RunProgressService runProgressService, CompletionReturnService completionReturnService, Supplier<RunRecordsService> recordsServiceSupplier, Set<UUID> participants, Supplier<WorldResetManager> worldResetManagerSupplier, Runnable endChallengeAndReturnToPrep, DeepCoreLogger log)
      Creates a run completion service.
      Parameters:
      sessionState - mutable session phase/timing state
      runProgressService - run progress and split tracking service
      completionReturnService - completion return countdown service
      recordsServiceSupplier - supplier for records persistence service
      participants - participant UUID set for current run
      worldResetManagerSupplier - supplier for world reset manager
      endChallengeAndReturnToPrep - fallback action to return session to prep
      log - logger for completion lifecycle messages
  • Method Details

    • handleEntityDeath

      public void handleEntityDeath(org.bukkit.event.entity.EntityDeathEvent event)
      Handles entity death events and triggers completion flow on dragon kill.
      Parameters:
      event - entity death event to inspect