local this = class("pageMainWorld", G_UIPageBase)

function this.bind()
  return {txt_inputNpc = ""}
end

function this.methods()
  return {
    onClick_npc = function(self)
      printf("\229\164\167\228\184\150\231\149\140", "npc\233\128\187\232\190\145\229\136\160\233\153\164\239\188\140\232\175\183\228\188\152\229\140\150\230\173\164\228\187\163\231\160\129\233\128\187\232\190\145")
    end,
    onClick_formation = function()
      L_UI:open("pageCreateTestTeam")
    end,
    onClick_battle = function()
      L_UI:open("pageCreateTestBattle")
    end,
    onClick_scene = function()
      L_UI:open("pageTestBattleScene")
    end,
    onClick_mountSelect = function()
      L_UI:open("pageTestMountSelect")
    end,
    onClick_mount = function(self)
      self:mount()
    end,
    onClick_outMount = function(self)
      self:outMount()
    end,
    onClick_pet = function()
      L_UI:open("pageTestCreatePet")
    end,
    onClick_monster = function()
      L_UI:open("pageCreateTestMonster")
    end
  }
end

function this:ctor()
  this.super.ctor(self)
end

function this:open(options)
  this.super.open(self, options)
  errorf("\232\191\155\229\133\165\230\168\161\230\139\159\229\153\168\230\128\187\229\133\177\232\138\177\232\180\185" .. C_Time.realtimeSinceStartup .. "\231\167\146")
end

function this:mount()
  AzurWorld.playerMgr.myPlayerUnitAdapter:SwitchToMountMainControl()
end

function this:outMount()
  AzurWorld.playerMgr.myPlayerUnitAdapter:SwitchOutMountMainControl()
end

function this:close(options)
  this.super.close(self, options)
end

function this:escHandle()
end

return this
