Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

C_LFGList.GetAvailableActivities

From Wowpedia
Jump to: navigation, search

Returns a list of available activityIDs. For information about an activity use C_LFGList.GetActivityInfo().

activities = C_LFGList.GetAvailableActivities([categoryID [, groupID [, filter]]])

Arguments

categoryID
Number (optional) - Use to only get activityIDs associated with a specific category. Use C_LFGList.GetAvailableCategories() to get a list of all available categoryIDs. If omitted the function returns activities of all categories.
groupID
Number (optional) - Use to only get activityIDs associated with a specific group. See C_LFGList.GetActivityGroupInfo for more information. If omitted the function returns activities of all groups.
filter
Number (optional) - Bit mask to filter the results. See C_LFGList.GetActivityInfo for more information.

Returns

activities 
Table - A table containing the requested activityIDs (not in order).