Skip to main content

Module chunk_holder

Module chunk_holder 

Source
Expand description

ChunkHolder manages chunk state and asynchronous generation tasks.

StructsΒ§

ChangedLightSectionSets πŸ”’
ChangedLightSections
Pending light sections to send to players tracking a chunk.
ChunkHolder
Holds chunk data and coordinates asynchronous generation work.
ChunkSaveDependency πŸ”’
ChunkSavePreparationGuard πŸ”’
Reservation of a holder’s save-preparation phase.
StatusWorkClaim πŸ”’
TickingReadinessSnapshot πŸ”’
Exact ticking-readiness generation captured by concurrent consumers.

EnumsΒ§

PostProcessGenerationError πŸ”’
TickingReadiness πŸ”’

ConstantsΒ§

NO_TICKET_LEVEL πŸ”’
SAVE_LIFECYCLE_ACTIVE πŸ”’
SAVE_LIFECYCLE_PREPARING πŸ”’
SAVE_LIFECYCLE_UNLOADING πŸ”’
STATUS_NONE πŸ”’
UNPUBLISHED_STATUS πŸ”’

StaticsΒ§

SLOW_CHUNK_GEN
When true, each chunk generation stage sleeps 200 ms after completing. Set by the spawn progress display to make the terminal grid visible.

FunctionsΒ§

decoded_published_status πŸ”’
encoded_published_status πŸ”’
optional_ticket_level_from_raw πŸ”’
optional_ticket_level_raw πŸ”’
rayon_spawn πŸ”’