Update `ObjectID` and `WowGameObject:id()` returns.

main
jeffi 11 months ago
parent 2bd6bcb5d1
commit d697e6929d
  1. 4
      Tinkr.lua

@ -8,7 +8,7 @@
---@class WowGameObject : userdata
---@field unit fun(): UnitIds
---@field guid fun(): string
---@field id fun(): ...:number
---@field id fun(): number | boolean, ...: number|nil
---@alias TinkrObjectReference WowGameObject | UnitIds
@ -1713,7 +1713,7 @@ local TinkrObjects = {
---Returns the NPC ID of a WowGameObject.
---@param objectRef TinkrObjectReference
---@return number | false
---@return (number | boolean), (number?) ...
ObjectID = function(objectRef) end,
---Check if a WowGameObject is outside (AKA not in a cave).

Loading…
Cancel
Save