API GetStatisticsCategoryList

Returns the list of statistic categories.
 categories = GetStatisticsCategoryList()
==Returns==
:;categories: - list of all the categories
==Example==
The snippet below prints info about the category IDs.
 local categories = GetStatisticsCategoryList()
 for i, id in next(categories) do
 local key, parent = GetCategoryInfo(id)
 print("The key %d has the parent %d", key, parent)
 end
==Patch changes==