AssetManifest beta
Interface of @v12-engine/client
export interface AssetManifestWhat a game's folder says it holds
Members
categories
categories?: Record<string, Omit<AssetCategory, 'id'>>;The game's categories of files, by id ({ "my-weapons": { "name": "My weapons", "files": ["models/blades/*"] } }): what the editor sorts them into, and writes when a file is put in one. See AssetCategory
credits
credits?: Record<string, string>;Who made the game's own files, under which licence: by path, or by a folder's prefix (models/orcs/)
icons
icons?: string[];Pictures of buttons, by their path in icons/
images
images?: string[];Other pictures, of loading screens and the like, by their path in images/
levels
levels?: Record<string, number>;The models that have lighter levels made beside them (npm run lod: <model>.lod1.glb and on), by their path, and how many: what the client draws them with from farther away (DetailLevel.ratio)
models
models?: string[];Models, by the path a ModelDef.src gives them
music
music?: string[];Music tracks, by name, in music/
sounds
sounds?: Record<string, number>;Sounds, by name: how many takes of each, name_1.mp3... or name.mp3 for one
tags
tags?: Record<string, string[]>;Words the game's own files are found by in the editor, by path
textures
textures?: string[];Textures, of the ground and the like, by their path in textures/
videos
videos?: string[];Videos (MP4, WebM), of a cinematic's video lane, by their path in videos/