local this = class("gameEventsTpl")

function this:init(config)
  self.data = config
end

function this:getTplById(id)
  return self.data[id]
end

function this:getHelp(tpl)
  return tpl.help
end

function this:getStartShowTime(tpl)
  return tpl.startShowTime
end

function this:getType(tpl)
  return tpl.type
end

function this:getId(tpl)
  return tpl.id
end

function this:getShow(tpl)
  return tpl.show
end

function this:getUnlockShow(tpl)
  return tpl.unlockShow
end

function this:getLoopInterval(tpl)
  return tpl.loopInterval
end

function this:getSort(tpl)
  return tpl.sort
end

function this:getLoopTime(tpl)
  return tpl.loopTime
end

function this:getDesc(tpl)
  return L_Config:provider(tpl.desc)
end

function this:getEndTime(tpl)
  return tpl.endTime
end

function this:getLoopType(tpl)
  return tpl.loopType
end

function this:getStartTime(tpl)
  return tpl.startTime
end

function this:getSystemId(tpl)
  return tpl.systemId
end

function this:getEndShowTime(tpl)
  return tpl.endShowTime
end

function this:getEndShowType(tpl)
  return tpl.endShowType
end

function this:getName(tpl)
  return tpl.name
end

function this:getParam(tpl)
  return tpl.param
end

function this:getCondition(tpl)
  return tpl.condition
end

function this:getRewardShow(tpl)
  return tpl.rewardShow or {}
end

function this:getAllData()
  return self.data
end

return this
