WoW API: GetChatTypeIndex

Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API GetChatTypeIndex to API GetChatTypeIndex without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetChatTypeIndex

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.