local key = "worldboss"
local prio = 5
local Exlist = Exlist
local L = Exlist.L
--local colors = Exlist.Colors
--local strings = Exlist.Strings

local function Updater(event)
  local t = {}

  Exlist.UpdateChar(key,t)
end

local function Linegenerator(tooltip,data,character)
  local info = {
    character = character,
    priority = prio,
    moduleName = key,
    titleName = L["Title Name"],
    -- data = "",
    -- colOff = 0,
    -- dontResize = false,
    -- OnEnter = function() end,
    -- OnEnterData = {},
    -- OnLeave = function() end,
    -- OnLeaveData = {},
    -- OnClick = function() end,
    -- OnClickData = {},

  }

  Exlist.AddData(info)
end

--[[
local function GlobalLineGenerator(tooltip,data)

end
]]

--[[
local function Modernize(data)
  -- data is table of module table from character
  -- always return table or don't use at all
  return data
end
]]

--[[
local function init()
  -- code that will run before any other function
end
]]

--[[
local function ResetHandler(resetType)
  -- code that will be run at reset for this module
  -- instead of just wiping all data that is keyed 
  -- by this module key
end
]]

local data = {
  name = L['Currency'],
  key = key,
  linegenerator = Linegenerator,
  priority = prio,
  updater = Updater,
  event = {"CURRENCY_DISPLAY_UPDATE","PLAYER_MONEY"},
  weeklyReset = false,
  dailyReset = false,
  description = L[""],
  -- globallgenerator = GlobalLineGenerator,
  -- modernize = Modernize,
  -- init = init,  
  -- override = true,
  -- specialResetHandle = ResetHandler

}

Exlist.RegisterModule(data)
