Skip to main content

cturtle/manifest

include "cturtle/manifest";

Types​

GameManifestInfo​

Native struct

FieldTypeWritableDescription
validboolno
statusintno
errorstringno
manifestPathstringno
projectRootstringno
gameNamestringno
gameVersionstringnoYour 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.
assetRegistryPathstringno
assetRegistryUristringno
assetRegistryProjectRelativeboolno
assetRegistryExplicitboolno
sceneUristringno
sceneProjectRelativeboolno

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