UNPKG

@colyseus/schema

Version:

Binary state serializer with delta encoding for games

18 lines 733 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.$childType = exports.$changes = exports.$deleteByIndex = exports.$getByIndex = exports.$decoder = exports.$encoder = exports.$track = void 0; exports.$track = Symbol("$track"); exports.$encoder = Symbol("$encoder"); exports.$decoder = Symbol("$decoder"); exports.$getByIndex = Symbol("$getByIndex"); exports.$deleteByIndex = Symbol("$deleteByIndex"); /** * Used to hold ChangeTree instances whitin the structures */ exports.$changes = Symbol('$changes'); /** * Used to keep track of the type of the child elements of a collection * (MapSchema, ArraySchema, etc.) */ exports.$childType = Symbol('$childType'); //# sourceMappingURL=consts.js.map