gulp-armapbo
Version:
The plugin for Gulp which allows to pack ArmA pbo files from sources.
17 lines (15 loc) • 611 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const headerEntry_1 = require("./headerEntry");
const packingMethod_1 = require("./packingMethod");
class Header {
constructor(extensions, entries) {
this.signature = headerEntry_1.HeaderEntry.getSignatureEntry();
this.boundary = headerEntry_1.HeaderEntry.getBoundaryEntry();
this.extensions = extensions;
this.entries = entries;
this.packed = entries.some(e => e.packingMethod === packingMethod_1.PackingMethod.packed);
}
}
exports.Header = Header;
//# sourceMappingURL=header.js.map