~/forever/addon-api
Addon API
CanEjectPassengerFromSeat(virtualSeatIndex) : resultCanSwitchVehicleSeat() : resultClosestGameObjectPosition(gameObjectID) : xPos, yPos, distanceClosestUnitPosition(creatureID) : xPos, yPos, distanceCreateUnitHealPredictionCalculator() : healPredictionCalculatorEjectPassengerFromSeat(virtualSeatIndex)GetComboPoints(unit, target) : resultGetNegativeCorruptionEffectInfo() : corruptionEffectsGetUnitChargedPowerPoints(unit) : pointIndicesGetUnitEmpowerHoldAtMaxTime(unit) : holdAtMaxTimeGetUnitEmpowerMinHoldTime(unit) : minHoldTimeGetUnitEmpowerStageDuration(unit, index) : durationGetUnitHealthModifier(unit) : resultGetUnitMaxHealthModifier(unit) : resultGetUnitPowerBarInfo(unitToken) : infoGetUnitPowerBarInfoByID(barID) : infoGetUnitPowerBarStrings(unitToken) : name, tooltip, costGetUnitPowerBarStringsByID(barID) : name, tooltip, costGetUnitPowerBarTextureInfo(unitToken, textureIndex, timerIndex?) : texture, colorR, colorG, colorB, colorAGetUnitPowerBarTextureInfoByID(barID, textureIndex) : texture, colorR, colorG, colorB, colorAGetUnitPowerModifier(unit) : resultGetUnitSpeed(unit) : currentSpeed, runSpeed, flightSpeed, swimSpeedGetUnitTotalModifiedMaxHealthPercent(unit) : resultGetVehicleUIIndicator(vehicleIndicatorID) : backgroundTextureID, numSeatIndicatorsGetVehicleUIIndicatorSeat(vehicleIndicatorID, indicatorSeatIndex) : virtualSeatIndex, xPos, yPosIsFalling(unit?) : resultIsFlying(unit?) : resultIsPlayerInGuildFromGUID(playerGUID) : IsInGuildIsSubmerged(unit?) : resultIsSwimming(unit?) : resultIsUnitModelReadyForUI(unitToken) : isReadyPlayerIsPVPInactive(unit) : resultPlayerIsSpellTarget(unit) : resultPlayerVehicleHasComboPoints() : vehicleHasComboPointsRegionalUniqueNamesEnabled() : resultReportPlayerIsPVPAFK(unit)ResistancePercent(resistance, casterLevel) : resultSetPortraitTexture(textureObject, unitToken, disableMasking)SetPortraitTextureFromCreatureDisplayID(textureObject, creatureDisplayID)SetUnitCursorTexture(textureObject, unit, style?, includeLowPriority?, preferGamepadIcon?) : hasCursorUnitAffectingCombat(unit) : resultUnitAlliedRaceInfo(unit) : isAlliedRace, hasHeritageArmorUnlockedUnitArmor(unit) : base, effective, real, bonusUnitAttackPower(unit) : attackPower, posBuff, negBuffUnitAttackSpeed(unit) : attackSpeed, offhandAttackSpeed, rangedAttackSpeedUnitBattlePetLevel(unit) : resultUnitBattlePetSpeciesID(unit) : resultUnitBattlePetType(unit) : resultUnitCanAssist(unit, target, canAssistImmunePC, canAssistUninteractable) : resultUnitCanAttack(unit, target) : resultDocumented entries come from Blizzard's in-client API documentation, and UI code functions from its Lua files, mirrored per build. C functions that neither mentions aren't included, and UI code functions can be internal.