Skip to content

five-on-it / packages/protocol/src/platform / BuildManifest

Variable: BuildManifest ​

const BuildManifest: ZodObject<{ game: ZodNumber; generator: ZodOptional<ZodObject<{ blender: ZodOptional<ZodString>; release: ZodString; scripts: ZodOptional<ZodString>; }, $strip>>; level: ZodNumber; protocol: ZodNumber; release: ZodString; }, $strip>

Defined in: packages/protocol/src/platform.ts:37

What a game was built with (every build's and every published version's): the release of the API that built it and its protocol, the formats of its game document and its level (@foi/missions' GAME_SCHEMA_VERSION, @foi/world's LEVEL_SCHEMA_VERSION), and, for a generated level, the generator's (the release whose solver laid out a region, the hash of the town generator's scripts and Blender's version when Blender built towns). A game is played as it was built: a game server reads its artifact if it is at least the release line that built it (unplayableReason), and the fleet places it only on such.