patchwork-mapconverter
Version:
Executable wrapper for https://github.com/ChiefOfGxBxL/WC3MapTranslator
42 lines (41 loc) • 939 B
TypeScript
declare enum TableType {
original = "original",
custom = "custom"
}
declare enum ModificationType {
int = "int",
real = "real",
unreal = "unreal",
string = "string"
}
declare enum FileTypeExtension {
units = "w3u",
items = "w3t",
destructables = "w3b",
doodads = "w3d",
abilities = "w3a",
buffs = "w3h",
upgrades = "w3q"
}
declare enum ObjectType {
Units = "units",
Items = "items",
Destructables = "destructables",
Doodads = "doodads",
Abilities = "abilities",
Buffs = "buffs",
Upgrades = "upgrades"
}
interface Modification {
id: string;
type: ModificationType;
value: unknown;
level?: number;
column?: number;
variation?: number;
}
interface ObjectModificationTable {
original: object;
custom: object;
}
export { TableType, ModificationType, FileTypeExtension, ObjectType, type Modification, type ObjectModificationTable };