Skip to main content

Module content_pack

Module content_pack 

Source
Expand description

Sim content packs — versioned assets/ trees published beside client gfx.

Constants§

SIM_PACK_ASSET_DIRS
Relative directories under assets/ included in the sim pack (worker ContentBundle).

Functions§

build_sim_pack_index
Build a file index for sim content under repo_root/assets/….
download_sim_pack
Download sim pack publish_rev into dest_root/assets/… (repo-shaped tree).
ensure_sim_pack_cached
Fetch sim latest.json, download pack if needed, return repo-shaped root.
resolve_sim_pack_file
Resolve an on-disk path for a sim pack relative key (world/segments/…).
sim_pack_cache_dir
Cache directory for a downloaded sim pack rev.
upload_sim_pack
Upload sim pack files + latest.json via the configured asset store.