API C_LFGList.GetAvailableCategories

From Wowpedia
Jump to: navigation, search

Returns a list of available categoryIDs. For information about a category use C_LFGList.GetCategoryInfo(categoryID).

categories = C_LFGList.GetAvailableCategories([filter])

Arguments

filter
Number (optional) - Bit mask to filter the results. If omitted the function returns all categories. See C_LFGList.GetActivityInfo for more information.

Returns

categories 
Table - A table containing the requested categoryIDs (not in order).