-- 此文件工具自动生成,不要修改 ---@class cfg_redDot_new_column ---@field id number @序号 column=1 A ---作为备注使用 ---[[客户端不使用]]@field name string @名称 column=2 B ---对应conditions表内的条件格式 ---@field condition string @条件 column=3 C ---控件路径 ---格式:界面位置#界面按钮#1或者界面名称#界面按钮#1 ---界面按钮从mainpaneui里 --- ---@field windowsWidgetID StringListList @红点主窗口控件ID column=4 D ---红点位置偏移 偏移中心点为控件中心 ---格式:x轴偏移#y轴偏移|x轴偏移#y轴偏移 ---@field positionOffset IntListList @红点位置偏移 column=5 E ---0,不开启 ---1,开启 ---@field active number @红点是否开启 column=6 F local cfg_redDot_new = { {id=1, condition="checkUnusedAbility>0", windowsWidgetID={{"KLUISystemLeftPanel","BtnRole","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}}, {id=2, condition="checkShapeShiftCardRedDot>0", windowsWidgetID={{"KLUISystemLeftPanel","BtnCard","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}}, {id=10, condition="checkSkillLevelUp>0", windowsWidgetID={{"KLUISystemLeftPanel","button_jineng","1"}}}, {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}}}, {id=81, condition="checkBossOfferReward=1", windowsWidgetID={{"KLUISystemTopPanel","BtnOfferAReward","1"}}}, {id=82, condition="checkHookNewMapAndReward=1", windowsWidgetID={{"KLUISystemTopPanel","BtnOffline","1"}}}, {id=83, condition="checkHookReward=1", windowsWidgetID={{"KLOnHookPanel","HookInfoToggle","1"}}, positionOffset={{71,14}}}, {id=84, condition="checkMasterTalent=1", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnMasterRoad","1"}}, positionOffset={{20,20},{20,20},{20,20}}}, {id=85, condition="checkGodDescentMonster=1", windowsWidgetID={{"KLCrossServerPanel","KLUCrossServerMainBtnItem_23001","1"},{"KLCrossServerPanel","btn_Go","1"},{"KLUISystemTopPanel","BtnKuaFu","1"}}, positionOffset={{68,18},{66,20},{28,28}}}, {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}}}, {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}}}, {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}}}, {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}}}, {id=90, condition="checkMainRechargeRed=1", windowsWidgetID={{"KLUISystemTopPanel","BtnRecharge","1"}}}, {id=91, condition="checkMainActivityRed=1", windowsWidgetID={{"KLUISystemTopPanel","BtnMainActivity","1"}}}, {id=92, condition="checkEfficiencyNewRed=1", windowsWidgetID={{"KLUISystemTopPanel","BtnEfficiency","1"}}}, {id=93, condition="checkVIPRedDot=1", windowsWidgetID={{"KLUISystemTopPanel","BtnVIP","1"}}}, {id=94, condition="checkMail>0", windowsWidgetID={{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"},{"KLUISystemLeftPanel","BtnMail","1"}}, positionOffset={{20,20},{20,20},{20,20}}}, {id=95, condition="checkComboSkillUpgrade=1", windowsWidgetID={{"KLUISystemTopPanel","BtnCombo","1"}}}, {id=96, condition="serverControl=96", windowsWidgetID={{"KLUISystemTopPanel","BtnDaily","1"},{"KLDailyGoalMainPanel","toggle_tab_daily_active","1"}}, positionOffset={{20,20},{54,7}}}, {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}}}, {id=98, condition="checkArchangelTalentPoint=1", windowsWidgetID={{"KLUISystemLeftPanel","BtnMasterRoad","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}}, {id=99, condition="checkActionArchangelTalent=1", windowsWidgetID={{"KLUISystemLeftPanel","BtnMasterRoad","1"},{"KLUISystemLeftPanel","expandBtn","1"},{"KLUISystemLeftPanel","foldBtn","1"}}, positionOffset={{20,20},{20,20},{20,20}}}, {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}}}, {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}}}, {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}}}, {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}}}, {id=104, condition="checkMainOperateActivityRed=1", windowsWidgetID={{"KLUISystemTopPanel","BtnOperateActivity","1"}}}, {id=105, condition="serverControl=105", windowsWidgetID={{"KLMainOperateActivityPanel","tog_lottery","1"},{"KLUISystemTopPanel","BtnOperateActivity","1"}}, positionOffset={{20,20},{20,20}}, active=0}, {id=106, condition="serverControl=106", windowsWidgetID={{"KLMainOperateActivityPanel","tog_lottery","1"},{"KLUISystemTopPanel","BtnOperateActivity","1"}}, positionOffset={{20,20},{20,20}}, active=0}, {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}}}, {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}}}, } local defaults = {positionOffset={{20,20}}, active=1} local mt = {__index = defaults} for _, v in ipairs(cfg_redDot_new) do setmetatable(v, mt) end return cfg_redDot_new