Type Alias: VersionSource
VersionSource =
"--game-version"|"entry export"|"package.json"|"engine default"
Defined in: loadEntry.ts:34
Where the game version in a capture came from.
Remarks
Worth surfacing, because the whole "you changed the shape but not the version" check is only as trustworthy as this.
The engine's configured version is normally out of reach: games pass it to
Game.init() from their React entry point, which imports stylesheets and
components and so cannot be loaded here. Hence the fallback chain, in
decreasing order of trustworthiness:
"--game-version"- an explicit value from the command line"entry export"- agameVersionstring exported by the entry module"package.json"- the version in the nearest manifest"engine default"- whatever the engine holds, usually just its default