10 lines
1.2 KiB
Lua
10 lines
1.2 KiB
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
|
|
---@param id number
|
|
---@param includeSuperseded boolean
|
|
---@return number numItems
|
|
---@return number numCompleted
|
|
---@return number numUncompleted
|
|
---Returns the number of achievements/statistics to display in a category. Without the includeSuperseded parameter this function only returns the number of achievements displayed in the default UI. The includeSuperseded parameter does not influence the number to be displayed in the default UI. Achievements may belong to a category but not be counted for display: e.g. among those which are part of a series (100 Quests Completed, 500 Quests Completed), only the achievement most recently completed and the achievement following it in the series are shown.Note that numUncompleted only includes the visible uncompleted achievements, so in e.g. the series 10 quests -> 25 quests -> 100 quests -> 500 quests, if you've completed 80 quests (so "100 quests" comes next and "500 quests" is hidden), only "100 quests" counts towards numUncompleted.BUG: for includeSuperseded=false the returned numItems is sometimes too high (as is numUncompleted)
|
|
function GetCategoryNumAchievements(id, includeSuperseded) end
|