framework update; added /dumpt to dump tables

This commit is contained in:
Tercio Jose
2022-09-21 13:42:55 -03:00
parent 8bf4571705
commit 5e847efe3c
12 changed files with 171 additions and 31 deletions
+7
View File
@@ -11,6 +11,13 @@ local UnitGUID = UnitGUID
local tonumber= tonumber
local LoggingCombat = LoggingCombat
SLASH_DUMPTABLE1 = "/dumpt"
function SlashCmdList.DUMPTABLE(msg, editbox)
local result = "return function() return " .. msg .. " end"
local extractValue = loadstring(result)
return Details:Dump(extractValue()())
end
SLASH_DETAILS1, SLASH_DETAILS2, SLASH_DETAILS3 = "/details", "/dt", "/de"
function SlashCmdList.DETAILS (msg, editbox)