Assets
constAssets:object
Defined in: client/api.d.ts:1454
What the server streams, seen from this machine. Models, materials, textures, sounds and particle libraries a server streams load by path like the game’s own – objects/kcdc/<resource>/chair.cgf works wherever a model path does – so nothing here is needed to use them. Clips play through the server’s playAnimation("", { clip }).
Type Declaration
Section titled “Type Declaration”has(
path):boolean
Whether the session’s streamed assets carry a file at this path. Only new assets count; a replaced stock file is the game’s own path.
Parameters
Section titled “Parameters”string
Path inside the game’s data, as a server streams it – objects/kcdc/<resource>/chair.cgf.
Returns
Section titled “Returns”boolean
True when a mounted stream-lane pak carries it.