WoW:API GetChatTypeIndex

From AddOn Studio
Revision as of 04:19, 1 April 2005 by WoWWiki>Flickering
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetChatTypeIndex - Documentation by Flickering

Return the numeric type index for a specific 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.

Template:WoW API