five-on-it / packages/protocol/src/messages / LevelRef
Variable: LevelRef
constLevelRef:ZodObject<{bytes:ZodNumber;hash:ZodString; },$strip>
Defined in: packages/protocol/src/messages.ts:332
A level the welcome names instead of carrying it: the SHA-256 of its JSON (hex) and the JSON's length in bytes. The game server that sent the welcome serves it at levelFilePath (immutable, so a client keeps it by its hash and loads it again from there).