Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetChatTypeIndex

From WoW Classic Wiki
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