Borlox7456@legacy41528709 (talk | contribs) m (Forgot to remove a link to my sandbox page )-:) |
m (format apitype) Tag: WoW API docs |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
id, caption = KBSetup_GetCategoryData(index) |
id, caption = KBSetup_GetCategoryData(index) |
||
− | == |
+ | ==Parameters== |
− | === |
+ | ===Arguments=== |
:(index) |
:(index) |
||
− | :;index |
+ | :;index:{{apitype|number}} - Range from 1 to [[API_KBSetup_GetCategoryCount|KBSetup_GetCategoryCount]]() |
− | === |
+ | ===Returns=== |
:id, caption |
:id, caption |
||
− | :;id |
+ | :;id:{{apitype|number}} - The category's id. |
− | :;caption |
+ | :;caption:{{apitype|string}} - The category caption. |
− | == |
+ | ==Details== |
* Seems to only work if KBSetup_IsLoaded() returns true. |
* Seems to only work if KBSetup_IsLoaded() returns true. |
Latest revision as of 02:41, 22 July 2022
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns information about a category.
id, caption = KBSetup_GetCategoryData(index)
Parameters
Arguments
- (index)
- index
- number - Range from 1 to KBSetup_GetCategoryCount()
Returns
- id, caption
- id
- number - The category's id.
- caption
- string - The category caption.
Details
- Seems to only work if KBSetup_IsLoaded() returns true.