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) • 400 B
TypeScript
import BinaryStream from '../../../common/binarystream';
import RandomUnit from './randomunit';
/**
* A random unit table.
*/
export default class RandomUnitTable {
id: number;
name: string;
positions: number;
columnTypes: Int32Array;
units: RandomUnit[];
load(stream: BinaryStream): void;
save(stream: BinaryStream): void;
getByteLength(): number;
}