WoW API: GetChatTypeIndex

From AddOn Studio
Jump to navigation Jump to search

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.