Files
fc/server/tools/gen_data/cfg/advance_guide_data.erl
T

53 lines
3.2 KiB
Erlang
Raw Normal View History

2026-05-23 22:10:14 +08:00
%%----------------------------------------------------
%% 数据配置文件
%% @author
%%----------------------------------------------------
-module(advance_guide_data).
-export([cfg/0]).
-include("data_config.hrl").
-include("common.hrl").
cfg() ->
#data_cfg{
name = advance_guide_data
,lua_name = advance_guide_data
,desc = "特效配置"
,source = "advance_guide_data.xml"
,target = "advance_guide_data.erl"
,inc = []
,callback = [
]
,callback_cli = [
{group_list, cb_fun_lua, handle, {type_get_val, ["游戏宝典配置"], [group,group_id,id], [group, group_id, id,name,is_parner_form,is_goto,partner_list, icon,cli_label,extra,level,des_label,tips_des]}}
,{group_name, cb_fun_lua, handle, {type_get_val, [ "组别名字"], [group,group_id], [group,group_id,group_name,sec_name,is_parner_form]}}
]
,callback_json = [
{group_list, cb_fun_json, handle, {type_get_val, ["游戏宝典配置"], [group,group_id,id], [group, group_id, id,name,is_parner_form,is_goto,partner_list, icon,cli_label,extra,level,des_label,tips_des]}}
,{group_name, cb_fun_json, handle, {type_get_val, [ "组别名字"], [group,group_id], [group,group_id,group_name,sec_name,is_parner_form]}}
]
,sheet = [
{["游戏宝典配置"], [
#f_column{type = int, name = group, desc = "组ID", mod = client}
,#f_column{type = int, name = group_id , desc = "组二级ID", mod = client}
,#f_column{type = int, name = id , desc = "目录ID", mod = client}
,#f_column{type = bstr, name = name , desc = "目录名字" }
,#f_column{type = int, name = is_parner_form , desc = "是否是推荐阵容", mod = client}
,#f_column{type = int, name = is_goto , desc = "是否跳转", mod = client}
,#f_column{type = term, name = partner_list, desc = "推荐英雄", mod = client}
,#f_column{type = bstr, name = icon , desc = "目录图标" }
,#f_column{type = str, name = cli_label , desc = "目录连接" ,mod = client}
,#f_column{type = term, name = extra, add_list_sign = false, comment = "每一项需要用“{}”包括:[{type, 1}, {id, 1}]", def_cli_val = "{}",desc = "扩展参数", mod = client}
,#f_column{type = int, name = level , desc = "达到等级" ,mod = client}
,#f_column{type = bstr, name = des_label , desc = "描述" ,mod = client}
,#f_column{type = bstr, name = tips_des , desc = "提示说明" ,mod = client}
]}
,{["组别名字"], [
#f_column{type = int, name = group, desc = "组ID", mod = client}
,#f_column{type = int, name = group_id , desc = "组二级ID", mod = client}
,#f_column{type = bstr, name = group_name , desc = "一级目录名字" }
,#f_column{type = bstr, name = sec_name , desc = "二级目录名字" }
,#f_column{type = int, name = is_parner_form , desc = "是否是推荐阵容", mod = client}
]}
]
}.