Package dev.deepcore.challenge.session
package dev.deepcore.challenge.session
Session lifecycle services for prep, run, pause, completion, and UI state.
-
ClassDescriptionRuns and manages a repeating action-bar broadcast task.Schedules and manages the post-dragon-kill return-to-lobby countdown.Schedules and applies degrading-inventory slot reductions during active runs.Provides filtered views over online players and active participants.Captures and restores player run state when pausing to lobby.Handles player game-mode enforcement and lobby loadout application.Manages prep-area border assignment and movement clamping.Manages the prep-phase ready countdown task lifecycle.Coordinates prep-book and prep-GUI interactions plus GUI page state.Routes prep GUI click flow for page navigation, toggles, and history paging.Coordinates prep readiness checks and countdown transitions.Applies prep GUI settings mutations with related normalization rules.Coordinates dragon-kill completion flow, run record persistence, and return countdown.Coordinates shared-vitals event handling and initial-half-heart health state.Coordinates pause/resume lifecycle transitions for an active run.Tracks run milestone progress and computes split durations for record storage.Immutable run-progress view model for action-bar/status rendering.Immutable split-duration values used for persisted run records.Encapsulates pre-run guard checks and related player messaging.Coordinates run start transitions and participant preparation.Coordinates run progress sampling and action-bar status rendering.Formats run status text for action bars and split logging.Evaluates run-failure conditions and performs reset flow when triggered.Provides a single operations facade over session-level service actions.Provides centralized participant and challenge-state queries for session services.Coordinates player lifecycle events across prep/countdown/run phases.Coordinates world-rule synchronization and shared-vitals policy application.Holds current challenge session phase and shared timing state.Represents the top-level lifecycle phases of a challenge session.Tracks run start and paused-duration timing values for a session.Coordinates top-level session transitions between prep and run phases.Coordinates run action-bar updates and lobby sidebar refresh scheduling.Immutable sidebar data prepared by the session layer before UI rendering.Builds SidebarModel instances from current session and records state.Tracks named tasks and guarantees replace/cancel behavior from one place.