KLUICreateRolePanelView.lua 1.0 KB

12345678910111213141516171819202122232425
  1. ---@class KLUICreateRolePanelView:UIKmlLuaViewBase
  2. ---@field create_panel UIKmlLuaControl
  3. ---@field closeBtn UIKmlLuaControl
  4. ---@field createrole_togglegroup UIKmlLuaControl
  5. ---@field createrole_layout UIKmlLuaControl
  6. ---@field createrole_model UIKmlLuaControl
  7. ---@field createrole_description UIKmlLuaControl
  8. ---@field lualoopscrollview UIKmlLuaControl
  9. ---@field att_list UIKmlLuaControl
  10. ---@field createrole_input UIKmlLuaControl
  11. ---@field btn_createrole_random UIKmlLuaControl
  12. ---@field text_createrole_unlock UIKmlLuaControl
  13. ---@field btn_createrole_create UIKmlLuaControl
  14. ---@field btn_createrole_unlock UIKmlLuaControl
  15. local KLUICreateRolePanelView = {}
  16. setmetatable(KLUICreateRolePanelView,UIKmlLuaViewBase)
  17. local kmlPath = 'dev/ui/CreateRole/Panel/KLUICreateRole/KLUICreateRolePanelKml'
  18. KLUICreateRolePanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  19. ---@param parent UIKmlLuaControl
  20. function KLUICreateRolePanelView:Init(parent)
  21. self:InitRoot(parent,kmlPath,KLUICreateRolePanelView.content)
  22. end
  23. return KLUICreateRolePanelView