Go to most recent revision | Compare with Previous | Blame | View Log
--[[ Addon: Taos Group Ultimate Author: TProg Taonnor Created by @Taonnor ]]-- --[[ Global variables ]]-- local LOG_ACTIVE = false --[[ Class SettingsHandler ]]-- SettingsHandler = {} SettingsHandler.__index = SettingsHandler --[[ Class Members ]]-- SettingsHandler.SettingsName = "TaosGroupUltimateSettings" SettingsHandler.SavedVariables = nil SettingsHandler.Default = { ["PosX"] = 0, ["PosY"] = 0, ["Movable"] = true, ["StaticUltimateID"] = 29861, ["SwimlaneUltimateGroupIds"] = { [1] = 29861, [2] = 29861, [3] = 29861, [4] = 29861, [5] = 29861, [6] = 29861, }, } --[[ Class Members ]]-- --[[ Initialize loads SavedVariables ]]-- function SettingsHandler.Initialize() if (LOG_ACTIVE) then logTrace("SettingsHandler.Initialize") end SettingsHandler.SavedVariables = ZO_SavedVars:NewAccountWide(SettingsHandler.SettingsName, 1 , nil, SettingsHandler.Default) end