Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
m (Forgot to remove a link to my sandbox page )-:)
KethoBot (talk | contribs)
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 ==
+
==Parameters==
=== Arguments ===
+
===Arguments===
 
:(index)
 
:(index)
   
:;index : Integer - Range from 1 to [[User:Borlox/API_KBSetup_GetCategoryCount|KBSetup_GetCategoryCount]]()
+
:;index:{{apitype|number}} - Range from 1 to [[API_KBSetup_GetCategoryCount|KBSetup_GetCategoryCount]]()
   
=== Returns ===
+
===Returns===
 
:id, caption
 
:id, caption
   
:;id : Integer - The category's id.
+
:;id:{{apitype|number}} - The category's id.
:;caption : String - The category caption.
+
:;caption:{{apitype|string}} - The category caption.
   
== Details ==
+
==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

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.