local this = class("heroTestTpl")

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

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

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

function this:getSkillSystem(tpl)
  return tpl.skillSystem
end

function this:getPosition(tpl)
  return tpl.position
end

function this:getSkillBytesPath(tpl)
  return tpl.skillBytesPath
end

function this:getNations(tpl)
  return tpl.groups
end

function this:getSkillList(tpl)
  return tpl.skillList
end

function this:getPassiveSkillList(tpl)
  return tpl.passiveSkillList
end

function this:getLevelUpType(tpl)
  return tpl.levelUpType
end

function this:getCost(tpl)
  return tpl.cost
end

function this:getRarity(tpl)
  return tpl.rarity
end

function this:getPropertyId(tpl)
  return tpl.propertyId
end

function this:getWeaponType(tpl)
  return tpl.weaponType
end

function this:getWeaponDefault(tpl)
  return tpl.weaponDefault
end

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

function this:getBackupSkillList(tpl)
  return tpl.backupSkillList
end

function this:getUnitId(tpl)
  return tpl.unitId
end

function this:getDec(tpl)
  return L_Config:provider(tpl.dec)
end

function this:getAttackSkill(tpl)
  return tpl.attackSkill
end

return this
