mdx-m3-viewer
Version:
A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.
21 lines (18 loc) • 657 B
text/typescript
import BinaryStream from '../../common/binarystream';
import IndexEntry from './indexentry';
/**
* An unsupported entry.
*
* This is used for entries that have known structures (or at least sizes), but this parser isn't going to actually parse.
* The entry will contain its own reader and version, in case the client code wants to do anything with it.
*/
export default class M3ParserUnsupportedEntry {
reader: BinaryStream;
version: number;
index: IndexEntry[];
constructor(reader: BinaryStream, version: number, index: IndexEntry[]) {
this.reader = reader;
this.version = version;
this.index = index;
}
}