warscript
Version:
A typescript library for Warcraft III using Warpack.
50 lines (49 loc) • 1.9 kB
TypeScript
/// <reference types="warpack-types/warpack" />
/** @noSelfInFile */
import { ArmorSoundType } from "../auxiliary/armor-sound-type";
import { ObjectDataEntry, ObjectDataEntryId } from "../entry";
import type { AbilityTypeId } from "./ability-type";
export type ItemTypeId = ObjectDataEntryId & {
readonly __itemTypeId: unique symbol;
};
export declare class ItemType extends ObjectDataEntry<ItemTypeId> {
private static readonly idGenerator;
protected static generateId(): number;
protected static getObjectData(map: WarMap): WarObjects;
get abilityTypeIds(): AbilityTypeId[];
set abilityTypeIds(abilityTypeIds: AbilityTypeId[]);
get iconPath(): string;
set iconPath(iconPath: string);
get iconPathSD(): string;
set iconPathSD(iconPathSD: string);
get iconPathHD(): string;
set iconPathHD(iconPathHD: string);
get modelPath(): string;
set modelPath(modelPath: string);
get modelPathSD(): string;
set modelPathSD(modelPathSD: string);
get modelPathHD(): string;
set modelPathHD(modelPathHD: string);
get scale(): number;
set scale(scale: number);
get scaleSD(): number;
set scaleSD(scaleSD: number);
get scaleHD(): number;
set scaleHD(scaleHD: number);
get armorSoundType(): ArmorSoundType;
set armorSoundType(armorSoundType: ArmorSoundType);
get armorSoundTypeSD(): ArmorSoundType;
set armorSoundTypeSD(armorSoundTypeSD: ArmorSoundType);
get armorSoundTypeHD(): ArmorSoundType;
set armorSoundTypeHD(armorSoundTypeHD: ArmorSoundType);
get description(): string;
set description(description: string);
get hotkey(): string;
set hotkey(hotkey: string);
get name(): string;
set name(name: string);
get tooltipText(): string;
set tooltipText(tooltipText: string);
get tooltipExtendedText(): string;
set tooltipExtendedText(tooltipText: string);
}