homm3-parsers
Version:
Collection of binary parsers able to parse various file formats related to Heroes of Might and Magic III
7 lines • 634 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const binary_markup_1 = require("binary-markup");
const common_bml_1 = require("./common.bml");
const constants_1 = require("./constants");
exports.info = binary_markup_1.struct(binary_markup_1.flag `hasHero`, binary_markup_1.uint32 `mapSize`, binary_markup_1.flag `hasTwoLevels`, common_bml_1.hommString `name`, common_bml_1.hommString `description`, binary_markup_1.enums(binary_markup_1.uint8, constants_1.difficultyEnum) `difficulty`, binary_markup_1.when(common_bml_1.isNotRoE, binary_markup_1.uint8) `masteryCap`);
//# sourceMappingURL=info.bml.js.map