local this = class("moduleRoguePanel", G_UIModuleBase)
local attendanceTpl = L_GameTpl:getDailyAttendanceTpl()
local attendanceTeamTpl = L_GameTpl:getDailyAttendanceTeamTpl()
local gameActTpl = L_GameTpl:getGameActTpl()

function this:ctor(...)
  this.super.ctor(self, ...)
  self.data = {}
end

function this.bind()
  return {txt_surveryNum = "", txt_surveryMax = ""}
end

function this.methods()
  return {
    onClick_goto = function(self, data)
      L_FlyMsgManager:showNormalMsg("\232\183\179\232\189\172\232\130\137\233\184\189\230\178\161\230\156\137\229\174\158\231\142\176\229\175\185\229\186\148\233\128\187\232\190\145(\230\154\130\230\151\182\229\177\143\232\148\189)")
    end
  }
end

function this:open()
  local rogueInvestigaterewardTpl = L_GameTpl:getRogueInvestigaterewardTpl()
  local maxPoint = 0
  for _, v in pairs(rogueInvestigaterewardTpl.data) do
    local id = v.id
    local tpl = rogueInvestigaterewardTpl:getTplById(id)
    local point = rogueInvestigaterewardTpl:getPoint(tpl)
    if maxPoint < point then
      maxPoint = point
    end
  end
  self.bind.txt_surveryMax = string.concat("/", maxPoint)
  self:refreshPoint()
end

function this:refreshPoint()
  self.bind.txt_surveryNum = tostring(L_RogueStore:getSurveryPoint())
end

function this:close()
end

function this:initPage(starManualId)
  local id = starManualId
end

function this:startDateTimer()
end

function this:disposeTimer()
end

return this
