cfg_redDot_new.lua 7.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_redDot_new_column
  3. ---@field id number @序号 column=1 A
  4. ---作为备注使用
  5. ---[[客户端不使用]]@field name string @名称 column=2 B
  6. ---对应conditions表内的条件格式
  7. ---@field condition string @条件 column=3 C
  8. ---控件路径
  9. ---格式:界面位置#界面按钮#1或者界面名称#界面按钮#1
  10. ---界面按钮从mainpaneui里
  11. ---
  12. ---@field windowsWidgetID StringListList @红点主窗口控件ID column=4 D
  13. ---红点位置偏移 偏移中心点为控件中心
  14. ---格式:x轴偏移#y轴偏移|x轴偏移#y轴偏移
  15. ---@field positionOffset IntListList @红点位置偏移 column=5 E
  16. ---0,不开启
  17. ---1,开启
  18. ---@field active number @红点是否开启 column=6 F
  19. local cfg_redDot_new =
  20. {
  21. {id=1, condition="checkUnusedAbility>0", windowsWidgetID={{"KLUISystemLeftPanel","BtnRole","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}},
  22. {id=2, condition="checkShapeShiftCardRedDot>0", windowsWidgetID={{"KLUISystemLeftPanel","BtnCard","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}},
  23. {id=10, condition="checkSkillLevelUp>0", windowsWidgetID={{"KLUISystemLeftPanel","button_jineng","1"}}},
  24. {id=80, condition="checkFruitItem=1", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnRole","1"},{"KLAttrPanel","appleButton","1"}}, positionOffset={{20,20},{20,20},{20,20},{30,30}}},
  25. {id=81, condition="checkBossOfferReward=1", windowsWidgetID={{"KLUISystemTopPanel","BtnOfferAReward","1"}}},
  26. {id=82, condition="checkHookNewMapAndReward=1", windowsWidgetID={{"KLUISystemTopPanel","BtnOffline","1"}}},
  27. {id=83, condition="checkHookReward=1", windowsWidgetID={{"KLOnHookPanel","HookInfoToggle","1"}}, positionOffset={{71,14}}},
  28. {id=84, condition="checkMasterTalent=1", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnMasterRoad","1"}}, positionOffset={{20,20},{20,20},{20,20}}},
  29. {id=85, condition="checkGodDescentMonster=1", windowsWidgetID={{"KLCrossServerPanel","KLUCrossServerMainBtnItem_23001","1"},{"KLCrossServerPanel","btn_Go","1"},{"KLUISystemTopPanel","BtnKuaFu","1"}}, positionOffset={{68,18},{66,20},{28,28}}},
  30. {id=86, condition="checkEquipStrength=1", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnForge","1"},{"KLUIForgeGroupPanel","strengthToggle","1"}}, positionOffset={{20,20},{20,20},{20,20},{25,30}}},
  31. {id=87, condition="checkJewelryUpgraded=1", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnForge","1"},{"KLUIForgeGroupPanel","JewelryToggle","1"}}, positionOffset={{20,20},{20,20},{20,20},{25,30}}},
  32. {id=88, condition="checkJewelryActive=1", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnForge","1"},{"KLUIForgeGroupPanel","JewelryToggle","1"}}, positionOffset={{20,20},{20,20},{20,20},{25,30}}},
  33. {id=89, condition="checkEquipAppend=1", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnForge","1"},{"KLUIForgeGroupPanel","appendToggle","1"}}, positionOffset={{20,20},{20,20},{20,20},{25,30}}},
  34. {id=90, condition="checkMainRechargeRed=1", windowsWidgetID={{"KLUISystemTopPanel","BtnRecharge","1"}}},
  35. {id=91, condition="checkMainActivityRed=1", windowsWidgetID={{"KLUISystemTopPanel","BtnMainActivity","1"}}},
  36. {id=92, condition="checkEfficiencyNewRed=1", windowsWidgetID={{"KLUISystemTopPanel","BtnEfficiency","1"}}},
  37. {id=93, condition="checkVIPRedDot=1", windowsWidgetID={{"KLUISystemTopPanel","BtnVIP","1"}}},
  38. {id=94, condition="checkMail>0", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnMail","1"}}, positionOffset={{20,20},{20,20},{20,20}}},
  39. {id=95, condition="checkComboSkillUpgrade=1", windowsWidgetID={{"KLUISystemTopPanel","BtnCombo","1"}}},
  40. {id=96, condition="serverControl=96", windowsWidgetID={{"KLUISystemTopPanel","BtnDaily","1"},{"KLDailyGoalMainPanel","toggle_tab_daily_active","1"}}, positionOffset={{20,20},{54,7}}},
  41. {id=97, condition="checkArchangelBreakthrough=1", windowsWidgetID={{"KLUISystemLeftPanel","btn_angel_equip","1"},{"KLArchangelGroupPanel","breakthroughToggle","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}},
  42. {id=98, condition="checkArchangelTalentPoint=1", windowsWidgetID={{"KLUISystemLeftPanel","BtnMasterRoad","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}},
  43. {id=99, condition="checkActionArchangelTalent=1", windowsWidgetID={{"KLUISystemLeftPanel","BtnMasterRoad","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}},
  44. {id=100, condition="serverControl=100", windowsWidgetID={{"KLUISystemTopPanel","BtnDaily","1"},{"KLDailyGoalMainPanel","toggle_tab_daily_active","1"},{"KLDailyActivePanel","daily_activity_6","1"}}, positionOffset={{20,20},{54,7},{175,10}}},
  45. {id=101, condition="serverControl=101", windowsWidgetID={{"KLUISystemTopPanel","BtnDaily","1"},{"KLDailyGoalMainPanel","toggle_tab_activity","1"},{"KLDailyActivityPanel","daily_activity_item_24001","1"}}, positionOffset={{20,20},{54,7},{54,-180}}},
  46. {id=102, condition="serverControl=102", windowsWidgetID={{"KLUISystemLeftPanel","btn_angel_equip","1"},{"KLArchangelGroupPanel","grailToggle","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{25,30},{20,20},{20,20}}},
  47. {id=103, condition="checkGrailCanStrength=1", windowsWidgetID={{"KLUISystemLeftPanel","btn_angel_equip","1"},{"KLArchangelGroupPanel","grailToggle","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{25,30},{20,20},{20,20}}},
  48. {id=104, condition="checkMainOperateActivityRed=1", windowsWidgetID={{"KLUISystemTopPanel","BtnOperateActivity","1"}}},
  49. {id=105, condition="serverControl=105", windowsWidgetID={{"KLMainOperateActivityPanel","tog_lottery","1"},{"KLUISystemTopPanel","BtnOperateActivity","1"}}, positionOffset={{20,20},{20,20}}, active=0},
  50. {id=106, condition="serverControl=106", windowsWidgetID={{"KLMainOperateActivityPanel","tog_lottery","1"},{"KLUISystemTopPanel","BtnOperateActivity","1"}}, positionOffset={{20,20},{20,20}}, active=0},
  51. {id=107, condition="serverControl=107", windowsWidgetID={{"KLUISystemTopPanel","BtnRankList","1"},{"KLUIRankListPanel","LeftButton_1_4","1"},{"KLUIRankListPanel","LeftButton_2_4","1"},{"KLUIRankListPanel","WorshipButton","1"}}, positionOffset={{20,20},{65,12},{65,12},{50,15}}},
  52. {id=108, condition="checkReceiveAddFriend>0", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnFriend","1"},{"KLFriendMainPanelKml","add_friend","1"}}, positionOffset={{20,20},{20,20},{20,20}}},
  53. }
  54. local defaults = {positionOffset={{20,20}}, active=1}
  55. local mt = {__index = defaults}
  56. for _, v in ipairs(cfg_redDot_new) do
  57. setmetatable(v, mt)
  58. end
  59. return cfg_redDot_new