KLSelectRolePanelView.lua 894 B

12345678910111213141516171819202122
  1. ---@class KLSelectRolePanelView:UIKmlLuaViewBase
  2. ---@field UICreateRolePanel UIKmlLuaControl
  3. ---@field createRolePanel UIKmlLuaControl
  4. ---@field PlayerRole UIKmlLuaControl
  5. ---@field NewCreateButton UIKmlLuaControl
  6. ---@field GameObject UIKmlLuaControl
  7. ---@field CreatButton UIKmlLuaControl
  8. ---@field Image UIKmlLuaControl
  9. ---@field Right (1) UIKmlLuaControl
  10. ---@field Left (1) UIKmlLuaControl
  11. ---@field StartButton UIKmlLuaControl
  12. ---@field BackButton UIKmlLuaControl
  13. local KLSelectRolePanelView = {}
  14. setmetatable(KLSelectRolePanelView,UIKmlLuaViewBase)
  15. local kmlPath = 'dev/ui/CreateRole/Panel/KLSelectRole/KLSelectRolePanelKml'
  16. KLSelectRolePanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  17. ---@param parent UIKmlLuaControl
  18. function KLSelectRolePanelView:Init(parent)
  19. self:InitRoot(parent,kmlPath,KLSelectRolePanelView.content)
  20. end
  21. return KLSelectRolePanelView