ESODecoded

GetAchievementSubCategoryInfo

ESO Lua API function — used by 28 of the 3,030 addons we indexed (combined 5,968,188 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetAchievementSubCategoryInfo(luaindex topLevelIndex, luaindex subCategoryIndex)

Returns: string name, integer numAchievements, integer earnedPoints, integer totalPoints, bool hidesPoints

Real usage — from WritWorthy

        local subcat_info = {
          GetAchievementSubCategoryInfo(cat_i, subcat_i)
        }

Short excerpt from the shipping addon WritWorthyits 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
WritWorthy2,484,332
WPamA (What Pledges at my Alts)735,283
Character Knowledge (Research, Motif, Recipe, Furnishing Plan and Scribing Tracker)733,709
PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch]487,232
Caro's Skill Point Saver (Respec Skill Lines, Champion Points, Gear, Quickslots, Appearances)364,055
Votan's Achievements Overview330,065