Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ObjectPoolMixin GetNextActive

Last wiki revision 2021-05-18

Stateless iterator to cycle through the active and inactive widgets in an. widget = pool:NextActive([current]) widget = pool:NextInactive([current])

  • current : - Current widget in the list, or nil to start at the beginning.
  • widget : - Next widget in the list, or nil when the last widget has been reached.
  • There are no assurances the widgets will be accessed in any particular order.

local widget = pool:NextActive while (widget) do -- do something widget = pool:NextActive end

  • - Generic stateless iterator.

Source

https://warcraft.wiki.gg/wiki/API_ObjectPoolMixin_GetNextActive · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.