Fandom

WoWWiki

API GetChatTypeIndex

104,632pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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.

Also on Fandom

Random Wiki