Wikia

WoWWiki

Changes: API GetChatTypeIndex

Edit

Back to page

(Arguments)
(Arguments)
 
Line 8: Line 8:
 
:("typeCode")
 
:("typeCode")
   
:;typeCode : String - The type code for the chat type (One of the key values of the '''[[ChatTypeInfo]]''' table.
+
:;typeCode : String - The type code for the chat type (One of the key values of the '''[[ChatTypeInfo]]''' table).
   
 
=== Returns ===
 
=== Returns ===

Latest revision as of 21:10, July 13, 2009

WoW API < GetChatTypeIndex

Return the numeric type index for a specific chat type.

typeIndex = GetChatTypeIndex("typeCode")

Parameters Edit

Arguments Edit

("typeCode")
typeCode 
String - The type code for the chat type (One of the key values of the ChatTypeInfo table).

Returns Edit

typeIndex
typeIndex 
Number - The numeric type index for that chat type, used as the ID number for coloring.

Around Wikia's network

Random Wiki