GetChatTypeIndex

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the index for a chat type.

typeIndex = GetChatTypeIndex(typeCode)

Parameters

Arguments

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

Returns

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