UNPKG

mdx-m3-viewer

Version:

A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.

16 lines (15 loc) 385 B
import MpqCrypto from './crypto'; import MpqBlock from './block'; /** * A block table. */ export default class BlockTable { c: MpqCrypto; entries: MpqBlock[]; constructor(c: MpqCrypto); add(buffer: ArrayBuffer): MpqBlock; clear(): void; addEmpties(howMany: number): void; load(bytes: Uint8Array): void; save(bytes: Uint8Array): void; }