v0.13.8

GetChannelDisplayInfo

functionimplementedavailable in: camelot

Returns info for chat channels and headers in the Chat Pane.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
indexnumberan integer between 1 and GetNumDisplayChannels() (ChannelFrame can display a combined maximum of 20 channels and headers; see MAX_CHANNEL_BUTTONS and use API GetNumDisplayChannels)

Returns

#nametypedescription
1namestring(*for channels*) channel name; (*for headers*) name of the header
2headerbooleantrue if this item is a header (e.g. for category "CHANNEL_CATEGORY_WORLD")
3collapsedboolean?(*for headers*) true if subchannels are hidden (header is collapsed), otherwise false or nil
4channelNumbernumber?(*for channels*) channel number, nil otherwise
5countnumber?(*for channels*) number of players in this channel; (*for headers*) number of subchannels beneath this header, nil otherwise
6activeboolean?(*for channels*) true if channel is active (if you leave a city where you were in Trade Channel the channel will remain as inactive), nil otherwise
7categorystring(*for channels*) "CHANNEL_CATEGORY_WORLD", "CHANNEL_CATEGORY_GROUP" or "CHANNEL_CATEGORY_CUSTOM"
8channelTypenumber

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.