Objects
Gets a list of all objects.
Objects(--[[(1)]][filterTypeID]) : { WowGameObject, ... }
filterTypeID
can be used to filter only specific WowGameObject Types back.
Example
Iterate through all WowGameObject
's.
local objects = Objects() for i, object in ipairs(objects) do -- handle objectend
Note
All WowGameObject
references are ephemeral, and should never be stored for use later. Use the object inside
the context of the iteration or directly after obtaining it. There is no guarantee on an objects lifetime and
they will be garbage collected as soon as possible.