Lore archive · Warcraft Wiki, 2023 dump
API FramePoolCollectionMixin CreatePool
Last wiki revision 2021-05-17
Returns a frame pool within a collection of frame pools. pool = collection:CreatePool(frameType, parent, template [, resetterFunc, forbidden]) pool = collection:GetOrCreatePool(frameType, parent, template [, resetterFunc, forbidden]) collection:CreatePoolIfNeeded(frameType, parent, template [, resetterFunc, forbidden])
- frameType : - See.
- parent : | - Required, even if, because the third argument is required.
- template : - Identifies each pool within the collection.
- resetterFunc : - See.
- forbidden : - See.
- pool : - FramePoolMixin
- Every pool in a collection is identified by its XML template, so unlike or this argument is required.
- GetOrCreatePool avoids overwriting an existing pool, which CreatePool would do.
- CreatePoolIfNeeded also creates the pool if it does not exist, but without any return value.
Source
https://warcraft.wiki.gg/wiki/API_FramePoolCollectionMixin_CreatePool · 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.