UNPKG

warscript

Version:

A typescript library for Warcraft III using Warpack.

38 lines (37 loc) 1.55 kB
/// <reference types="warpack-types/warpack" /> /** @noSelfInFile */ import { ObjectDataEntry, ObjectDataEntryConstructor, ObjectDataEntryId } from "../entry"; import { Color } from "../../../core/types/color"; export type LightningTypeId = ObjectDataEntryId & { readonly __lightningTypeId: unique symbol; }; export type StandardLightningTypeId = LightningTypeId & { readonly __standardLightningTypeId: unique symbol; }; export declare class LightningType extends ObjectDataEntry<LightningTypeId> { static readonly [id: StandardLightningTypeId]: ObjectDataEntryConstructor<LightningType>; static readonly BASE_ID: LightningTypeId; private static readonly idGenerator; protected static generateId(): number; protected static getObjectData(map: WarMap): WarObjects; get name(): string; set name(name: string); get textureFilePath(): string; set textureFilePath(textureFilePath: string); get popcornFxFilePath(): string; set popcornFxFilePath(popcornFxFilePath: string); get averageSegmentLength(): number; set averageSegmentLength(averageSegmentLength: number); get width(): number; set width(width: number); get tintingColor(): Color; set tintingColor(tintingColor: Color); get noiseScale(): number; set noiseScale(noiseScale: number); get textureCoordinatesScale(): number; set textureCoordinatesScale(textureCoordinatesScale: number); get duration(): number; set duration(duration: number); get version(): number; set version(version: number); }