cturtle/manifest
include "cturtle/manifest";
Types
GameManifestInfo
Native struct
| Field | Type | Writable | Description |
|---|---|---|---|
valid | bool | no | |
status | int | no | |
error | string | no | |
manifestPath | string | no | |
projectRoot | string | no | |
gameName | string | no | |
gameVersion | string | no | Your game's own version: the semantic version string in game.json's top-level version (for example "0.3.1"), or "" when the manifest doesn't give one. |
assetRegistryPath | string | no | |
assetRegistryUri | string | no | |
assetRegistryProjectRelative | bool | no | |
assetRegistryExplicit | bool | no | |
sceneUri | string | no | |
sceneProjectRelative | bool | no |
close infallible
infallible fn close()
Functions
game_manifest_read infallible
infallible fn game_manifest_read(string manifestPath) -> GameManifestInfo
game_module_include
fn game_module_include(
string manifestPath,
string sourcePath,
string includePath) -> string