WoW:API GetNumDisplayChannels: Difference between revisions
Jump to navigation
Jump to search
(Page created) |
m (Move page script moved page API GetNumDisplayChannels to API GetNumDisplayChannels without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
channelCount = GetNumDisplayChannels(); | channelCount = GetNumDisplayChannels(); | ||
Line 7: | Line 8: | ||
---- | ---- | ||
<small>This is part of the [[World of Warcraft API]]</small> | <small>This is part of the [[World of Warcraft API]]</small> | ||
Latest revision as of 04:46, 15 August 2023
← WoW API < GetNumDisplayChannels
channelCount = GetNumDisplayChannels();
This function returns the number of channels and headers currently displayed by ChannelFrame. Usually used to loop through all available channels/headers to perfom API GetChannelDisplayInfo on them.
Note that this function only retrieves the number of visible channels/headers! Those subchannels that are hidden by a collapsed header are not counted.
This is part of the World of Warcraft API