ESODecoded

GetAbilityProgressionXPInfoFromAbilityId

ESO Lua API function — used by 29 of the 3,030 addons we indexed (combined 12,417,382 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetAbilityProgressionXPInfoFromAbilityId(integer abilityId)

Returns: bool hasProgression, luaindex progressionIndex, integer lastRankXp, integer nextRankXP, integer currentXP, bool atMorph

Real usage — from Action Duration Reminder

  end
  local hasProgression,progressionIndex = GetAbilityProgressionXPInfoFromAbilityId(id)
  ability.progressionName = hasProgression and GetAbilityProgressionInfo(progressionIndex) or nil

Short excerpt from the shipping addon Action Duration Reminderits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Action Duration Reminder6,522,011
Harven's Improved Skills Window1,728,271
AlphaGear 2 (Builds, Gear, Skills, Banking)848,683
Assist Rapid Riding629,563
Dressing Room for Stonethorn527,263
Combat Metronome (GCD Tracker)483,791