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) • 459 B
TypeScript
import BinaryStream from '../../../common/binarystream';
/**
* A modification.
*/
export default class Modification {
id: string;
variableType: number;
levelOrVariation: number;
dataPointer: number;
value: number | string;
u1: number;
load(stream: BinaryStream, useOptionalInts: boolean): void;
save(stream: BinaryStream, useOptionalInts: boolean): void;
getByteLength(useOptionalInts: boolean): number;
}