WoW:ChatTypeInfo: Difference between revisions

m
Move page script moved page ChatTypeInfo to WoW:ChatTypeInfo without leaving a redirect
(Created page with '= ChatTypeInfo = ChatTypeInfo is used by the blizzard code to colorize messages that appear in the chat frame(s) and combat log. This table can be used by addons for the same rea...')
 
m (Move page script moved page ChatTypeInfo to WoW:ChatTypeInfo without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{wowapi}}
= ChatTypeInfo =
= ChatTypeInfo =
Returns a table with attributes for the different types of messages that appear in the chat frame:
Returns a table with attributes for the different types of messages that appear in the chat frame:
Line 11: Line 12:
*ChatTypeInfo["WHISPER"]
*ChatTypeInfo["WHISPER"]
*ChatTypeInfo["WHISPER_INFORM"]
*ChatTypeInfo["WHISPER_INFORM"]
*ChatTypeInfo["BN_WHISPER"]
*ChatTypeInfo["REPLY"]
*ChatTypeInfo["REPLY"]
*ChatTypeInfo["EMOTE"]
*ChatTypeInfo["EMOTE"]
Line 46: Line 48:
*ChatTypeInfo["RAID_BOSS_EMOTE"]
*ChatTypeInfo["RAID_BOSS_EMOTE"]
*ChatTypeInfo["FILTERED"]
*ChatTypeInfo["FILTERED"]
*ChatTypeInfo["BATTLEGROUND"]
*ChatTypeInfo["INSTANCE_CHAT"]
*ChatTypeInfo["BATTLEGROUND_LEADER"]
*ChatTypeInfo["INSTANCE_CHAT_LEADER"]
*ChatTypeInfo["RESTRICTED"]
*ChatTypeInfo["RESTRICTED"]
*ChatTypeInfo["CHANNEL1"]
*ChatTypeInfo["CHANNEL1"]
Line 70: Line 72:
*g - green color
*g - green color
*b - blue color
*b - blue color
*id - ???
*id - assigned to same value as GetChatTypeIndex(type) within FrameXML\ChatFrame.lua
*sticky - Whether the channel is "sticky". That is, whether you type into that channel again by default after sending a message, or whether it returns to the last sticky channel you typed into the next time you go to send a message. Default sticky channels are listed [http://www.wowwiki.com/Chat#Advanced_Chat_Terminology.2FDetails here].
*sticky - Whether the channel is "sticky". That is, whether you type into that channel again by default after sending a message, or whether it returns to the last sticky channel you typed into the next time you go to send a message. Default sticky channels are listed [http://www.wowwiki.com/Chat#Advanced_Chat_Terminology.2FDetails here].
Anonymous user