From 2bd6bcb5d12f97fb5e8ec7780c3aa5bbf781ea7e Mon Sep 17 00:00:00 2001 From: jeffi Date: Thu, 7 Mar 2024 19:02:49 -0600 Subject: [PATCH] Add `id` function to Tinkr WowGameObject --- Tinkr.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tinkr.lua b/Tinkr.lua index b889709..3aeb16d 100644 --- a/Tinkr.lua +++ b/Tinkr.lua @@ -8,6 +8,7 @@ ---@class WowGameObject : userdata ---@field unit fun(): UnitIds ---@field guid fun(): string +---@field id fun(): ...:number ---@alias TinkrObjectReference WowGameObject | UnitIds @@ -1362,7 +1363,7 @@ local TinkrUtil = { ---@type Tinkr.Util.Modules.Draw Draw = {}, LibStub = LibStub, - JSON = Tinkr.Util.Modules.JSON, + JSON = Tinkr.Util.JSON, Serialize = {}, } --#endregion Tinkr.Util