Skip to main content

Module gameplay_chunk_lookup_cache

Module gameplay_chunk_lookup_cache 

Source
Expand description

Scoped holder cache for synchronous gameplay chunk lookups.

Scopes may only cover intervals where active-map membership is stable. The cache retains holder identity (including map absence), but never generation permission or published status; those remain live per lookup.

Structsยง

ActiveCache ๐Ÿ”’
CacheEntry ๐Ÿ”’
CacheOwner ๐Ÿ”’
GameplayChunkLookupCacheScope ๐Ÿ”’
Installs an empty cache until the scope is finished or dropped.
GameplayChunkLookupCacheStats
Lookup statistics collected without synchronization inside one cache scope.
LocalFullChunkHolderCache ๐Ÿ”’
A tiny holder cache for repeated, live Full-chunk block-state reads.
LocalFullChunkHolderCacheEntry ๐Ÿ”’

Enumsยง

CacheEntryProbe ๐Ÿ”’
CacheProbe ๐Ÿ”’

Constantsยง

ACTIVE_CACHE ๐Ÿ”’
CACHE_ENTRY_COUNT ๐Ÿ”’
NEXT_SCOPE_ID ๐Ÿ”’

Functionsยง

active_scope_id ๐Ÿ”’
live_full_block_state ๐Ÿ”’
lookup_or_insert_for_owner ๐Ÿ”’
lookup_or_insert_with ๐Ÿ”’
next_scope_id ๐Ÿ”’