GetAchievementCategoryInfo
ESO Lua API function — used by 40 of the 3,030 addons we indexed (combined 41,427,165 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetAchievementCategoryInfo(luaindex topLevelIndex)Returns: string name, integer numSubCatgories, integer numAchievements, integer earnedPoints, integer totalPoints, bool hidesPoints
Real usage — from LoreBooks
ZO_CreateStringId("LBOOKS_IMMERSIVE_CHOICE3", GetString(SI_MAPFILTER8))
ZO_CreateStringId("LBOOKS_IMMERSIVE_CHOICE4", GetAchievementCategoryInfo(6))
ZO_CreateStringId("LBOOKS_IMMERSIVE_CHOICE5", "Zona de Missões")Short excerpt from the shipping addon LoreBooks — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| LoreBooks | 13,090,355 |
| SkyShards | 12,943,031 |
| Code's Combat Alerts | 4,445,158 |
| LibSets (All set items ingame & preview. lua API + excel sheet) | 4,357,189 |
| WritWorthy | 2,484,332 |
| Item Set Browser | 1,893,031 |