Note

ASUNA!!!

Type Parameters

Hierarchy

Constructors

Properties

Accessors

Methods

acquireRange addAbility addAbilityEx addAnimationProperties addBuff addBuffById addBuffByIdEx addBuffEx addHeroXP addIndicator addItem addItemById addItemToSlotById addItemToStock addListener addResourceAmount addSleep addSleepPerm addToStock addType animationOffsetPercent applySilence applyTimedLife applyUpgrades armour armourType attackCancel attackFinish attackRemainingBackswing attackRemainingCooldown attackRemainingDamagePoint attackRestart attackSpeed attackTarget attackTargetPoint attackTargetPointLoc attackTargetPointZ baseMoveSpeed blzCancelTimedLife blzClearOrders blzDisableAbility blzEndAbilityCooldown blzForceStopOrder blzGetAbility blzGetAbilityByIndex blzGetAbilityCooldown blzGetAbilityCooldownRemaining blzGetAbilityManaCost blzGetArmor blzGetAttackCooldown blzGetBaseDamage blzGetBooleanField blzGetCollisionSize blzGetDiceNumber blzGetDiceSides blzGetIntegerField blzGetLocalZ blzGetMaxHP blzGetMaxMana blzGetOrderCount blzGetRealField blzGetSkin blzGetStringField blzGetWeaponBooleanField blzGetWeaponIntegerField blzGetWeaponRealField blzGetWeaponStringField blzGetZ blzHideAbility blzInterruptAttack blzIsInvulnerable blzIsSelectable blzPauseEx blzQueueBuildOrderById blzQueueImmediateOrderById blzQueueInstantPointOrderById blzQueueInstantTargetOrderById blzQueuePointOrderById blzQueueTargetOrderById blzSetAbilityCooldown blzSetAbilityManaCost blzSetArmor blzSetAttackCooldown blzSetBaseDamage blzSetBooleanField blzSetDiceNumber blzSetDiceSides blzSetFacingEx blzSetHeroProperName blzSetIntegerField blzSetMaxHP blzSetMaxMana blzSetName blzSetRealField blzSetSkin blzSetStringField blzSetWeaponBooleanField blzSetWeaponIntegerField blzSetWeaponRealField blzSetWeaponStringField blzShowTeamGlow blzStartAbilityCooldown bonusMoveSpeedPercent canSleep canSleepPerm cancelTimedLife clearOrders collisionType countBuffsEx createIllusionFrom createIllusionFromEx createMinimapIconOn createProjectileEx currentLife currentMana currentSight damagePoint damageTarget decAbilityLevel disableAbilities disableAbility disableAbilityEx dropItemPoint dropItemSlot dropItemTarget emit enableAbility enableAbilityEx enableAttack enableAutoOrientation enableInventory enableMovement enumAbilities enumBuffs equals eventNames facing forceStopOrder getAbility getAbilityByIndex getAbilityLevel getAttackCooldownByIndex getAttackRangeByIndex getAttackTypeByIndex getAttacksEnabledIndex getBackswingPointByIndex getBaseDamageByIndex getBonusDamageByIndex getBooleanField getBuff getBuffByIndex getBuffLevel getConstructionProgress getConstructionRemainingTime getCurrentAnimationId getCurrentAnimationName getCurrentOrder getCurrentResources getDamageDicesByIndex getDamageDicesSideByIndex getDamagePointByIndex getDamageReduction getDefaultAcquireRange getDefaultFlyHeight getDefaultMoveSpeed getDefaultPropWindow getDefaultTurnSpeed getEluneMagicResist getFacing getFlyHeight getFoodMade getFoodUsed getHeroAgi getHeroExperienceNeeded getHeroInt getHeroLevel getHeroMaxLevelExperienceNeeded getHeroProperName getHeroSkillPoints getHeroStr getHeroXP getIllusionDamageDealt getIllusionDamageReceived getIntegerField getLevel getMagicResistByType getMaxListeners getMaximumDamageByIndex getMinimapX getMinimapY getMinimumDamageByIndex getModelObjectPositionLoc getModelObjectX getModelObjectY getModelObjectZ getName getOrderCount getOrderIdByIndex getOwningPlayer getPointValue getRace getRallyDestructable getRallyPoint getRallyPointX getRallyPointY getRallyUnit getRealField getResourceAmount getRunicMagicResist getScreenX getScreenY getSprite getState getStringField getTarget getTargetDestructable getTargetItem getTargetUnit getTotalMagicResist getTotalMoveSpeed getTypeId getUpgradeProgress getUpgradeRemainingTime getVertexColour getWeaponBooleanField getWeaponIntegerField getWeaponRealField getWeaponSoundByIndex getWeaponStringField getWeaponTypeByIndex getZ hasBuffsEx hasItem ignoreAlarm ignoreAlarmToggled incAbilityLevel inventorySize invulnerable is isAbilityVisible isAlive isAlly isAttackEnabled isAutoOrientationEnabled isDead isDetected isEnemy isFogged isGatherer isHero isHidden isIllusion isInForce isInGroup isInRange isInRangeLoc isInRangeXY isInTransport isInventoryEnabled isInvisible isLoaded isMasked isMovementEnabled isMoving isOwnedByPlayer isPaused isRace isSelected isShop isSleeping isStateNormal isSuspendedXP isTargetAllowed isTower isTruesightImmune isType isVisible issueBuildOrder issueBuildOrderById issueImmediateOrder issueImmediateOrderById issueInstantPointOrder issueInstantPointOrderById issueInstantTargetOrder issueInstantTargetOrderById issuePointOrder issuePointOrderById issuePointOrderByIdLoc issuePointOrderLoc issueTargetOrder issueTargetOrderById itemInSlot itemSlots kill killEx life lifeRegen listenerCount listeners loc makeAbilityPermanent manaRegen maxLife maxMana model modifySkillPoints morphToTypeId morphToTypeIdEx moveSpeed off on onEmitterAddListener once pathingAIType pathingType pause pauseEx pauseTimedLife pitch positionLoc prependListener prependOnceListener primaryStat propWindow queueAnimation queueAnimationByIndex queueBuildOrderById queueImmediateOrderById queueInstantPointOrderById queueInstantTargetOrderById queuePointOrderById queueTargetOrderById rawListeners recycleGuardPosition redraw remainingTimedLife remove removeAbility removeAbilityEx removeAllListeners removeBuffs removeBuffsEx removeFromStock removeGuardPosition removeItem removeItemFromSlot removeItemFromStock removeListener removeType resetCooldown resetLookAt resetMatrix reviveHero reviveHeroLoc roll scale select selectHeroSkill selectable setAbilityLevel setAnimationWithRarity setAnimationWithRarityByIndex setAttackCooldownByIndex setAttackRangeByIndex setAttackTypeByIndex setBackswingPointByIndex setBaseDamageByIndex setBonusDamageByIndex setBooleanField setCameraOrientController setCameraTargetController setConstructionProgress setConstructionRemainingTime setDamageDicesByIndex setDamageDicesSideByIndex setDamagePointByIndex setDetectableByPlayer setFacing setFacingEx setFacingTimed setFlyHeight setHeroAgi setHeroInt setHeroLevel setHeroStr setHeroXP setIllusionDamageDealt setIllusionDamageReceived setIntegerField setItemTypeSlots setLookAt setMaterialTexture setMatrixScale setMaxListeners setModelEx setOrientation setOrientationEx setOwner setPosition setRealField setReplaceableTexture setRescuable setResourceAmount setScale setState setStringField setTexture setUpgradeProgress setUpgradeRemainingTime setUsesAltIcon setVertexColor setVertexColour setVisibleByPlayer setWeaponBooleanField setWeaponIntegerField setWeaponRealField setWeaponSoundByIndex setWeaponStringField setWeaponTypeByIndex shareVision show showAbility showAbilityEx startItemCooldown stripHeroLevel stunCounter stunned suspendDecay suspendHeroXP targetable timeScale turnSpeed typeId unapplyUpgrades updateInfoBar useItem useItemPoint useItemTarget userData visible wakeUp waygateActivate waygateGetDestinationX waygateGetDestinationY waygateIsActive waygateSetDestination x y yaw createIllusionFromUnit listenerCount

Constructors

Properties

#private: any
defaultMaxListeners: number

Accessors

Methods

  • Class chain property alias for GetUnitAcquireRange and SetUnitAcquireRange

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitAddAbility

    Parameters

    • abilityId: number

    Returns boolean

  • Class member alias for UnitAddAbilityEx

    Parameters

    • abilityId: number
    • checkForDuplicates: boolean

    Returns boolean

  • Class member alias for AddUnitAnimationProperties

    Parameters

    • animProperties: string
    • add: boolean

    Returns void

  • Class member alias for UnitAddBuff

    Parameters

    Returns boolean

  • Class member alias for UnitAddBuffById

    Parameters

    • buffId: number

    Returns boolean

  • Class member alias for UnitAddBuffByIdEx

    Parameters

    • buffId: number
    • checkForDuplicates: boolean

    Returns boolean

  • Class member alias for UnitAddBuffEx

    Parameters

    Returns boolean

  • Class member alias for AddHeroXP

    Parameters

    • xpToAdd: number
    • showEyeCandy: boolean

    Returns void

  • Class member alias for UnitAddIndicator

    Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

  • Class member alias for UnitAddItem

    Parameters

    Returns boolean

  • Class member alias for UnitAddItemToSlotById

    Parameters

    • itemId: number
    • itemSlot: number

    Returns boolean

  • Class member alias for AddItemToStock

    Parameters

    • itemId: number
    • currentStock: number
    • stockMax: number

    Returns void

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E
    • listener: T[E]

    Returns Unit<T>

  • Class member alias for AddResourceAmount

    Parameters

    • amount: number

    Returns void

  • Class member alias for UnitAddSleep

    Parameters

    • add: boolean

    Returns void

  • Class member alias for UnitAddSleepPerm

    Parameters

    • add: boolean

    Returns void

  • Class member alias for AddUnitToStock

    Parameters

    • unitId: number
    • currentStock: number
    • stockMax: number

    Returns void

  • Class member alias for UnitAddType

    Parameters

    Returns boolean

  • Class member alias for UnitApplySilence

    Parameters

    • state: boolean

    Returns void

  • Class member alias for UnitApplyTimedLife

    Parameters

    • buffId: number
    • duration: number

    Returns void

  • Class member alias for UnitApplyUpgrades

    Returns void

  • Class chain property alias for GetUnitArmour and SetUnitArmour

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitAttackCancel

    Returns boolean

  • Class member alias for UnitAttackFinish

    Returns boolean

  • Class member alias for UnitAttackRestart

    Returns boolean

  • Class chain property alias for GetUnitAttackSpeed and SetUnitAttackSpeed

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitAttackTarget

    Parameters

    Returns void

  • Class member alias for UnitAttackTargetPoint

    Parameters

    • x: number
    • y: number
    • ignoreDistance: boolean
    • isInstant: boolean

    Returns void

  • Class member alias for UnitAttackTargetPointLoc

    Parameters

    • whichLocation: Location
    • ignoreDistance: boolean
    • isInstant: boolean

    Returns void

  • Class member alias for UnitAttackTargetPointZ

    Parameters

    • x: number
    • y: number
    • z: number
    • ignoreDistance: boolean
    • isInstant: boolean

    Returns void

  • Class chain property alias for GetUnitBaseMoveSpeed and SetUnitBaseMoveSpeed

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for BlzUnitCancelTimedLife

    Returns void

  • Class member alias for BlzUnitClearOrders

    Parameters

    • onlyQueued: boolean

    Returns void

  • Class member alias for BlzUnitDisableAbility

    Parameters

    • abilId: number
    • flag: boolean
    • hideUI: boolean

    Returns void

  • Class member alias for BlzEndUnitAbilityCooldown

    Parameters

    • abilCode: number

    Returns void

  • Class member alias for BlzUnitForceStopOrder

    Parameters

    • clearQueue: boolean

    Returns void

  • Class member alias for BlzGetUnitAbilityCooldown

    Parameters

    • abilId: number
    • level: number

    Returns number

  • Class member alias for BlzGetUnitAbilityCooldownRemaining

    Parameters

    • abilId: number

    Returns number

  • Class member alias for BlzGetUnitAbilityManaCost

    Parameters

    • abilId: number
    • level: number

    Returns number

  • Class member alias for BlzGetUnitArmor

    Returns number

  • Class member alias for BlzGetUnitAttackCooldown

    Parameters

    • weaponIndex: number

    Returns number

  • Class member alias for BlzGetUnitBaseDamage

    Parameters

    • weaponIndex: number

    Returns number

  • Class member alias for BlzGetUnitBooleanField

    Parameters

    Returns boolean

  • Class member alias for BlzGetUnitCollisionSize

    Returns number

  • Class member alias for BlzGetUnitDiceNumber

    Parameters

    • weaponIndex: number

    Returns number

  • Class member alias for BlzGetUnitDiceSides

    Parameters

    • weaponIndex: number

    Returns number

  • Class member alias for BlzGetUnitIntegerField

    Parameters

    Returns number

  • Class member alias for BlzGetLocalUnitZ

    Returns number

  • Class member alias for BlzGetUnitMaxHP

    Returns number

  • Class member alias for BlzGetUnitMaxMana

    Returns number

  • Class member alias for BlzGetUnitOrderCount

    Returns number

  • Class member alias for BlzGetUnitRealField

    Parameters

    Returns number

  • Class member alias for BlzGetUnitSkin

    Returns number

  • Class member alias for BlzGetUnitStringField

    Parameters

    Returns string

  • Class member alias for BlzGetUnitWeaponBooleanField

    Parameters

    • whichField: HandleHolder<"unitweaponbooleanfield">
    • index: number

    Returns boolean

  • Class member alias for BlzGetUnitWeaponIntegerField

    Parameters

    • whichField: HandleHolder<"unitweaponintegerfield">
    • index: number

    Returns number

  • Class member alias for BlzGetUnitWeaponRealField

    Parameters

    • whichField: HandleHolder<"unitweaponrealfield">
    • index: number

    Returns number

  • Class member alias for BlzGetUnitWeaponStringField

    Parameters

    • whichField: HandleHolder<"unitweaponstringfield">
    • index: number

    Returns string

  • Class member alias for BlzGetUnitZ

    Returns number

  • Class member alias for BlzUnitHideAbility

    Parameters

    • abilId: number
    • flag: boolean

    Returns void

  • Class member alias for BlzUnitInterruptAttack

    Returns void

  • Class member alias for BlzIsUnitInvulnerable

    Returns boolean

  • Class member alias for BlzIsUnitSelectable

    Returns boolean

  • Class member alias for BlzPauseUnitEx

    Parameters

    • flag: boolean

    Returns void

  • Class member alias for BlzQueueBuildOrderById

    Parameters

    • unitId: number
    • x: number
    • y: number

    Returns boolean

  • Class member alias for BlzQueueImmediateOrderById

    Parameters

    • order: number

    Returns boolean

  • Class member alias for BlzQueueInstantPointOrderById

    Parameters

    Returns boolean

  • Class member alias for BlzQueuePointOrderById

    Parameters

    • order: number
    • x: number
    • y: number

    Returns boolean

  • Class member alias for BlzSetUnitAbilityCooldown

    Parameters

    • abilId: number
    • level: number
    • cooldown: number

    Returns void

  • Class member alias for BlzSetUnitAbilityManaCost

    Parameters

    • abilId: number
    • level: number
    • manaCost: number

    Returns void

  • Class member alias for BlzSetUnitArmor

    Parameters

    • armorAmount: number

    Returns void

  • Class member alias for BlzSetUnitAttackCooldown

    Parameters

    • cooldown: number
    • weaponIndex: number

    Returns void

  • Class member alias for BlzSetUnitBaseDamage

    Parameters

    • baseDamage: number
    • weaponIndex: number

    Returns void

  • Class member alias for BlzSetUnitBooleanField

    Parameters

    Returns boolean

  • Class member alias for BlzSetUnitDiceNumber

    Parameters

    • diceNumber: number
    • weaponIndex: number

    Returns void

  • Class member alias for BlzSetUnitDiceSides

    Parameters

    • diceSides: number
    • weaponIndex: number

    Returns void

  • Class member alias for BlzSetUnitFacingEx

    Parameters

    • facingAngle: number

    Returns void

  • Class member alias for BlzSetHeroProperName

    Parameters

    • heroProperName: string

    Returns void

  • Class member alias for BlzSetUnitIntegerField

    Parameters

    Returns boolean

  • Class member alias for BlzSetUnitMaxHP

    Parameters

    • hp: number

    Returns void

  • Class member alias for BlzSetUnitMaxMana

    Parameters

    • mana: number

    Returns void

  • Class member alias for BlzSetUnitName

    Parameters

    • name: string

    Returns void

  • Class member alias for BlzSetUnitRealField

    Parameters

    Returns boolean

  • Class member alias for BlzSetUnitSkin

    Parameters

    • skinId: number

    Returns void

  • Class member alias for BlzSetUnitStringField

    Parameters

    Returns boolean

  • Class member alias for BlzSetUnitWeaponBooleanField

    Parameters

    • whichField: HandleHolder<"unitweaponbooleanfield">
    • index: number
    • value: boolean

    Returns boolean

  • Class member alias for BlzSetUnitWeaponIntegerField

    Parameters

    • whichField: HandleHolder<"unitweaponintegerfield">
    • index: number
    • value: number

    Returns boolean

  • Class member alias for BlzSetUnitWeaponRealField

    Parameters

    • whichField: HandleHolder<"unitweaponrealfield">
    • index: number
    • value: number

    Returns boolean

  • Class member alias for BlzSetUnitWeaponStringField

    Parameters

    • whichField: HandleHolder<"unitweaponstringfield">
    • index: number
    • value: string

    Returns boolean

  • Class member alias for BlzShowUnitTeamGlow

    Parameters

    • show: boolean

    Returns void

  • Class member alias for BlzStartUnitAbilityCooldown

    Parameters

    • abilCode: number
    • cooldown: number

    Returns void

  • Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitCanSleep

    Returns boolean

  • Class member alias for UnitCanSleepPerm

    Returns boolean

  • Class member alias for UnitCancelTimedLife

    Returns void

  • Class member alias for UnitClearOrders

    Parameters

    • onlyQueued: boolean

    Returns void

  • Class member alias for UnitCountBuffsEx

    Parameters

    • removePositive: boolean
    • removeNegative: boolean
    • magic: boolean
    • physical: boolean
    • timedLife: boolean
    • aura: boolean
    • autoDispel: boolean

    Returns number

  • Class member alias for CreateMinimapIconOnUnit

    Parameters

    • red: number
    • green: number
    • blue: number
    • pingPath: string
    • fogVisibility: HandleHolder<"fogstate">

    Returns HandleHolder<"minimapicon">

  • Class member alias for CreateProjectileEx

    Parameters

    • projectileTypeId: number
    • attackIndex: number

    Returns HandleHolder<"projectile">

  • Class chain property alias for GetUnitCurrentLife and SetUnitCurrentLife

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitCurrentMana and SetUnitCurrentMana

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitCurrentSight and SetUnitCurrentSight

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitDamagePoint

    Parameters

    • delay: number
    • radius: number
    • x: number
    • y: number
    • amount: number
    • attack: boolean
    • ranged: boolean
    • attackType: HandleHolder<"attacktype">
    • damageType: HandleHolder<"damagetype">
    • weaponType: HandleHolder<"weapontype">

    Returns boolean

  • Class member alias for UnitDamageTarget

    Parameters

    Returns boolean

  • Class member alias for DecUnitAbilityLevel

    Parameters

    • abilcode: number

    Returns number

  • Class member alias for UnitDisableAbilities

    Parameters

    • state: boolean

    Returns void

  • Class member alias for DisableUnitAbility

    Parameters

    • abilityId: number
    • hide: boolean
    • disable: boolean

    Returns void

  • Class member alias for DisableUnitAbilityEx

    Parameters

    • abilityId: number
    • hide: boolean
    • disable: boolean
    • checkDuplicates: boolean

    Returns void

  • Class member alias for UnitDropItemPoint

    Parameters

    Returns boolean

  • Class member alias for UnitDropItemSlot

    Parameters

    Returns boolean

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E
    • Rest ...args: Parameters<(T & AnyEmmiter)[E]>

    Returns boolean

  • Class member alias for EnableUnitAbility

    Parameters

    • abilityId: number
    • show: boolean
    • enable: boolean

    Returns void

  • Class member alias for EnableUnitAbilityEx

    Parameters

    • abilityId: number
    • show: boolean
    • enable: boolean
    • checkDuplicates: boolean

    Returns void

  • Class member alias for UnitEnableAttack

    Parameters

    • enable: boolean
    • extraFlag: boolean

    Returns void

  • Class member alias for UnitEnableAutoOrientation

    Parameters

    • enable: boolean

    Returns void

  • Class member alias for UnitEnableInventory

    Parameters

    • enable: boolean
    • ignoreErrorMessages: boolean

    Returns void

  • Class member alias for UnitEnableMovement

    Parameters

    • enable: boolean
    • fullDisable: boolean

    Returns void

  • Returns (string | symbol)[]

  • Class chain property alias for GetUnitFacing and SetUnitFacing

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitForceStopOrder

    Parameters

    • clearQueue: boolean

    Returns void

  • Class member alias for GetUnitAbilityLevel

    Parameters

    • abilcode: number

    Returns number

  • Class member alias for GetUnitAttackCooldownByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitAttackRangeByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitBackswingPointByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitBaseDamageByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitBonusDamageByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitBooleanField

    Parameters

    Returns boolean

  • Class member alias for GetUnitBuffLevel

    Parameters

    • buffId: number

    Returns number

  • Class member alias for GetUnitCurrentOrder

    Returns number

  • Class member alias for GetUnitCurrentResources

    Returns number

  • Class member alias for GetUnitDamageDicesByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitDamageDicesSideByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitDamagePointByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitDamageReduction

    Returns number

  • Class member alias for GetUnitDefaultFlyHeight

    Returns number

  • Class member alias for GetUnitDefaultMoveSpeed

    Returns number

  • Class member alias for GetUnitDefaultPropWindow

    Returns number

  • Class member alias for GetUnitDefaultTurnSpeed

    Returns number

  • Class member alias for GetUnitEluneMagicResist

    Returns number

  • Class member alias for GetUnitFlyHeight

    Returns number

  • Class member alias for GetUnitFoodMade

    Returns number

  • Class member alias for GetUnitFoodUsed

    Returns number

  • Class member alias for GetHeroAgi

    Parameters

    • includeBonuses: boolean

    Returns number

  • Class member alias for GetHeroExperienceNeeded

    Parameters

    • forLevel: number

    Returns number

  • Class member alias for GetHeroInt

    Parameters

    • includeBonuses: boolean

    Returns number

  • Class member alias for GetHeroLevel

    Returns number

  • Class member alias for GetHeroProperName

    Returns string

  • Class member alias for GetHeroSkillPoints

    Returns number

  • Class member alias for GetHeroStr

    Parameters

    • includeBonuses: boolean

    Returns number

  • Class member alias for GetHeroXP

    Returns number

  • Class member alias for GetIllusionDamageDealt

    Returns number

  • Class member alias for GetIllusionDamageReceived

    Returns number

  • Class member alias for GetUnitIntegerField

    Parameters

    Returns number

  • Class member alias for GetUnitLevel

    Returns number

  • Class member alias for GetUnitMagicResistByType

    Parameters

    • resistType: number

    Returns number

  • Class member alias for GetUnitMaximumDamageByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitMinimapX

    Returns number

  • Class member alias for GetUnitMinimapY

    Returns number

  • Class member alias for GetUnitMinimumDamageByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitName

    Returns string

  • Class member alias for GetUnitOrderCount

    Returns number

  • Class member alias for GetUnitOrderIdByIndex

    Parameters

    • index: number

    Returns number

  • Class member alias for GetUnitPointValue

    Returns number

  • Class member alias for GetUnitRallyPointX

    Returns number

  • Class member alias for GetUnitRallyPointY

    Returns number

  • Class member alias for GetUnitRealField

    Parameters

    Returns number

  • Class member alias for GetResourceAmount

    Returns number

  • Class member alias for GetUnitRunicMagicResist

    Returns number

  • Class member alias for GetUnitState

    Parameters

    Returns number

  • Class member alias for GetUnitStringField

    Parameters

    Returns string

  • Class member alias for GetUnitTotalMagicResist

    Returns number

  • Class member alias for GetUnitTotalMoveSpeed

    Returns number

  • Class member alias for UnitGetUpgradeProgress

    Returns number

  • Class member alias for GetUnitWeaponBooleanField

    Parameters

    • whichField: HandleHolder<"unitweaponbooleanfield">
    • index: number

    Returns boolean

  • Class member alias for GetUnitWeaponIntegerField

    Parameters

    • whichField: HandleHolder<"unitweaponintegerfield">
    • index: number

    Returns number

  • Class member alias for GetUnitWeaponRealField

    Parameters

    • whichField: HandleHolder<"unitweaponrealfield">
    • index: number

    Returns number

  • Class member alias for GetUnitWeaponSoundByIndex

    Parameters

    • attackIndex: number

    Returns number

  • Class member alias for GetUnitWeaponStringField

    Parameters

    • whichField: HandleHolder<"unitweaponstringfield">
    • index: number

    Returns string

  • Class member alias for GetUnitZ

    Returns number

  • Class member alias for UnitHasBuffsEx

    Parameters

    • removePositive: boolean
    • removeNegative: boolean
    • magic: boolean
    • physical: boolean
    • timedLife: boolean
    • aura: boolean
    • autoDispel: boolean

    Returns boolean

  • Class member alias for UnitHasItem

    Parameters

    Returns boolean

  • Class member alias for UnitIgnoreAlarm

    Parameters

    • flag: boolean

    Returns boolean

  • Class member alias for UnitIgnoreAlarmToggled

    Returns boolean

  • Class member alias for IncUnitAbilityLevel

    Parameters

    • abilcode: number

    Returns number

  • Class member alias for UnitInventorySize

    Returns number

  • Class member alias for IsUnit

    Parameters

    Returns boolean

  • Class member alias for IsUnitAbilityVisible

    Parameters

    • abilityId: number

    Returns boolean

  • Class member alias for IsUnitAlive

    Returns boolean

  • Class member alias for IsUnitAlly

    Parameters

    Returns boolean

  • Class member alias for IsUnitAttackEnabled

    Returns boolean

  • Class member alias for IsUnitDead

    Returns boolean

  • Class member alias for IsUnitGatherer

    Returns boolean

  • Class member alias for IsUnitHero

    Returns boolean

  • Class member alias for IsUnitHidden

    Returns boolean

  • Class member alias for IsUnitIllusion

    Returns boolean

  • Class member alias for IsUnitInForce

    Parameters

    Returns boolean

  • Class member alias for IsUnitInGroup

    Parameters

    Returns boolean

  • Class member alias for IsUnitInRange

    Parameters

    Returns boolean

  • Class member alias for IsUnitInRangeLoc

    Parameters

    Returns boolean

  • Class member alias for IsUnitInRangeXY

    Parameters

    • x: number
    • y: number
    • distance: number

    Returns boolean

  • Class member alias for IsUnitInTransport

    Parameters

    Returns boolean

  • Class member alias for IsUnitInventoryEnabled

    Returns boolean

  • Class member alias for IsUnitLoaded

    Returns boolean

  • Class member alias for IsUnitMovementEnabled

    Returns boolean

  • Class member alias for IsUnitMoving

    Returns boolean

  • Class member alias for IsUnitPaused

    Returns boolean

  • Class member alias for IsUnitRace

    Parameters

    Returns boolean

  • Class member alias for IsUnitShop

    Returns boolean

  • Class member alias for UnitIsSleeping

    Returns boolean

  • Class member alias for IsUnitStateNormal

    Parameters

    • additionalCheck: boolean

    Returns boolean

  • Class member alias for IsSuspendedXP

    Returns boolean

  • Class member alias for IsUnitTower

    Returns boolean

  • Class member alias for IsUnitTruesightImmune

    Returns boolean

  • Class member alias for IsUnitType

    Parameters

    Returns boolean

  • Class member alias for IssueBuildOrder

    Parameters

    • unitToBuild: string
    • x: number
    • y: number

    Returns boolean

  • Class member alias for IssueBuildOrderById

    Parameters

    • unitId: number
    • x: number
    • y: number

    Returns boolean

  • Class member alias for IssueImmediateOrder

    Parameters

    • order: string

    Returns boolean

  • Class member alias for IssueImmediateOrderById

    Parameters

    • order: number

    Returns boolean

  • Class member alias for IssueInstantPointOrder

    Parameters

    Returns boolean

  • Class member alias for IssueInstantPointOrderById

    Parameters

    Returns boolean

  • Class member alias for IssuePointOrder

    Parameters

    • order: string
    • x: number
    • y: number

    Returns boolean

  • Class member alias for IssuePointOrderById

    Parameters

    • order: number
    • x: number
    • y: number

    Returns boolean

  • Class member alias for IssuePointOrderByIdLoc

    Parameters

    Returns boolean

  • Class member alias for IssuePointOrderLoc

    Parameters

    Returns boolean

  • Class member alias for IssueTargetOrder

    Parameters

    Returns boolean

  • Class chain property alias for GetUnitItemSlots and SetUnitItemSlots

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for KillUnit

    Returns void

  • Class member alias for KillUnitEx

    Parameters

    Returns void

  • Class chain property alias for GetWidgetLife and SetWidgetLife

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitLifeRegen and SetUnitLifeRegen

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E

    Returns number

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E

    Returns T[E][]

  • Class member alias for UnitMakeAbilityPermanent

    Parameters

    • permanent: boolean
    • abilityId: number

    Returns boolean

  • Class chain property alias for GetUnitManaRegen and SetUnitManaRegen

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitMaxLife and SetUnitMaxLife

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitMaxMana and SetUnitMaxMana

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitModel and SetUnitModel

    Returns string

  • Type Parameters

    • T = string

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitModifySkillPoints

    Parameters

    • skillPointDelta: number

    Returns boolean

  • Class member alias for MorphUnitToTypeId

    Parameters

    • uid: number

    Returns void

  • Class member alias for MorphUnitToTypeIdEx

    Parameters

    • uid: number
    • unitFlags: number
    • updateHealthState: boolean
    • updateManaState: boolean
    • healthStateId: number
    • manaStateId: number
    • updateScale: boolean
    • replaceAbilities: boolean
    • whichAbility: HandleHolder<"ability">
    • resetBuildingAnimation: boolean

    Returns void

  • Class chain property alias for GetUnitMoveSpeed and SetUnitMoveSpeed

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E
    • listener: T[E]

    Returns Unit<T>

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E
    • listener: T[E]

    Returns Unit<T>

  • Parameters

    • event: number | symbol | "damaged" | "damaging" | "selected" | "deselected" | "death" | "decay" | "detected" | "hidden" | "stateLimit" | "acquiredTarget" | "targetInRange" | "attacked" | "rescued" | "constructCancel" | "constructFinish" | "upgradeStart" | "upgradeCancel" | "upgradeFinish" | "trainStart" | "trainCancel" | "trainFinish" | "researchStart" | "researchCancel" | "researchFinish" | "issuedOrder" | "issuedPointOrder" | "issuedTargetOrder" | "heroLevel" | "heroSkill" | "heroRevivable" | "heroReviveStart" | "heroReviveCancel" | "heroReviveFinish" | "summon" | "dropItem" | "pickupItem" | "useItem" | "loaded" | "attackFinished" | "decayFinished"
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns void

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E
    • listener: T[E]

    Returns Unit<T>

  • Class member alias for PauseUnit

    Parameters

    • flag: boolean

    Returns void

  • Class member alias for PauseUnitEx

    Parameters

    • pause: boolean

    Returns void

  • Class member alias for UnitPauseTimedLife

    Parameters

    • flag: boolean

    Returns void

  • Class chain property alias for GetUnitPitch and SetUnitPitch

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E
    • listener: T[E]

    Returns Unit<T>

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E
    • listener: T[E]

    Returns Unit<T>

  • Class chain property alias for GetUnitPropWindow and SetUnitPropWindow

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for QueueBuildOrderById

    Parameters

    • unitId: number
    • x: number
    • y: number

    Returns boolean

  • Class member alias for QueueImmediateOrderById

    Parameters

    • order: number

    Returns boolean

  • Class member alias for QueueInstantPointOrderById

    Parameters

    Returns boolean

  • Class member alias for QueuePointOrderById

    Parameters

    • order: number
    • x: number
    • y: number

    Returns boolean

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E

    Returns T[E][]

  • Class member alias for RecycleGuardPosition

    Returns void

  • Class member alias for RedrawUnit

    Returns void

  • Class chain property alias for GetUnitRemainingTimedLife and SetUnitRemainingTimedLife

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for RemoveUnit

    Returns void

  • Class member alias for UnitRemoveAbility

    Parameters

    • abilityId: number

    Returns boolean

  • Class member alias for UnitRemoveAbilityEx

    Parameters

    • abilityId: number
    • removeDuplicates: boolean

    Returns boolean

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • Optional event: E

    Returns Unit<T>

  • Class member alias for UnitRemoveBuffs

    Parameters

    • removePositive: boolean
    • removeNegative: boolean

    Returns void

  • Class member alias for UnitRemoveBuffsEx

    Parameters

    • removePositive: boolean
    • removeNegative: boolean
    • magic: boolean
    • physical: boolean
    • timedLife: boolean
    • aura: boolean
    • autoDispel: boolean

    Returns void

  • Class member alias for RemoveUnitFromStock

    Parameters

    • unitId: number

    Returns void

  • Class member alias for RemoveGuardPosition

    Returns void

  • Class member alias for RemoveItemFromStock

    Parameters

    • itemId: number

    Returns void

  • Type Parameters

    • E extends string | number | symbol

    Parameters

    • event: E
    • listener: T[E]

    Returns Unit<T>

  • Class member alias for UnitRemoveType

    Parameters

    Returns boolean

  • Class member alias for UnitResetCooldown

    Returns void

  • Class member alias for ResetUnitLookAt

    Returns void

  • Class member alias for ReviveHero

    Parameters

    • x: number
    • y: number
    • doEyecandy: boolean

    Returns boolean

  • Class member alias for ReviveHeroLoc

    Parameters

    Returns boolean

  • Class chain property alias for GetUnitRoll and SetUnitRoll

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetWidgetScale and SetWidgetTimeScale

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for SelectUnit

    Parameters

    • flag: boolean

    Returns void

  • Class member alias for SelectHeroSkill

    Parameters

    • abilcode: number

    Returns void

  • Class chain property alias for IsUnitSelectable and SetUnitSelectable

    Returns boolean

  • Type Parameters

    • T = boolean

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for SetUnitAbilityLevel

    Parameters

    • abilcode: number
    • level: number

    Returns number

  • Class member alias for SetUnitAttackCooldownByIndex

    Parameters

    • attackIndex: number
    • attackCooldown: number

    Returns void

  • Class member alias for SetUnitAttackRangeByIndex

    Parameters

    • attackIndex: number
    • range: number

    Returns void

  • Class member alias for SetUnitAttackTypeByIndex

    Parameters

    • attackIndex: number
    • whichAttackType: HandleHolder<"attacktype">

    Returns void

  • Class member alias for SetUnitBackswingPointByIndex

    Parameters

    • attackIndex: number
    • backswing: number

    Returns void

  • Class member alias for SetUnitBaseDamageByIndex

    Parameters

    • attackIndex: number
    • damage: number

    Returns void

  • Class member alias for SetUnitBonusDamageByIndex

    Parameters

    • attackIndex: number
    • bonusDamage: number

    Returns void

  • Class member alias for SetUnitBooleanField

    Parameters

    Returns boolean

  • Class member alias for SetCameraOrientController

    Parameters

    • xoffset: number
    • yoffset: number

    Returns void

  • Class member alias for SetCameraTargetController

    Parameters

    • xoffset: number
    • yoffset: number
    • inheritOrientation: boolean

    Returns void

  • Class member alias for UnitSetConstructionProgress

    Parameters

    • constructionPercentage: number

    Returns void

  • Class member alias for UnitSetConstructionRemainingTime

    Parameters

    • time: number

    Returns void

  • Class member alias for SetUnitDamageDicesByIndex

    Parameters

    • attackIndex: number
    • dices: number

    Returns void

  • Class member alias for SetUnitDamageDicesSideByIndex

    Parameters

    • attackIndex: number
    • dicesSides: number

    Returns void

  • Class member alias for SetUnitDamagePointByIndex

    Parameters

    • attackIndex: number
    • damagePoint: number

    Returns void

  • Class member alias for SetWidgetFacing

    Parameters

    • facing: number
    • isInstant: boolean

    Returns void

  • Class member alias for SetUnitFacingEx

    Parameters

    • facing: number
    • isInstant: boolean

    Returns void

  • Class member alias for SetUnitFacingTimed

    Parameters

    • facingAngle: number
    • duration: number

    Returns void

  • Class member alias for SetUnitFlyHeight

    Parameters

    • newHeight: number
    • rate: number

    Returns void

  • Class member alias for SetHeroAgi

    Parameters

    • newAgi: number
    • permanent: boolean

    Returns void

  • Class member alias for SetHeroInt

    Parameters

    • newInt: number
    • permanent: boolean

    Returns void

  • Class member alias for SetHeroLevel

    Parameters

    • level: number
    • showEyeCandy: boolean

    Returns void

  • Class member alias for SetHeroStr

    Parameters

    • newStr: number
    • permanent: boolean

    Returns void

  • Class member alias for SetHeroXP

    Parameters

    • newXpVal: number
    • showEyeCandy: boolean

    Returns void

  • Class member alias for SetIllusionDamageDealt

    Parameters

    • multiplier: number

    Returns void

  • Class member alias for SetIllusionDamageReceived

    Parameters

    • multiplier: number

    Returns void

  • Class member alias for SetUnitIntegerField

    Parameters

    Returns boolean

  • Class member alias for SetItemTypeSlots

    Parameters

    • slots: number

    Returns void

  • Class member alias for SetUnitLookAt

    Parameters

    • whichBone: string
    • lookAtTarget: Unit<UnitEventMap>
    • offsetX: number
    • offsetY: number
    • offsetZ: number

    Returns void

  • Class member alias for SetUnitMaterialTexture

    Parameters

    • textureName: string
    • materialId: number
    • textureIndex: number

    Returns void

  • Parameters

    • maxListeners: number

    Returns Unit<T>

  • Class member alias for SetUnitModelEx

    Parameters

    • modelName: string
    • playercolourId: number

    Returns void

  • Class member alias for SetUnitOrientation

    Parameters

    • yaw: number
    • pitch: number
    • roll: number

    Returns void

  • Class member alias for SetUnitOrientationEx

    Parameters

    • yaw: number
    • pitch: number
    • roll: number
    • eulerOrder: number

    Returns void

  • Class member alias for SetUnitOwner

    Parameters

    Returns void

  • Class member alias for SetUnitPosition

    Parameters

    • newX: number
    • newY: number

    Returns void

  • Class member alias for SetUnitRealField

    Parameters

    Returns boolean

  • Class member alias for SetUnitRescuable

    Parameters

    Returns void

  • Class member alias for SetResourceAmount

    Parameters

    • amount: number

    Returns void

  • Class member alias for SetUnitScale

    Parameters

    • scaleX: number
    • scaleY: number
    • scaleZ: number

    Returns void

  • Class member alias for SetUnitState

    Parameters

    Returns void

  • Class member alias for SetUnitStringField

    Parameters

    Returns boolean

  • Class member alias for SetUnitTexture

    Parameters

    • textureName: string
    • textureIndex: number

    Returns void

  • Class member alias for UnitSetUpgradeProgress

    Parameters

    • upgradePercentage: number

    Returns void

  • Class member alias for UnitSetUpgradeRemainingTime

    Parameters

    • time: number

    Returns void

  • Class member alias for UnitSetUsesAltIcon

    Parameters

    • flag: boolean

    Returns void

  • Class member alias for SetUnitVertexColor

    Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

  • Class member alias for SetWidgetVertexColour

    Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

  • Class member alias for SetUnitWeaponBooleanField

    Parameters

    • whichField: HandleHolder<"unitweaponbooleanfield">
    • index: number
    • value: boolean

    Returns boolean

  • Class member alias for SetUnitWeaponIntegerField

    Parameters

    • whichField: HandleHolder<"unitweaponintegerfield">
    • index: number
    • value: number

    Returns boolean

  • Class member alias for SetUnitWeaponRealField

    Parameters

    • whichField: HandleHolder<"unitweaponrealfield">
    • index: number
    • value: number

    Returns boolean

  • Class member alias for SetUnitWeaponSoundByIndex

    Parameters

    • attackIndex: number
    • weaponSound: number

    Returns void

  • Class member alias for SetUnitWeaponStringField

    Parameters

    • whichField: HandleHolder<"unitweaponstringfield">
    • index: number
    • value: string

    Returns boolean

  • Class member alias for SetUnitWeaponTypeByIndex

    Parameters

    • attackIndex: number
    • whichWeaponType: HandleHolder<"weapontype">

    Returns void

  • Class member alias for UnitShareVision

    Parameters

    Returns void

  • Class member alias for ShowUnit

    Parameters

    • show: boolean

    Returns void

  • Class member alias for ShowUnitAbility

    Parameters

    • abilityId: number
    • show: boolean

    Returns void

  • Class member alias for ShowUnitAbilityEx

    Parameters

    • abilityId: number
    • show: boolean
    • checkDuplicates: boolean

    Returns void

  • Class member alias for StartItemCooldown

    Parameters

    Returns void

  • Class member alias for UnitStripHeroLevel

    Parameters

    • howManyLevels: number

    Returns boolean

  • Class chain property alias for GetUnitStunCounter and SetUnitStunCounter

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for IsUnitStunned and SetUnitStunned

    Returns boolean

  • Type Parameters

    • T = boolean

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitSuspendDecay

    Parameters

    • suspend: boolean

    Returns void

  • Class member alias for SuspendHeroXP

    Parameters

    • flag: boolean

    Returns void

  • Class chain property alias for IsUnitTargetable and SetUnitTargetable

    Returns boolean

  • Type Parameters

    • T = boolean

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitTurnSpeed and SetUnitTurnSpeed

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitTypeId and SetUnitTypeId

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitUnapplyUpgrades

    Returns void

  • Class member alias for UpdateUnitInfoBar

    Returns void

  • Class member alias for UnitUseItem

    Parameters

    Returns boolean

  • Class member alias for UnitUseItemPoint

    Parameters

    Returns boolean

  • Class chain property alias for GetUnitUserData and SetUnitUserData

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for IsWidgetVisible and SetWidgetVisible

    Returns boolean

  • Type Parameters

    • T = boolean

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class member alias for UnitWakeUp

    Returns void

  • Class member alias for WaygateActivate

    Parameters

    • activate: boolean

    Returns void

  • Class member alias for WaygateGetDestinationX

    Returns number

  • Class member alias for WaygateGetDestinationY

    Returns number

  • Class member alias for WaygateIsActive

    Returns boolean

  • Class member alias for WaygateSetDestination

    Parameters

    • x: number
    • y: number

    Returns void

  • Class chain property alias for GetUnitX and SetUnitX

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitY and SetUnitY

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Class chain property alias for GetUnitYaw and SetUnitYaw

    Returns number

  • Type Parameters

    • T = number

    Parameters

    • value: T | ((this, currentValue) => T)

    Returns Unit<T>

  • Parameters

    • emitter: EventEmitter<AnyEmmiter>
    • type: string | number

    Returns number

Generated using TypeDoc