Files
WT-Offline/packages/blk/src/index.ts
T
N0VAN0M4LY c01ee8ae5a Add store and marketplace deep links and coupon resale
Register bundle GUIDs at build time and return local store item URLs.
Route marketplace item links to the requested coupon. Update vehicle
and cosmetic prices from the marketplace snapshot and support selling
coupons back to the system at the configured fee.

Type checking, an isolated build, and local service checks passed.
In-game acceptance is pending.
2026-11-26 07:12:38 +08:00

16 lines
842 B
TypeScript

/**
* BLK documents, the data format of the Dagor engine: decode the binary forms found in the
* game's data packs, keep every value's type, and encode a self-contained binary document
* the game accepts.
*
* Format source: DagorEngine prog/engine/ioSys/dataBlock/ (BSD-3).
*/
export type { BlkBlock, BlkParam, BlkValue, BlkValueType } from './model.ts';
export { emptyBlock } from './model.ts';
export { BlkFormatError } from './errors.ts';
export { BlkLabel, decodeBlk, encodeBlk, type SharedNameContext } from './binary/format.ts';
export { parseSharedNameMap, type SharedNameMap } from './shared-name-map.ts';
export { appendParam, ensureBlock, findBlock, findParam, setParam, visitParams } from './tree.ts';
export { formatBlkText } from './text/format-text.ts';
export { singleVehiclePackId, stableGuid } from './stable-guid.ts';