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 WritWorthy — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.