cfg_showHideUI.lua 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_showHideUI_column
  3. ---@field id number @控制UIID column=1 A
  4. ---@field panelName string @UI名 column=2 B
  5. ---需要做消失显示的物体路径
  6. ---@field path string @子物体路径 column=3 C
  7. ---顺时针递增 正上=0 右上=1 右=2 右下=3 下=4 左下=5 左=6 左上=7
  8. ---@field direction number @消失方向 column=4 D
  9. ---@field showTime number @显示时间 column=5 E
  10. ---@field hideTime number @消失时间 column=6 F
  11. ---@field moveX number @上下移动距离 column=7 G
  12. ---@field moveY number @左右移动距离 column=8 H
  13. ---@field npcTalkShow number @npc聊天显示的界面 column=9 I
  14. ---控制 主界面的显示位置
  15. ---@field showPos string @控制 主界面的显示位置 column=10 J
  16. local cfg_showHideUI =
  17. {
  18. {id=1, panelName="KLMiniMapPanel", path="KLMiniMapPanel", direction=1, npcTalkShow=1},
  19. {id=2, panelName="KLTaskPanel", path="KLTaskPanel"},
  20. {id=7, panelName="KLMainAttackPanel", path="KLMainAttackPanel", direction=3, showPos="0#56"},
  21. {id=8, panelName="KLJoyStickPanel", path="KLJoyStickPanel", direction=5, showPos="0#44"},
  22. {id=9, panelName="KLActivityTipPanel", path="KLActivityTipPanel", direction=2, showPos="603#181"},
  23. {id=10, panelName="KLTalkBtnPanel", path="KLTalkBtnPanel", direction=2, showPos="0#60"},
  24. {id=11, panelName="KLUIChatSmallPanel", path="KLUIChatSmallPanel", showPos="0#60"},
  25. {id=12, panelName="KLPreviewEntrancePanel", path="KLPreviewEntrancePanel", showPos="-300#150"},
  26. {id=27, panelName="KLUILeftUpPanel", path="KLUILeftUpPanel"},
  27. {id=28, panelName="KLUIPlayerInfoPanel", path="KLUIPlayerInfoPanel", direction=4},
  28. {id=29, panelName="KLUISystemLeftPanel", path="KLUISystemLeftPanel", direction=2, showPos="602#155"},
  29. {id=30, panelName="KLUISystemTopPanel", path="KLUISystemTopPanel", direction=0, showPos="-506#-51"},
  30. {id=31, panelName="KLMonsterMapPointPanel", path="KLMonsterMapPointPanel", direction=1},
  31. {id=32, panelName="KLUITeamWindowPanel", path="KLUITeamWindowPanel", moveX=0, moveY=0, showPos="-483#230"},
  32. {id=33, panelName="KLPopoverPanel", path="KLPopoverPanel", direction=4, moveX=0, showPos="0#-280"},
  33. {id=34, panelName="KLBagTipsPanel", path="KLBagTipsPanel", direction=4, moveX=0, showPos="260#-195"},
  34. {id=35, panelName="KLActivityPreviewPanel", path="KLActivityPreviewPanel", direction=1},
  35. {id=37, panelName="KLUIBossHpPanel", path="KLUIBossHpPanel", direction=0},
  36. {id=38, panelName="KLUIInfoPanel", path="KLUIInfoPanel", direction=0, moveX=0, moveY=0},
  37. {id=39, panelName="KLFirstChargeADPanel", path="KLFirstChargeADPanel", direction=2, moveY=0},
  38. {id=40, panelName="KLUIHurtExpPanel", path="KLUIHurtExpPanel", direction=4, showPos="0#-220"},
  39. }
  40. local defaults = {direction=7, showTime=1, hideTime=0, moveX=1200, moveY=1200, npcTalkShow=0, showPos="0#0"}
  41. local mt = {__index = defaults}
  42. for _, v in ipairs(cfg_showHideUI) do
  43. setmetatable(v, mt)
  44. end
  45. return cfg_showHideUI