View Single Post
02/03/22, 06:59 PM   #14
Gullyable
Join Date: Apr 2018
Posts: 13
Originally Posted by Baertram View Post
I got it at github, you can link to it:
https://github.com/Baertram/ESO-Cons...mper/tree/main
I'm now using your DumpVars to generate esoui_constants_live.lua as follows:

Code:
local ACTIONBARSLOTTYPE_STRINGS = {
    [1] = "ACTION_TYPE_ABILITY",
    [6] = "ACTION_TYPE_CHAMPION_SKILL",
    [7] = "ACTION_TYPE_COLLECTIBLE",
    [8] = "ACTION_TYPE_EMOTE",
    [2] = "ACTION_TYPE_ITEM",
    [0] = "ACTION_TYPE_NOTHING",
    [10] = "ACTION_TYPE_QUEST_ITEM",
    [9] = "ACTION_TYPE_QUICK_CHAT",
}
function ActionBarSlotType_get_string(value)
    return ACTIONBARSLOTTYPE_STRINGS[value] or tostring(value)
}
What's the proper way to include that file in my addon then use the functions?
  Reply With Quote