Skip to content

sco.content

Methods and entrypoints for sco.content.

Source: sco_content.h, implementation, layout pin. G14 audit/design records why the private index and command registry were insufficient. This game-neutral service copies enabled list/script pack bytes before consumer loads. Only startup snapshots are exposed; no file paths or script execution. All calls require the game thread and live self. Global limits: 4096 items, 16 MiB bytes; 1 MiB per file. A pack is refused atomically on unsafe/unreadable content or quotas, including dependent packs. Size handshakes are binary: no appended NUL. Host restart invalidates old IDs. C++ scosdk/content.hpp guards full extents/null pointers and failed reopen; C#/Lua are not exposed. Synthetic kernel-only fixtures are not game evidence.