Object
Gets a single object.
Object(--[[(1)]]unitID) : WowGameObject
- See Wowpedia for more information on WoW Unit IDs.
Example
Geth a WowGameObject
reference to the player.
local object = Object('player')-- handle object
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.