UNPKG

warscript

Version:

A typescript library for Warcraft III using Warpack.

1,197 lines (1,196 loc) 355 kB
/** @noSelfInFile */ declare interface jhandle { __jhandle: never } declare interface jagent extends jhandle { __jagent: never } declare interface jevent extends jagent { __jevent: never } declare interface jplayer extends jagent { __jplayer: never } declare interface jwidget extends jagent { __jwidget: never } declare interface junit extends jwidget { __junit: never } declare interface jdestructable extends jwidget { __jdestructable: never } declare interface jitem extends jwidget { __jitem: never } declare interface jability extends jagent { __jability: never } declare interface jbuff extends jability { __jbuff: never } declare interface jforce extends jagent { __jforce: never } declare interface jgroup extends jagent { __jgroup: never } declare interface jtrigger extends jagent { __jtrigger: never } declare interface jtriggercondition extends jagent { __jtriggercondition: never } declare interface jtriggeraction extends jhandle { __jtriggeraction: never } declare interface jtimer extends jagent { __jtimer: never } declare interface jlocation extends jagent { __jlocation: never } declare interface jregion extends jagent { __jregion: never } declare interface jrect extends jagent { __jrect: never } declare interface jboolexpr extends jagent { __jboolexpr: never } declare interface jsound extends jagent { __jsound: never } declare interface jconditionfunc extends jboolexpr { __jconditionfunc: never } declare interface jfilterfunc extends jboolexpr { __jfilterfunc: never } declare interface junitpool extends jhandle { __junitpool: never } declare interface jitempool extends jhandle { __jitempool: never } declare interface jrace extends jhandle { __jrace: never } declare interface jalliancetype extends jhandle { __jalliancetype: never } declare interface jracepreference extends jhandle { __jracepreference: never } declare interface jgamestate extends jhandle { __jgamestate: never } declare interface jigamestate extends jgamestate { __jigamestate: never } declare interface jfgamestate extends jgamestate { __jfgamestate: never } declare interface jplayerstate extends jhandle { __jplayerstate: never } declare interface jplayerscore extends jhandle { __jplayerscore: never } declare interface jplayergameresult extends jhandle { __jplayergameresult: never } declare interface junitstate extends jhandle { __junitstate: never } declare interface jaidifficulty extends jhandle { __jaidifficulty: never } declare interface jeventid extends jhandle { __jeventid: never } declare interface jgameevent extends jeventid { __jgameevent: never } declare interface jplayerevent extends jeventid { __jplayerevent: never } declare interface jplayerunitevent extends jeventid { __jplayerunitevent: never } declare interface junitevent extends jeventid { __junitevent: never } declare interface jlimitop extends jeventid { __jlimitop: never } declare interface jwidgetevent extends jeventid { __jwidgetevent: never } declare interface jdialogevent extends jeventid { __jdialogevent: never } declare interface junittype extends jhandle { __junittype: never } declare interface jgamespeed extends jhandle { __jgamespeed: never } declare interface jgamedifficulty extends jhandle { __jgamedifficulty: never } declare interface jgametype extends jhandle { __jgametype: never } declare interface jmapflag extends jhandle { __jmapflag: never } declare interface jmapvisibility extends jhandle { __jmapvisibility: never } declare interface jmapsetting extends jhandle { __jmapsetting: never } declare interface jmapdensity extends jhandle { __jmapdensity: never } declare interface jmapcontrol extends jhandle { __jmapcontrol: never } declare interface jminimapicon extends jhandle { __jminimapicon: never } declare interface jplayerslotstate extends jhandle { __jplayerslotstate: never } declare interface jvolumegroup extends jhandle { __jvolumegroup: never } declare interface jcamerafield extends jhandle { __jcamerafield: never } declare interface jcamerasetup extends jhandle { __jcamerasetup: never } declare interface jplayercolor extends jhandle { __jplayercolor: never } declare interface jplacement extends jhandle { __jplacement: never } declare interface jstartlocprio extends jhandle { __jstartlocprio: never } declare interface jraritycontrol extends jhandle { __jraritycontrol: never } declare interface jblendmode extends jhandle { __jblendmode: never } declare interface jtexmapflags extends jhandle { __jtexmapflags: never } declare interface jeffect extends jagent { __jeffect: never } declare interface jeffecttype extends jhandle { __jeffecttype: never } declare interface jweathereffect extends jhandle { __jweathereffect: never } declare interface jterraindeformation extends jhandle { __jterraindeformation: never } declare interface jfogstate extends jhandle { __jfogstate: never } declare interface jfogmodifier extends jagent { __jfogmodifier: never } declare interface jdialog extends jagent { __jdialog: never } declare interface jbutton extends jagent { __jbutton: never } declare interface jquest extends jagent { __jquest: never } declare interface jquestitem extends jagent { __jquestitem: never } declare interface jdefeatcondition extends jagent { __jdefeatcondition: never } declare interface jtimerdialog extends jagent { __jtimerdialog: never } declare interface jleaderboard extends jagent { __jleaderboard: never } declare interface jmultiboard extends jagent { __jmultiboard: never } declare interface jmultiboarditem extends jagent { __jmultiboarditem: never } declare interface jtrackable extends jagent { __jtrackable: never } declare interface jgamecache extends jagent { __jgamecache: never } declare interface jversion extends jhandle { __jversion: never } declare interface jitemtype extends jhandle { __jitemtype: never } declare interface jtexttag extends jhandle { __jtexttag: never } declare interface jattacktype extends jhandle { __jattacktype: never } declare interface jdamagetype extends jhandle { __jdamagetype: never } declare interface jweapontype extends jhandle { __jweapontype: never } declare interface jsoundtype extends jhandle { __jsoundtype: never } declare interface jlightning extends jhandle { __jlightning: never } declare interface jpathingtype extends jhandle { __jpathingtype: never } declare interface jmousebuttontype extends jhandle { __jmousebuttontype: never } declare interface janimtype extends jhandle { __janimtype: never } declare interface jsubanimtype extends jhandle { __jsubanimtype: never } declare interface jimage extends jhandle { __jimage: never } declare interface jubersplat extends jhandle { __jubersplat: never } declare interface jhashtable extends jagent { __jhashtable: never } declare interface jframehandle extends jhandle { __jframehandle: never } declare interface joriginframetype extends jhandle { __joriginframetype: never } declare interface jframepointtype extends jhandle { __jframepointtype: never } declare interface jtextaligntype extends jhandle { __jtextaligntype: never } declare interface jframeeventtype extends jhandle { __jframeeventtype: never } declare type joskeytype = symbol & jhandle & { __joskeytype: never } declare interface jabilityintegerfield extends jhandle { __jabilityintegerfield: never } declare interface jabilityrealfield extends jhandle { __jabilityrealfield: never } declare interface jabilitybooleanfield extends jhandle { __jabilitybooleanfield: never } declare interface jabilitystringfield extends jhandle { __jabilitystringfield: never } declare interface jabilityintegerlevelfield extends jhandle { __jabilityintegerlevelfield: never } declare interface jabilityreallevelfield extends jhandle { __jabilityreallevelfield: never } declare interface jabilitybooleanlevelfield extends jhandle { __jabilitybooleanlevelfield: never } declare interface jabilitystringlevelfield extends jhandle { __jabilitystringlevelfield: never } declare interface jabilityintegerlevelarrayfield extends jhandle { __jabilityintegerlevelarrayfield: never } declare interface jabilityreallevelarrayfield extends jhandle { __jabilityreallevelarrayfield: never } declare interface jabilitybooleanlevelarrayfield extends jhandle { __jabilitybooleanlevelarrayfield: never } declare interface jabilitystringlevelarrayfield extends jhandle { __jabilitystringlevelarrayfield: never } declare interface junitintegerfield extends jhandle { __junitintegerfield: never } declare interface junitrealfield extends jhandle { __junitrealfield: never } declare interface junitbooleanfield extends jhandle { __junitbooleanfield: never } declare interface junitstringfield extends jhandle { __junitstringfield: never } declare interface junitweaponintegerfield extends jhandle { __junitweaponintegerfield: never } declare interface junitweaponrealfield extends jhandle { __junitweaponrealfield: never } declare interface junitweaponbooleanfield extends jhandle { __junitweaponbooleanfield: never } declare interface junitweaponstringfield extends jhandle { __junitweaponstringfield: never } declare interface jitemintegerfield extends jhandle { __jitemintegerfield: never } declare interface jitemrealfield extends jhandle { __jitemrealfield: never } declare interface jitembooleanfield extends jhandle { __jitembooleanfield: never } declare interface jitemstringfield extends jhandle { __jitemstringfield: never } declare interface jmovetype extends jhandle { __jmovetype: never } declare interface jtargetflag extends jhandle { __jtargetflag: never } declare interface jarmortype extends jhandle { __jarmortype: never } declare interface jheroattribute extends jhandle { __jheroattribute: never } declare interface jdefensetype extends jhandle { __jdefensetype: never } declare interface jregentype extends jhandle { __jregentype: never } declare interface junitcategory extends jhandle { __junitcategory: never } declare interface jpathingflag extends jhandle { __jpathingflag: never } declare interface jcommandbuttoneffect extends jhandle { __jcommandbuttoneffect: never } declare function ConvertRace(i: number): jrace declare function ConvertAllianceType(i: number): jalliancetype declare function ConvertRacePref(i: number): jracepreference declare function ConvertIGameState(i: number): jigamestate declare function ConvertFGameState(i: number): jfgamestate declare function ConvertPlayerState(i: number): jplayerstate declare function ConvertPlayerScore(i: number): jplayerscore declare function ConvertPlayerGameResult(i: number): jplayergameresult declare function ConvertUnitState(i: number): junitstate declare function ConvertAIDifficulty(i: number): jaidifficulty declare function ConvertGameEvent(i: number): jgameevent declare function ConvertPlayerEvent(i: number): jplayerevent declare function ConvertPlayerUnitEvent(i: number): jplayerunitevent declare function ConvertWidgetEvent(i: number): jwidgetevent declare function ConvertDialogEvent(i: number): jdialogevent declare function ConvertUnitEvent(i: number): junitevent declare function ConvertLimitOp(i: number): jlimitop declare function ConvertUnitType(i: number): junittype declare function ConvertGameSpeed(i: number): jgamespeed declare function ConvertPlacement(i: number): jplacement declare function ConvertStartLocPrio(i: number): jstartlocprio declare function ConvertGameDifficulty(i: number): jgamedifficulty declare function ConvertGameType(i: number): jgametype declare function ConvertMapFlag(i: number): jmapflag declare function ConvertMapVisibility(i: number): jmapvisibility declare function ConvertMapSetting(i: number): jmapsetting declare function ConvertMapDensity(i: number): jmapdensity declare function ConvertMapControl(i: number): jmapcontrol declare function ConvertPlayerColor(i: number): jplayercolor declare function ConvertPlayerSlotState(i: number): jplayerslotstate declare function ConvertVolumeGroup(i: number): jvolumegroup declare function ConvertCameraField(i: number): jcamerafield declare function ConvertBlendMode(i: number): jblendmode declare function ConvertRarityControl(i: number): jraritycontrol declare function ConvertTexMapFlags(i: number): jtexmapflags declare function ConvertFogState(i: number): jfogstate declare function ConvertEffectType(i: number): jeffecttype declare function ConvertVersion(i: number): jversion declare function ConvertItemType(i: number): jitemtype declare function ConvertAttackType(i: number): jattacktype declare function ConvertDamageType(i: number): jdamagetype declare function ConvertWeaponType(i: number): jweapontype declare function ConvertSoundType(i: number): jsoundtype declare function ConvertPathingType(i: number): jpathingtype declare function ConvertMouseButtonType(i: number): jmousebuttontype declare function ConvertAnimType(i: number): janimtype declare function ConvertSubAnimType(i: number): jsubanimtype declare function ConvertOriginFrameType(i: number): joriginframetype declare function ConvertFramePointType(i: number): jframepointtype declare function ConvertTextAlignType(i: number): jtextaligntype declare function ConvertFrameEventType(i: number): jframeeventtype declare function ConvertOsKeyType(i: number): joskeytype declare function ConvertAbilityIntegerField(i: number): jabilityintegerfield declare function ConvertAbilityRealField(i: number): jabilityrealfield declare function ConvertAbilityBooleanField(i: number): jabilitybooleanfield declare function ConvertAbilityStringField(i: number): jabilitystringfield declare function ConvertAbilityIntegerLevelField(i: number): jabilityintegerlevelfield declare function ConvertAbilityRealLevelField(i: number): jabilityreallevelfield declare function ConvertAbilityBooleanLevelField(i: number): jabilitybooleanlevelfield declare function ConvertAbilityStringLevelField(i: number): jabilitystringlevelfield declare function ConvertAbilityIntegerLevelArrayField(i: number): jabilityintegerlevelarrayfield declare function ConvertAbilityRealLevelArrayField(i: number): jabilityreallevelarrayfield declare function ConvertAbilityBooleanLevelArrayField(i: number): jabilitybooleanlevelarrayfield declare function ConvertAbilityStringLevelArrayField(i: number): jabilitystringlevelarrayfield declare function ConvertUnitIntegerField(i: number): junitintegerfield declare function ConvertUnitRealField(i: number): junitrealfield declare function ConvertUnitBooleanField(i: number): junitbooleanfield declare function ConvertUnitStringField(i: number): junitstringfield declare function ConvertUnitWeaponIntegerField(i: number): junitweaponintegerfield declare function ConvertUnitWeaponRealField(i: number): junitweaponrealfield declare function ConvertUnitWeaponBooleanField(i: number): junitweaponbooleanfield declare function ConvertUnitWeaponStringField(i: number): junitweaponstringfield declare function ConvertItemIntegerField(i: number): jitemintegerfield declare function ConvertItemRealField(i: number): jitemrealfield declare function ConvertItemBooleanField(i: number): jitembooleanfield declare function ConvertItemStringField(i: number): jitemstringfield declare function ConvertMoveType(i: number): jmovetype declare function ConvertTargetFlag(i: number): jtargetflag declare function ConvertArmorType(i: number): jarmortype declare function ConvertHeroAttribute(i: number): jheroattribute declare function ConvertDefenseType(i: number): jdefensetype declare function ConvertRegenType(i: number): jregentype declare function ConvertUnitCategory(i: number): junitcategory declare function ConvertPathingFlag(i: number): jpathingflag declare function OrderId(orderIdString: string): number declare function OrderId2String(orderId: number): string declare function UnitId(unitIdString: string): number declare function UnitId2String(unitId: number): string declare function AbilityId(abilityIdString: string): number declare function AbilityId2String(abilityId: number): string declare function GetObjectName(objectId: number): string declare function GetBJMaxPlayers(): number declare function GetBJPlayerNeutralVictim(): number declare function GetBJPlayerNeutralExtra(): number declare function GetBJMaxPlayerSlots(): number declare function GetPlayerNeutralPassive(): number declare function GetPlayerNeutralAggressive(): number declare const FALSE: boolean declare const TRUE: boolean declare const JASS_MAX_ARRAY_SIZE: number declare const PLAYER_NEUTRAL_PASSIVE: number declare const PLAYER_NEUTRAL_AGGRESSIVE: number declare const PLAYER_COLOR_RED: jplayercolor declare const PLAYER_COLOR_BLUE: jplayercolor declare const PLAYER_COLOR_CYAN: jplayercolor declare const PLAYER_COLOR_PURPLE: jplayercolor declare const PLAYER_COLOR_YELLOW: jplayercolor declare const PLAYER_COLOR_ORANGE: jplayercolor declare const PLAYER_COLOR_GREEN: jplayercolor declare const PLAYER_COLOR_PINK: jplayercolor declare const PLAYER_COLOR_LIGHT_GRAY: jplayercolor declare const PLAYER_COLOR_LIGHT_BLUE: jplayercolor declare const PLAYER_COLOR_AQUA: jplayercolor declare const PLAYER_COLOR_BROWN: jplayercolor declare const PLAYER_COLOR_MAROON: jplayercolor declare const PLAYER_COLOR_NAVY: jplayercolor declare const PLAYER_COLOR_TURQUOISE: jplayercolor declare const PLAYER_COLOR_VIOLET: jplayercolor declare const PLAYER_COLOR_WHEAT: jplayercolor declare const PLAYER_COLOR_PEACH: jplayercolor declare const PLAYER_COLOR_MINT: jplayercolor declare const PLAYER_COLOR_LAVENDER: jplayercolor declare const PLAYER_COLOR_COAL: jplayercolor declare const PLAYER_COLOR_SNOW: jplayercolor declare const PLAYER_COLOR_EMERALD: jplayercolor declare const PLAYER_COLOR_PEANUT: jplayercolor declare const RACE_HUMAN: jrace declare const RACE_ORC: jrace declare const RACE_UNDEAD: jrace declare const RACE_NIGHTELF: jrace declare const RACE_DEMON: jrace declare const RACE_OTHER: jrace declare const PLAYER_GAME_RESULT_VICTORY: jplayergameresult declare const PLAYER_GAME_RESULT_DEFEAT: jplayergameresult declare const PLAYER_GAME_RESULT_TIE: jplayergameresult declare const PLAYER_GAME_RESULT_NEUTRAL: jplayergameresult declare const ALLIANCE_PASSIVE: jalliancetype declare const ALLIANCE_HELP_REQUEST: jalliancetype declare const ALLIANCE_HELP_RESPONSE: jalliancetype declare const ALLIANCE_SHARED_XP: jalliancetype declare const ALLIANCE_SHARED_SPELLS: jalliancetype declare const ALLIANCE_SHARED_VISION: jalliancetype declare const ALLIANCE_SHARED_CONTROL: jalliancetype declare const ALLIANCE_SHARED_ADVANCED_CONTROL: jalliancetype declare const ALLIANCE_RESCUABLE: jalliancetype declare const ALLIANCE_SHARED_VISION_FORCED: jalliancetype declare const VERSION_REIGN_OF_CHAOS: jversion declare const VERSION_FROZEN_THRONE: jversion declare const ATTACK_TYPE_NORMAL: jattacktype declare const ATTACK_TYPE_MELEE: jattacktype declare const ATTACK_TYPE_PIERCE: jattacktype declare const ATTACK_TYPE_SIEGE: jattacktype declare const ATTACK_TYPE_MAGIC: jattacktype declare const ATTACK_TYPE_CHAOS: jattacktype declare const ATTACK_TYPE_HERO: jattacktype declare const DAMAGE_TYPE_UNKNOWN: jdamagetype declare const DAMAGE_TYPE_NORMAL: jdamagetype declare const DAMAGE_TYPE_ENHANCED: jdamagetype declare const DAMAGE_TYPE_FIRE: jdamagetype declare const DAMAGE_TYPE_COLD: jdamagetype declare const DAMAGE_TYPE_LIGHTNING: jdamagetype declare const DAMAGE_TYPE_POISON: jdamagetype declare const DAMAGE_TYPE_DISEASE: jdamagetype declare const DAMAGE_TYPE_DIVINE: jdamagetype declare const DAMAGE_TYPE_MAGIC: jdamagetype declare const DAMAGE_TYPE_SONIC: jdamagetype declare const DAMAGE_TYPE_ACID: jdamagetype declare const DAMAGE_TYPE_FORCE: jdamagetype declare const DAMAGE_TYPE_DEATH: jdamagetype declare const DAMAGE_TYPE_MIND: jdamagetype declare const DAMAGE_TYPE_PLANT: jdamagetype declare const DAMAGE_TYPE_DEFENSIVE: jdamagetype declare const DAMAGE_TYPE_DEMOLITION: jdamagetype declare const DAMAGE_TYPE_SLOW_POISON: jdamagetype declare const DAMAGE_TYPE_SPIRIT_LINK: jdamagetype declare const DAMAGE_TYPE_SHADOW_STRIKE: jdamagetype declare const DAMAGE_TYPE_UNIVERSAL: jdamagetype declare const WEAPON_TYPE_WHOKNOWS: jweapontype declare const WEAPON_TYPE_METAL_LIGHT_CHOP: jweapontype declare const WEAPON_TYPE_METAL_MEDIUM_CHOP: jweapontype declare const WEAPON_TYPE_METAL_HEAVY_CHOP: jweapontype declare const WEAPON_TYPE_METAL_LIGHT_SLICE: jweapontype declare const WEAPON_TYPE_METAL_MEDIUM_SLICE: jweapontype declare const WEAPON_TYPE_METAL_HEAVY_SLICE: jweapontype declare const WEAPON_TYPE_METAL_MEDIUM_BASH: jweapontype declare const WEAPON_TYPE_METAL_HEAVY_BASH: jweapontype declare const WEAPON_TYPE_METAL_MEDIUM_STAB: jweapontype declare const WEAPON_TYPE_METAL_HEAVY_STAB: jweapontype declare const WEAPON_TYPE_WOOD_LIGHT_SLICE: jweapontype declare const WEAPON_TYPE_WOOD_MEDIUM_SLICE: jweapontype declare const WEAPON_TYPE_WOOD_HEAVY_SLICE: jweapontype declare const WEAPON_TYPE_WOOD_LIGHT_BASH: jweapontype declare const WEAPON_TYPE_WOOD_MEDIUM_BASH: jweapontype declare const WEAPON_TYPE_WOOD_HEAVY_BASH: jweapontype declare const WEAPON_TYPE_WOOD_LIGHT_STAB: jweapontype declare const WEAPON_TYPE_WOOD_MEDIUM_STAB: jweapontype declare const WEAPON_TYPE_CLAW_LIGHT_SLICE: jweapontype declare const WEAPON_TYPE_CLAW_MEDIUM_SLICE: jweapontype declare const WEAPON_TYPE_CLAW_HEAVY_SLICE: jweapontype declare const WEAPON_TYPE_AXE_MEDIUM_CHOP: jweapontype declare const WEAPON_TYPE_ROCK_HEAVY_BASH: jweapontype declare const PATHING_TYPE_ANY: jpathingtype declare const PATHING_TYPE_WALKABILITY: jpathingtype declare const PATHING_TYPE_FLYABILITY: jpathingtype declare const PATHING_TYPE_BUILDABILITY: jpathingtype declare const PATHING_TYPE_PEONHARVESTPATHING: jpathingtype declare const PATHING_TYPE_BLIGHTPATHING: jpathingtype declare const PATHING_TYPE_FLOATABILITY: jpathingtype declare const PATHING_TYPE_AMPHIBIOUSPATHING: jpathingtype declare const MOUSE_BUTTON_TYPE_LEFT: jmousebuttontype declare const MOUSE_BUTTON_TYPE_MIDDLE: jmousebuttontype declare const MOUSE_BUTTON_TYPE_RIGHT: jmousebuttontype declare const ANIM_TYPE_BIRTH: janimtype declare const ANIM_TYPE_DEATH: janimtype declare const ANIM_TYPE_DECAY: janimtype declare const ANIM_TYPE_DISSIPATE: janimtype declare const ANIM_TYPE_STAND: janimtype declare const ANIM_TYPE_WALK: janimtype declare const ANIM_TYPE_ATTACK: janimtype declare const ANIM_TYPE_MORPH: janimtype declare const ANIM_TYPE_SLEEP: janimtype declare const ANIM_TYPE_SPELL: janimtype declare const ANIM_TYPE_PORTRAIT: janimtype declare const SUBANIM_TYPE_ROOTED: jsubanimtype declare const SUBANIM_TYPE_ALTERNATE_EX: jsubanimtype declare const SUBANIM_TYPE_LOOPING: jsubanimtype declare const SUBANIM_TYPE_SLAM: jsubanimtype declare const SUBANIM_TYPE_THROW: jsubanimtype declare const SUBANIM_TYPE_SPIKED: jsubanimtype declare const SUBANIM_TYPE_FAST: jsubanimtype declare const SUBANIM_TYPE_SPIN: jsubanimtype declare const SUBANIM_TYPE_READY: jsubanimtype declare const SUBANIM_TYPE_CHANNEL: jsubanimtype declare const SUBANIM_TYPE_DEFEND: jsubanimtype declare const SUBANIM_TYPE_VICTORY: jsubanimtype declare const SUBANIM_TYPE_TURN: jsubanimtype declare const SUBANIM_TYPE_LEFT: jsubanimtype declare const SUBANIM_TYPE_RIGHT: jsubanimtype declare const SUBANIM_TYPE_FIRE: jsubanimtype declare const SUBANIM_TYPE_FLESH: jsubanimtype declare const SUBANIM_TYPE_HIT: jsubanimtype declare const SUBANIM_TYPE_WOUNDED: jsubanimtype declare const SUBANIM_TYPE_LIGHT: jsubanimtype declare const SUBANIM_TYPE_MODERATE: jsubanimtype declare const SUBANIM_TYPE_SEVERE: jsubanimtype declare const SUBANIM_TYPE_CRITICAL: jsubanimtype declare const SUBANIM_TYPE_COMPLETE: jsubanimtype declare const SUBANIM_TYPE_GOLD: jsubanimtype declare const SUBANIM_TYPE_LUMBER: jsubanimtype declare const SUBANIM_TYPE_WORK: jsubanimtype declare const SUBANIM_TYPE_TALK: jsubanimtype declare const SUBANIM_TYPE_FIRST: jsubanimtype declare const SUBANIM_TYPE_SECOND: jsubanimtype declare const SUBANIM_TYPE_THIRD: jsubanimtype declare const SUBANIM_TYPE_FOURTH: jsubanimtype declare const SUBANIM_TYPE_FIFTH: jsubanimtype declare const SUBANIM_TYPE_ONE: jsubanimtype declare const SUBANIM_TYPE_TWO: jsubanimtype declare const SUBANIM_TYPE_THREE: jsubanimtype declare const SUBANIM_TYPE_FOUR: jsubanimtype declare const SUBANIM_TYPE_FIVE: jsubanimtype declare const SUBANIM_TYPE_SMALL: jsubanimtype declare const SUBANIM_TYPE_MEDIUM: jsubanimtype declare const SUBANIM_TYPE_LARGE: jsubanimtype declare const SUBANIM_TYPE_UPGRADE: jsubanimtype declare const SUBANIM_TYPE_DRAIN: jsubanimtype declare const SUBANIM_TYPE_FILL: jsubanimtype declare const SUBANIM_TYPE_CHAINLIGHTNING: jsubanimtype declare const SUBANIM_TYPE_EATTREE: jsubanimtype declare const SUBANIM_TYPE_PUKE: jsubanimtype declare const SUBANIM_TYPE_FLAIL: jsubanimtype declare const SUBANIM_TYPE_OFF: jsubanimtype declare const SUBANIM_TYPE_SWIM: jsubanimtype declare const SUBANIM_TYPE_ENTANGLE: jsubanimtype declare const SUBANIM_TYPE_BERSERK: jsubanimtype declare const RACE_PREF_HUMAN: jracepreference declare const RACE_PREF_ORC: jracepreference declare const RACE_PREF_NIGHTELF: jracepreference declare const RACE_PREF_UNDEAD: jracepreference declare const RACE_PREF_DEMON: jracepreference declare const RACE_PREF_RANDOM: jracepreference declare const RACE_PREF_USER_SELECTABLE: jracepreference declare const MAP_CONTROL_USER: jmapcontrol declare const MAP_CONTROL_COMPUTER: jmapcontrol declare const MAP_CONTROL_RESCUABLE: jmapcontrol declare const MAP_CONTROL_NEUTRAL: jmapcontrol declare const MAP_CONTROL_CREEP: jmapcontrol declare const MAP_CONTROL_NONE: jmapcontrol declare const GAME_TYPE_MELEE: jgametype declare const GAME_TYPE_FFA: jgametype declare const GAME_TYPE_USE_MAP_SETTINGS: jgametype declare const GAME_TYPE_BLIZ: jgametype declare const GAME_TYPE_ONE_ON_ONE: jgametype declare const GAME_TYPE_TWO_TEAM_PLAY: jgametype declare const GAME_TYPE_THREE_TEAM_PLAY: jgametype declare const GAME_TYPE_FOUR_TEAM_PLAY: jgametype declare const MAP_FOG_HIDE_TERRAIN: jmapflag declare const MAP_FOG_MAP_EXPLORED: jmapflag declare const MAP_FOG_ALWAYS_VISIBLE: jmapflag declare const MAP_USE_HANDICAPS: jmapflag declare const MAP_OBSERVERS: jmapflag declare const MAP_OBSERVERS_ON_DEATH: jmapflag declare const MAP_FIXED_COLORS: jmapflag declare const MAP_LOCK_RESOURCE_TRADING: jmapflag declare const MAP_RESOURCE_TRADING_ALLIES_ONLY: jmapflag declare const MAP_LOCK_ALLIANCE_CHANGES: jmapflag declare const MAP_ALLIANCE_CHANGES_HIDDEN: jmapflag declare const MAP_CHEATS: jmapflag declare const MAP_CHEATS_HIDDEN: jmapflag declare const MAP_LOCK_SPEED: jmapflag declare const MAP_LOCK_RANDOM_SEED: jmapflag declare const MAP_SHARED_ADVANCED_CONTROL: jmapflag declare const MAP_RANDOM_HERO: jmapflag declare const MAP_RANDOM_RACES: jmapflag declare const MAP_RELOADED: jmapflag declare const MAP_PLACEMENT_RANDOM: jplacement declare const MAP_PLACEMENT_FIXED: jplacement declare const MAP_PLACEMENT_USE_MAP_SETTINGS: jplacement declare const MAP_PLACEMENT_TEAMS_TOGETHER: jplacement declare const MAP_LOC_PRIO_LOW: jstartlocprio declare const MAP_LOC_PRIO_HIGH: jstartlocprio declare const MAP_LOC_PRIO_NOT: jstartlocprio declare const MAP_DENSITY_NONE: jmapdensity declare const MAP_DENSITY_LIGHT: jmapdensity declare const MAP_DENSITY_MEDIUM: jmapdensity declare const MAP_DENSITY_HEAVY: jmapdensity declare const MAP_DIFFICULTY_EASY: jgamedifficulty declare const MAP_DIFFICULTY_NORMAL: jgamedifficulty declare const MAP_DIFFICULTY_HARD: jgamedifficulty declare const MAP_DIFFICULTY_INSANE: jgamedifficulty declare const MAP_SPEED_SLOWEST: jgamespeed declare const MAP_SPEED_SLOW: jgamespeed declare const MAP_SPEED_NORMAL: jgamespeed declare const MAP_SPEED_FAST: jgamespeed declare const MAP_SPEED_FASTEST: jgamespeed declare const PLAYER_SLOT_STATE_EMPTY: jplayerslotstate declare const PLAYER_SLOT_STATE_PLAYING: jplayerslotstate declare const PLAYER_SLOT_STATE_LEFT: jplayerslotstate declare const SOUND_VOLUMEGROUP_UNITMOVEMENT: jvolumegroup declare const SOUND_VOLUMEGROUP_UNITSOUNDS: jvolumegroup declare const SOUND_VOLUMEGROUP_COMBAT: jvolumegroup declare const SOUND_VOLUMEGROUP_SPELLS: jvolumegroup declare const SOUND_VOLUMEGROUP_UI: jvolumegroup declare const SOUND_VOLUMEGROUP_MUSIC: jvolumegroup declare const SOUND_VOLUMEGROUP_AMBIENTSOUNDS: jvolumegroup declare const SOUND_VOLUMEGROUP_FIRE: jvolumegroup declare const GAME_STATE_DIVINE_INTERVENTION: jigamestate declare const GAME_STATE_DISCONNECTED: jigamestate declare const GAME_STATE_TIME_OF_DAY: jfgamestate declare const PLAYER_STATE_GAME_RESULT: jplayerstate declare const PLAYER_STATE_RESOURCE_GOLD: jplayerstate declare const PLAYER_STATE_RESOURCE_LUMBER: jplayerstate declare const PLAYER_STATE_RESOURCE_HERO_TOKENS: jplayerstate declare const PLAYER_STATE_RESOURCE_FOOD_CAP: jplayerstate declare const PLAYER_STATE_RESOURCE_FOOD_USED: jplayerstate declare const PLAYER_STATE_FOOD_CAP_CEILING: jplayerstate declare const PLAYER_STATE_GIVES_BOUNTY: jplayerstate declare const PLAYER_STATE_ALLIED_VICTORY: jplayerstate declare const PLAYER_STATE_PLACED: jplayerstate declare const PLAYER_STATE_OBSERVER_ON_DEATH: jplayerstate declare const PLAYER_STATE_OBSERVER: jplayerstate declare const PLAYER_STATE_UNFOLLOWABLE: jplayerstate declare const PLAYER_STATE_GOLD_UPKEEP_RATE: jplayerstate declare const PLAYER_STATE_LUMBER_UPKEEP_RATE: jplayerstate declare const PLAYER_STATE_GOLD_GATHERED: jplayerstate declare const PLAYER_STATE_LUMBER_GATHERED: jplayerstate declare const PLAYER_STATE_NO_CREEP_SLEEP: jplayerstate declare const UNIT_STATE_LIFE: junitstate declare const UNIT_STATE_MAX_LIFE: junitstate declare const UNIT_STATE_MANA: junitstate declare const UNIT_STATE_MAX_MANA: junitstate declare const AI_DIFFICULTY_NEWBIE: jaidifficulty declare const AI_DIFFICULTY_NORMAL: jaidifficulty declare const AI_DIFFICULTY_INSANE: jaidifficulty declare const PLAYER_SCORE_UNITS_TRAINED: jplayerscore declare const PLAYER_SCORE_UNITS_KILLED: jplayerscore declare const PLAYER_SCORE_STRUCT_BUILT: jplayerscore declare const PLAYER_SCORE_STRUCT_RAZED: jplayerscore declare const PLAYER_SCORE_TECH_PERCENT: jplayerscore declare const PLAYER_SCORE_FOOD_MAXPROD: jplayerscore declare const PLAYER_SCORE_FOOD_MAXUSED: jplayerscore declare const PLAYER_SCORE_HEROES_KILLED: jplayerscore declare const PLAYER_SCORE_ITEMS_GAINED: jplayerscore declare const PLAYER_SCORE_MERCS_HIRED: jplayerscore declare const PLAYER_SCORE_GOLD_MINED_TOTAL: jplayerscore declare const PLAYER_SCORE_GOLD_MINED_UPKEEP: jplayerscore declare const PLAYER_SCORE_GOLD_LOST_UPKEEP: jplayerscore declare const PLAYER_SCORE_GOLD_LOST_TAX: jplayerscore declare const PLAYER_SCORE_GOLD_GIVEN: jplayerscore declare const PLAYER_SCORE_GOLD_RECEIVED: jplayerscore declare const PLAYER_SCORE_LUMBER_TOTAL: jplayerscore declare const PLAYER_SCORE_LUMBER_LOST_UPKEEP: jplayerscore declare const PLAYER_SCORE_LUMBER_LOST_TAX: jplayerscore declare const PLAYER_SCORE_LUMBER_GIVEN: jplayerscore declare const PLAYER_SCORE_LUMBER_RECEIVED: jplayerscore declare const PLAYER_SCORE_UNIT_TOTAL: jplayerscore declare const PLAYER_SCORE_HERO_TOTAL: jplayerscore declare const PLAYER_SCORE_RESOURCE_TOTAL: jplayerscore declare const PLAYER_SCORE_TOTAL: jplayerscore declare const EVENT_GAME_VICTORY: jgameevent declare const EVENT_GAME_END_LEVEL: jgameevent declare const EVENT_GAME_VARIABLE_LIMIT: jgameevent declare const EVENT_GAME_STATE_LIMIT: jgameevent declare const EVENT_GAME_TIMER_EXPIRED: jgameevent declare const EVENT_GAME_ENTER_REGION: jgameevent declare const EVENT_GAME_LEAVE_REGION: jgameevent declare const EVENT_GAME_TRACKABLE_HIT: jgameevent declare const EVENT_GAME_TRACKABLE_TRACK: jgameevent declare const EVENT_GAME_SHOW_SKILL: jgameevent declare const EVENT_GAME_BUILD_SUBMENU: jgameevent declare const EVENT_PLAYER_STATE_LIMIT: jplayerevent declare const EVENT_PLAYER_ALLIANCE_CHANGED: jplayerevent declare const EVENT_PLAYER_DEFEAT: jplayerevent declare const EVENT_PLAYER_VICTORY: jplayerevent declare const EVENT_PLAYER_LEAVE: jplayerevent declare const EVENT_PLAYER_CHAT: jplayerevent declare const EVENT_PLAYER_END_CINEMATIC: jplayerevent declare const EVENT_PLAYER_UNIT_ATTACKED: jplayerunitevent declare const EVENT_PLAYER_UNIT_RESCUED: jplayerunitevent declare const EVENT_PLAYER_UNIT_DEATH: jplayerunitevent declare const EVENT_PLAYER_UNIT_DECAY: jplayerunitevent declare const EVENT_PLAYER_UNIT_DETECTED: jplayerunitevent declare const EVENT_PLAYER_UNIT_HIDDEN: jplayerunitevent declare const EVENT_PLAYER_UNIT_SELECTED: jplayerunitevent declare const EVENT_PLAYER_UNIT_DESELECTED: jplayerunitevent declare const EVENT_PLAYER_UNIT_CONSTRUCT_START: jplayerunitevent declare const EVENT_PLAYER_UNIT_CONSTRUCT_CANCEL: jplayerunitevent declare const EVENT_PLAYER_UNIT_CONSTRUCT_FINISH: jplayerunitevent declare const EVENT_PLAYER_UNIT_UPGRADE_START: jplayerunitevent declare const EVENT_PLAYER_UNIT_UPGRADE_CANCEL: jplayerunitevent declare const EVENT_PLAYER_UNIT_UPGRADE_FINISH: jplayerunitevent declare const EVENT_PLAYER_UNIT_TRAIN_START: jplayerunitevent declare const EVENT_PLAYER_UNIT_TRAIN_CANCEL: jplayerunitevent declare const EVENT_PLAYER_UNIT_TRAIN_FINISH: jplayerunitevent declare const EVENT_PLAYER_UNIT_RESEARCH_START: jplayerunitevent declare const EVENT_PLAYER_UNIT_RESEARCH_CANCEL: jplayerunitevent declare const EVENT_PLAYER_UNIT_RESEARCH_FINISH: jplayerunitevent declare const EVENT_PLAYER_UNIT_ISSUED_ORDER: jplayerunitevent declare const EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER: jplayerunitevent declare const EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER: jplayerunitevent declare const EVENT_PLAYER_UNIT_ISSUED_UNIT_ORDER: jplayerunitevent declare const EVENT_PLAYER_HERO_LEVEL: jplayerunitevent declare const EVENT_PLAYER_HERO_SKILL: jplayerunitevent declare const EVENT_PLAYER_HERO_REVIVABLE: jplayerunitevent declare const EVENT_PLAYER_HERO_REVIVE_START: jplayerunitevent declare const EVENT_PLAYER_HERO_REVIVE_CANCEL: jplayerunitevent declare const EVENT_PLAYER_HERO_REVIVE_FINISH: jplayerunitevent declare const EVENT_PLAYER_UNIT_SUMMON: jplayerunitevent declare const EVENT_PLAYER_UNIT_DROP_ITEM: jplayerunitevent declare const EVENT_PLAYER_UNIT_PICKUP_ITEM: jplayerunitevent declare const EVENT_PLAYER_UNIT_USE_ITEM: jplayerunitevent declare const EVENT_PLAYER_UNIT_STACK_ITEM: jplayerunitevent declare const EVENT_PLAYER_UNIT_LOADED: jplayerunitevent declare const EVENT_PLAYER_UNIT_DAMAGED: jplayerunitevent declare const EVENT_PLAYER_UNIT_DAMAGING: jplayerunitevent declare const EVENT_UNIT_DAMAGED: junitevent declare const EVENT_UNIT_DAMAGING: junitevent declare const EVENT_UNIT_DEATH: junitevent declare const EVENT_UNIT_DECAY: junitevent declare const EVENT_UNIT_DETECTED: junitevent declare const EVENT_UNIT_HIDDEN: junitevent declare const EVENT_UNIT_SELECTED: junitevent declare const EVENT_UNIT_DESELECTED: junitevent declare const EVENT_UNIT_STATE_LIMIT: junitevent declare const EVENT_UNIT_ACQUIRED_TARGET: junitevent declare const EVENT_UNIT_TARGET_IN_RANGE: junitevent declare const EVENT_UNIT_ATTACKED: junitevent declare const EVENT_UNIT_RESCUED: junitevent declare const EVENT_UNIT_CONSTRUCT_CANCEL: junitevent declare const EVENT_UNIT_CONSTRUCT_FINISH: junitevent declare const EVENT_UNIT_UPGRADE_START: junitevent declare const EVENT_UNIT_UPGRADE_CANCEL: junitevent declare const EVENT_UNIT_UPGRADE_FINISH: junitevent declare const EVENT_UNIT_TRAIN_START: junitevent declare const EVENT_UNIT_TRAIN_CANCEL: junitevent declare const EVENT_UNIT_TRAIN_FINISH: junitevent declare const EVENT_UNIT_RESEARCH_START: junitevent declare const EVENT_UNIT_RESEARCH_CANCEL: junitevent declare const EVENT_UNIT_RESEARCH_FINISH: junitevent declare const EVENT_UNIT_ISSUED_ORDER: junitevent declare const EVENT_UNIT_ISSUED_POINT_ORDER: junitevent declare const EVENT_UNIT_ISSUED_TARGET_ORDER: junitevent declare const EVENT_UNIT_HERO_LEVEL: junitevent declare const EVENT_UNIT_HERO_SKILL: junitevent declare const EVENT_UNIT_HERO_REVIVABLE: junitevent declare const EVENT_UNIT_HERO_REVIVE_START: junitevent declare const EVENT_UNIT_HERO_REVIVE_CANCEL: junitevent declare const EVENT_UNIT_HERO_REVIVE_FINISH: junitevent declare const EVENT_UNIT_SUMMON: junitevent declare const EVENT_UNIT_DROP_ITEM: junitevent declare const EVENT_UNIT_PICKUP_ITEM: junitevent declare const EVENT_UNIT_USE_ITEM: junitevent declare const EVENT_UNIT_LOADED: junitevent declare const EVENT_WIDGET_DEATH: jwidgetevent declare const EVENT_DIALOG_BUTTON_CLICK: jdialogevent declare const EVENT_DIALOG_CLICK: jdialogevent declare const EVENT_GAME_LOADED: jgameevent declare const EVENT_GAME_TOURNAMENT_FINISH_SOON: jgameevent declare const EVENT_GAME_TOURNAMENT_FINISH_NOW: jgameevent declare const EVENT_GAME_SAVE: jgameevent declare const EVENT_GAME_CUSTOM_UI_FRAME: jgameevent declare const EVENT_PLAYER_ARROW_LEFT_DOWN: jplayerevent declare const EVENT_PLAYER_ARROW_LEFT_UP: jplayerevent declare const EVENT_PLAYER_ARROW_RIGHT_DOWN: jplayerevent declare const EVENT_PLAYER_ARROW_RIGHT_UP: jplayerevent declare const EVENT_PLAYER_ARROW_DOWN_DOWN: jplayerevent declare const EVENT_PLAYER_ARROW_DOWN_UP: jplayerevent declare const EVENT_PLAYER_ARROW_UP_DOWN: jplayerevent declare const EVENT_PLAYER_ARROW_UP_UP: jplayerevent declare const EVENT_PLAYER_MOUSE_DOWN: jplayerevent declare const EVENT_PLAYER_MOUSE_UP: jplayerevent declare const EVENT_PLAYER_MOUSE_MOVE: jplayerevent declare const EVENT_PLAYER_SYNC_DATA: jplayerevent declare const EVENT_PLAYER_KEY: jplayerevent declare const EVENT_PLAYER_KEY_DOWN: jplayerevent declare const EVENT_PLAYER_KEY_UP: jplayerevent declare const EVENT_PLAYER_UNIT_SELL: jplayerunitevent declare const EVENT_PLAYER_UNIT_CHANGE_OWNER: jplayerunitevent declare const EVENT_PLAYER_UNIT_SELL_ITEM: jplayerunitevent declare const EVENT_PLAYER_UNIT_SPELL_CHANNEL: jplayerunitevent declare const EVENT_PLAYER_UNIT_SPELL_CAST: jplayerunitevent declare const EVENT_PLAYER_UNIT_SPELL_EFFECT: jplayerunitevent declare const EVENT_PLAYER_UNIT_SPELL_FINISH: jplayerunitevent declare const EVENT_PLAYER_UNIT_SPELL_ENDCAST: jplayerunitevent declare const EVENT_PLAYER_UNIT_PAWN_ITEM: jplayerunitevent declare const EVENT_UNIT_SELL: junitevent declare const EVENT_UNIT_CHANGE_OWNER: junitevent declare const EVENT_UNIT_SELL_ITEM: junitevent declare const EVENT_UNIT_SPELL_CHANNEL: junitevent declare const EVENT_UNIT_SPELL_CAST: junitevent declare const EVENT_UNIT_SPELL_EFFECT: junitevent declare const EVENT_UNIT_SPELL_FINISH: junitevent declare const EVENT_UNIT_SPELL_ENDCAST: junitevent declare const EVENT_UNIT_PAWN_ITEM: junitevent declare const LESS_THAN: jlimitop declare const LESS_THAN_OR_EQUAL: jlimitop declare const EQUAL: jlimitop declare const GREATER_THAN_OR_EQUAL: jlimitop declare const GREATER_THAN: jlimitop declare const NOT_EQUAL: jlimitop declare const UNIT_TYPE_HERO: junittype declare const UNIT_TYPE_DEAD: junittype declare const UNIT_TYPE_STRUCTURE: junittype declare const UNIT_TYPE_FLYING: junittype declare const UNIT_TYPE_GROUND: junittype declare const UNIT_TYPE_ATTACKS_FLYING: junittype declare const UNIT_TYPE_ATTACKS_GROUND: junittype declare const UNIT_TYPE_MELEE_ATTACKER: junittype declare const UNIT_TYPE_RANGED_ATTACKER: junittype declare const UNIT_TYPE_GIANT: junittype declare const UNIT_TYPE_SUMMONED: junittype declare const UNIT_TYPE_STUNNED: junittype declare const UNIT_TYPE_PLAGUED: junittype declare const UNIT_TYPE_SNARED: junittype declare const UNIT_TYPE_UNDEAD: junittype declare const UNIT_TYPE_MECHANICAL: junittype declare const UNIT_TYPE_PEON: junittype declare const UNIT_TYPE_SAPPER: junittype declare const UNIT_TYPE_TOWNHALL: junittype declare const UNIT_TYPE_ANCIENT: junittype declare const UNIT_TYPE_TAUREN: junittype declare const UNIT_TYPE_POISONED: junittype declare const UNIT_TYPE_POLYMORPHED: junittype declare const UNIT_TYPE_SLEEPING: junittype declare const UNIT_TYPE_RESISTANT: junittype declare const UNIT_TYPE_ETHEREAL: junittype declare const UNIT_TYPE_MAGIC_IMMUNE: junittype declare const ITEM_TYPE_PERMANENT: jitemtype declare const ITEM_TYPE_CHARGED: jitemtype declare const ITEM_TYPE_POWERUP: jitemtype declare const ITEM_TYPE_ARTIFACT: jitemtype declare const ITEM_TYPE_PURCHASABLE: jitemtype declare const ITEM_TYPE_CAMPAIGN: jitemtype declare const ITEM_TYPE_MISCELLANEOUS: jitemtype declare const ITEM_TYPE_UNKNOWN: jitemtype declare const ITEM_TYPE_ANY: jitemtype declare const ITEM_TYPE_TOME: jitemtype declare const CAMERA_FIELD_TARGET_DISTANCE: jcamerafield declare const CAMERA_FIELD_FARZ: jcamerafield declare const CAMERA_FIELD_ANGLE_OF_ATTACK: jcamerafield declare const CAMERA_FIELD_FIELD_OF_VIEW: jcamerafield declare const CAMERA_FIELD_ROLL: jcamerafield declare const CAMERA_FIELD_ROTATION: jcamerafield declare const CAMERA_FIELD_ZOFFSET: jcamerafield declare const CAMERA_FIELD_NEARZ: jcamerafield declare const CAMERA_FIELD_LOCAL_PITCH: jcamerafield declare const CAMERA_FIELD_LOCAL_YAW: jcamerafield declare const CAMERA_FIELD_LOCAL_ROLL: jcamerafield declare const BLEND_MODE_NONE: jblendmode declare const BLEND_MODE_DONT_CARE: jblendmode declare const BLEND_MODE_KEYALPHA: jblendmode declare const BLEND_MODE_BLEND: jblendmode declare const BLEND_MODE_ADDITIVE: jblendmode declare const BLEND_MODE_MODULATE: jblendmode declare const BLEND_MODE_MODULATE_2X: jblendmode declare const RARITY_FREQUENT: jraritycontrol declare const RARITY_RARE: jraritycontrol declare const TEXMAP_FLAG_NONE: jtexmapflags declare const TEXMAP_FLAG_WRAP_U: jtexmapflags declare const TEXMAP_FLAG_WRAP_V: jtexmapflags declare const TEXMAP_FLAG_WRAP_UV: jtexmapflags declare const FOG_OF_WAR_MASKED: jfogstate declare const FOG_OF_WAR_FOGGED: jfogstate declare const FOG_OF_WAR_VISIBLE: jfogstate declare const CAMERA_MARGIN_LEFT: number declare const CAMERA_MARGIN_RIGHT: number declare const CAMERA_MARGIN_TOP: number declare const CAMERA_MARGIN_BOTTOM: number declare const EFFECT_TYPE_EFFECT: jeffecttype declare const EFFECT_TYPE_TARGET: jeffecttype declare const EFFECT_TYPE_CASTER: jeffecttype declare const EFFECT_TYPE_SPECIAL: jeffecttype declare const EFFECT_TYPE_AREA_EFFECT: jeffecttype declare const EFFECT_TYPE_MISSILE: jeffecttype declare const EFFECT_TYPE_LIGHTNING: jeffecttype declare const SOUND_TYPE_EFFECT: jsoundtype declare const SOUND_TYPE_EFFECT_LOOPED: jsoundtype declare const ORIGIN_FRAME_GAME_UI: joriginframetype declare const ORIGIN_FRAME_COMMAND_BUTTON: joriginframetype declare const ORIGIN_FRAME_HERO_BAR: joriginframetype declare const ORIGIN_FRAME_HERO_BUTTON: joriginframetype declare const ORIGIN_FRAME_HERO_HP_BAR: joriginframetype declare const ORIGIN_FRAME_HERO_MANA_BAR: joriginframetype declare const ORIGIN_FRAME_HERO_BUTTON_INDICATOR: joriginframetype declare const ORIGIN_FRAME_ITEM_BUTTON: joriginframetype declare const ORIGIN_FRAME_MINIMAP: joriginframetype declare const ORIGIN_FRAME_MINIMAP_BUTTON: joriginframetype declare const ORIGIN_FRAME_SYSTEM_BUTTON: joriginframetype declare const ORIGIN_FRAME_TOOLTIP: joriginframetype declare const ORIGIN_FRAME_UBERTOOLTIP: joriginframetype declare const ORIGIN_FRAME_CHAT_MSG: joriginframetype declare const ORIGIN_FRAME_UNIT_MSG: joriginframetype declare const ORIGIN_FRAME_TOP_MSG: joriginframetype declare const ORIGIN_FRAME_PORTRAIT: joriginframetype declare const ORIGIN_FRAME_WORLD_FRAME: joriginframetype declare const ORIGIN_FRAME_SIMPLE_UI_PARENT: joriginframetype declare const ORIGIN_FRAME_PORTRAIT_HP_TEXT: joriginframetype declare const ORIGIN_FRAME_PORTRAIT_MANA_TEXT: joriginframetype declare const ORIGIN_FRAME_UNIT_PANEL_BUFF_BAR: joriginframetype declare const ORIGIN_FRAME_UNIT_PANEL_BUFF_BAR_LABEL: joriginframetype declare const FRAMEPOINT_TOPLEFT: jframepointtype declare const FRAMEPOINT_TOP: jframepointtype declare const FRAMEPOINT_TOPRIGHT: jframepointtype declare const FRAMEPOINT_LEFT: jframepointtype declare const FRAMEPOINT_CENTER: jframepointtype declare const FRAMEPOINT_RIGHT: jframepointtype declare const FRAMEPOINT_BOTTOMLEFT: jframepointtype declare const FRAMEPOINT_BOTTOM: jframepointtype declare const FRAMEPOINT_BOTTOMRIGHT: jframepointtype declare const TEXT_JUSTIFY_TOP: jtextaligntype declare const TEXT_JUSTIFY_MIDDLE: jtextaligntype declare const TEXT_JUSTIFY_BOTTOM: jtextaligntype declare const TEXT_JUSTIFY_LEFT: jtextaligntype declare const TEXT_JUSTIFY_CENTER: jtextaligntype declare const TEXT_JUSTIFY_RIGHT: jtextaligntype declare const FRAMEEVENT_CONTROL_CLICK: jframeeventtype declare const FRAMEEVENT_MOUSE_ENTER: jframeeventtype declare const FRAMEEVENT_MOUSE_LEAVE: jframeeventtype declare const FRAMEEVENT_MOUSE_UP: jframeeventtype declare const FRAMEEVENT_MOUSE_DOWN: jframeeventtype declare const FRAMEEVENT_MOUSE_WHEEL: jframeeventtype declare const FRAMEEVENT_CHECKBOX_CHECKED: jframeeventtype declare const FRAMEEVENT_CHECKBOX_UNCHECKED: jframeeventtype declare const FRAMEEVENT_EDITBOX_TEXT_CHANGED: jframeeventtype declare const FRAMEEVENT_POPUPMENU_ITEM_CHANGED: jframeeventtype declare const FRAMEEVENT_MOUSE_DOUBLECLICK: jframeeventtype declare const FRAMEEVENT_SPRITE_ANIM_UPDATE: jframeeventtype declare const FRAMEEVENT_SLIDER_VALUE_CHANGED: jframeeventtype declare const FRAMEEVENT_DIALOG_CANCEL: jframeeventtype declare const FRAMEEVENT_DIALOG_ACCEPT: jframeeventtype declare const FRAMEEVENT_EDITBOX_ENTER: jframeeventtype declare const OSKEY_BACKSPACE: joskeytype declare const OSKEY_TAB: joskeytype declare const OSKEY_CLEAR: joskeytype declare const OSKEY_RETURN: joskeytype declare const OSKEY_SHIFT: joskeytype declare const OSKEY_CONTROL: joskeytype declare const OSKEY_ALT: joskeytype declare const OSKEY_PAUSE: joskeytype declare const OSKEY_CAPSLOCK: joskeytype declare const OSKEY_KANA: joskeytype declare const OSKEY_HANGUL: joskeytype declare const OSKEY_JUNJA: joskeytype declare const OSKEY_FINAL: joskeytype declare const OSKEY_HANJA: joskeytype declare const OSKEY_KANJI: joskeytype declare const OSKEY_ESCAPE: joskeytype declare const OSKEY_CONVERT: joskeytype declare const OSKEY_NONCONVERT: joskeytype declare const OSKEY_ACCEPT: joskeytype declare const OSKEY_MODECHANGE: joskeytype declare const OSKEY_SPACE: joskeytype declare const OSKEY_PAGEUP: joskeytype declare const OSKEY_PAGEDOWN: joskeytype declare const OSKEY_END: joskeytype declare const OSKEY_HOME: joskeytype declare const OSKEY_LEFT: joskeytype declare const OSKEY_UP: joskeytype declare const OSKEY_RIGHT: joskeytype declare const OSKEY_DOWN: joskeytype declare const OSKEY_SELECT: joskeytype declare const OSKEY_PRINT: joskeytype declare const OSKEY_EXECUTE: joskeytype declare const OSKEY_PRINTSCREEN: joskeytype declare const OSKEY_INSERT: joskeytype declare const OSKEY_DELETE: joskeytype declare const OSKEY_HELP: joskeytype declare const OSKEY_0: joskeytype declare const OSKEY_1: joskeytype declare const OSKEY_2: joskeytype declare const OSKEY_3: joskeytype declare const OSKEY_4: joskeytype declare const OSKEY_5: joskeytype declare const OSKEY_6: joskeytype declare const OSKEY_7: joskeytype declare const OSKEY_8: joskeytype declare const OSKEY_9: joskeytype declare const OSKEY_A: joskeytype declare const OSKEY_B: joskeytype declare const OSKEY_C: joskeytype declare const OSKEY_D: joskeytype declare const OSKEY_E: joskeytype declare const OSKEY_F: joskeytype declare const OSKEY_G: joskeytype declare const OSKEY_H: joskeytype declare const OSKEY_I: joskeytype declare const OSKEY_J: joskeytype declare const OSKEY_K: joskeytype declare const OSKEY_L: joskeytype declare const OSKEY_M: joskeytype declare const OSKEY_N: joskeytype declare const OSKEY_O: joskeytype declare const OSKEY_P: joskeytype declare const OSKEY_Q: joskeytype declare const OSKEY_R: joskeytype declare const OSKEY_S: joskeytype declare const OSKEY_T: joskeytype declare const OSKEY_U: joskeytype declare const OSKEY_V: joskeytype declare const OSKEY_W: joskeytype declare const OSKEY_X: joskeytype declare const OSKEY_Y: joskeytype declare const OSKEY_Z: joskeytype declare const OSKEY_LMETA: joskeytype declare const OSKEY_RMETA: joskeytype declare const OSKEY_APPS: joskeytype declare const OSKEY_SLEEP: joskeytype declare const OSKEY_NUMPAD0: joskeytype declare const OSKEY_NUMPAD1: joskeytype declare const OSKEY_NUMPAD2: joskeytype declare const OSKEY_NUMPAD3: joskeytype declare const OSKEY_NUMPAD4: joskeytype declare const OSKEY_NUMPAD5: joskeytype declare const OSKEY_NUMPAD6: joskeytype declare const OSKEY_NUMPAD7: joskeytype declare const OSKEY_NUMPAD8: joskeytype declare const OSKEY_NUMPAD9: joskeytype declare const OSKEY_MULTIPLY: joskeytype declare const OSKEY_ADD: joskeytype declare const OSKEY_SEPARATOR: joskeytype declare const OSKEY_SUBTRACT: joskeytype declare const OSKEY_DECIMAL: joskeytype declare const OSKEY_DIVIDE: joskeytype declare const OSKEY_F1: joskeytype declare const OSKEY_F2: joskeytype declare const OSKEY_F3: joskeytype declare const OSKEY_F4: joskeytype declare const OSKEY_F5: joskeytype declare const OSKEY_F6: joskeytype declare const OSKEY_F7: joskeytype declare const OSKEY_F8: joskeytype declare const OSKEY_F9: joskeytype declare const OSKEY_F10: joskeytype declare const OSKEY_F11: joskeytype declare const OSKEY_F12: joskeytype declare const OSKEY_F13: joskeytype declare const OSKEY_F14: joskeytype declare const OSKEY_F15: joskeytype declare const OSKEY_F16: joskeytype declare const OSKEY_F17: joskeytype declare const OSKEY_F18: joskeytype declare const OSKEY_F19: joskeytype declare const OSKEY_F20: joskeytype declare const OSKEY_F21: joskeytype declare const OSKEY_F22: joskeytype declare const OSKEY_F23: joskeytype declare const OSKEY_F24: joskeytype declare const OSKEY_NUMLOCK: joskeytype declare const OSKEY_SCROLLLOCK: joskeytype decl