ESODecoded

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 LoreBooksits 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
LoreBooks13,090,355
SkyShards12,943,031
Code's Combat Alerts4,445,158
LibSets (All set items ingame & preview. lua API + excel sheet)4,357,189
WritWorthy2,484,332
Item Set Browser1,893,031