Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API CreateFromMixins

Last wiki revision 2020-06-06

Copies (or mixes in) children from one or more tables into another. object = Mixin(object, ...) object = CreateFromMixins(...)

  • object : - The table that children are pasted into
  • ... : - One or more pattern tables that are copied from
  • object : - The table that children were pasted into
  • CreateFromMixins creates a new table, while Mixin pastes children to an existing one
  • When there are multiple pattern tables, children of later ones will overwrite copies of earlier ones (ie, order matters)

- Also calls object:Init(...), but accepts only a single table to copy from

Source

https://warcraft.wiki.gg/wiki/API_CreateFromMixins · 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.