registerPackagedSideModules
此内容尚不支持你的语言。
registerPackagedSideModules(
config):void
Defined in: runtime/packagedRuntime.ts:124
Register the project modules this build staged, so sideModules.acquire(id)
resolves them the way it resolves the engine’s own.
Every realm calls this after reading its config and before anything acquires — one line each rather than one clever shared boot, because the four realms do not share a boot: the web fetches its config, native reads it off disk, a mini-game requires it, and a playable has it inlined.
Parameters
Section titled “Parameters”config
Section titled “config”Pick<PackagedGameConfig, "sideModules">
Returns
Section titled “Returns”void