UNPKG

packme-js

Version:

Blazing fast binary serialization via auto-generated classes from simple JSON manifest files.

44 lines (40 loc) 635 B
{ "half_life_version": [ "one", "two", "four" ], "info_entity": { "string": "string", "value": "uint32", "flag": "bool", "version": "@half_life_version" }, "info_subclass@info_entity": { "weight": "double", "comment": "string" }, "send_info": [ { "id": ["uint8"], "notes": ["string"], "version": "@half_life_version", "entity": "@info_entity", "sub_entity": "@info_subclass" } ], "get_data": [ { "id": ["uint8"], "?limit": "uint16" }, { "items": [{ "?string": "string", "?value": "uint32", "?flag": "bool", "?version": "@half_life_version" }] } ] }