UNPKG

beth-parser

Version:

Parser library for Bethesda's Creation Engine data files

36 lines 1.56 kB
"use strict"; /** * Various modfile constants and structures as defined in https://en.uesp.net/wiki/Tes5Mod:Mod_File_Format. * Only for constants that are universally important or of use byt the parser library. * @packageDocumentation */ exports.__esModule = true; /** * Well known GRUP record types. */ var GroupType; (function (GroupType) { GroupType[GroupType["ROOT"] = -1] = "ROOT"; GroupType[GroupType["TOP"] = 0] = "TOP"; GroupType[GroupType["WORLD_CHILDREN"] = 1] = "WORLD_CHILDREN"; GroupType[GroupType["INTERIOR_CELL_BLOCK"] = 2] = "INTERIOR_CELL_BLOCK"; GroupType[GroupType["INTERIOR_CELL_SUBBLOCK"] = 3] = "INTERIOR_CELL_SUBBLOCK"; GroupType[GroupType["EXTERIOR_CELL_BLOCK"] = 4] = "EXTERIOR_CELL_BLOCK"; GroupType[GroupType["EXTERIOR_CELL_SUBBLOCK"] = 5] = "EXTERIOR_CELL_SUBBLOCK"; GroupType[GroupType["CELL_CHILDREN"] = 6] = "CELL_CHILDREN"; GroupType[GroupType["TOPIC_CHILDREN"] = 7] = "TOPIC_CHILDREN"; GroupType[GroupType["CELL_PERSISTENT_CHILDREN"] = 8] = "CELL_PERSISTENT_CHILDREN"; GroupType[GroupType["CELL_TEMPORARY_CHILDREN"] = 9] = "CELL_TEMPORARY_CHILDREN"; })(GroupType = exports.GroupType || (exports.GroupType = {})); ; /** * Well known and used record flags. */ var RecordFlag; (function (RecordFlag) { /** * Record data is compressed with ZLIB. */ RecordFlag[RecordFlag["ZLIB_COMPRESSED"] = 262144] = "ZLIB_COMPRESSED"; })(RecordFlag = exports.RecordFlag || (exports.RecordFlag = {})); //# sourceMappingURL=ModfileDefs.js.map