1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- -- 此文件工具自动生成,不要修改
- ---@class cfg_shortcutKey_column
- ---id
- ---@field id number @id column=1 A
- ---键盘上的按键
- ---支持多个按键共用一个功能,通过#分隔
- ---@field shortcutKey string @快捷键 column=2 B
- ---备注,策划看
- ---@field beizhu string @备注 column=3 C
- ---快捷键的使用效果类型
- ---1=打开界面
- ---2=设置内容
- ---3=...
- ---@field type number @效果类型 column=4 D
- ---1类型使用
- ---填cfg_system_switch表的id,对应取界面开启条件以及打开界面
- ---@field system number @界面跳转 column=5 E
- ---设置内容,2类型使用
- ---1=手动自动战斗设定人
- ---2=物移动设定
- ---@field set number @设置内容 column=6 F
- ---快捷键说明弹窗的展示文本,不配置则不在弹窗内显示
- ---@field text string @快捷键说明文本 column=7 G
- ---快捷键说明弹窗展示文本的排序依据,一条一行(文本过长自动换行)
- ---@field order number @快捷键说明排序 column=8 H
- local cfg_shortcutKey =
- {
- {id=1, shortcutKey="I#V", beizhu="背包", system=107, text="I,V:打开背包", order=7},
- {id=2, shortcutKey="C", beizhu="加点", system=111, text="C:打开加点", order=6},
- {id=3, shortcutKey="U", beizhu="锻造", system=104, text="U:打开锻造", order=8},
- {id=4, shortcutKey="M#Tab", beizhu="地图", text="Tab,M:打开地图", order=16},
- {id=5, shortcutKey="O", beizhu="外观", system=109, text="O:打开外观界面", order=9},
- {id=6, shortcutKey="B", beizhu="挑战首领", system=215, text="B:打开挑战首领", order=12},
- {id=7, shortcutKey="X", beizhu="商城", system=202, text="X:打开商城", order=14},
- {id=8, shortcutKey="J", beizhu="交易行", system=201, text="J:打开交易行", order=15},
- {id=9, shortcutKey="T", beizhu="每日目标", system=212, text="T:打开每日目标", order=13},
- {id=10, shortcutKey="G", beizhu="战盟", system=105, text="G:打开战盟", order=11},
- {id=11, shortcutKey="K", beizhu="技能", system=102, text="K:打开技能界面", order=10},
- {id=12, shortcutKey="Enter", beizhu="聊天", text="Enter:开启聊天", order=5},
- {id=13, shortcutKey="F7", beizhu="设置-挂机设置", text="F7:挂机设置", order=2},
- {id=14, shortcutKey="ESC", beizhu="设置-基本设置/关闭界面", type=2, system=101, text="ESC:基本设置/关闭界面", order=4},
- {id=15, shortcutKey="F8", beizhu="开启/关闭挂机", type=2, set=1, text="F8:开启/关闭挂机", order=3},
- {id=16, shortcutKey="LeftShift#RightShift", beizhu="固定角色", type=2, set=2, text="Shift:固定角色(禁止位移)", order=17},
- {id=17, shortcutKey="F1", beizhu="帮助", type=0, text="F1:帮助 On/Off", order=1},
- }
- local defaults = {type=1, system=0, set=0}
- local mt = {__index = defaults}
- for _, v in ipairs(cfg_shortcutKey) do
- setmetatable(v, mt)
- end
- return cfg_shortcutKey
|