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

52 lines
2.7 KiB
Erlang
Raw Normal View History

2026-05-23 22:10:14 +08:00
%%----------------------------------------------------
%% 数据配置文件
%% @author
%%----------------------------------------------------
-module(cross_ground_data).
-export([cfg/0]).
-include("data_config.hrl").
-include("common.hrl").
cfg() ->
#data_cfg{
name = cross_ground_data
,lua_name = cross_ground_data
,desc = "配置数据"
,source = "cross_ground_data.xml"
,target = "cross_ground_data.erl"
,inc = []
,callback = [
]
,callback_cli = [
{base, cb_fun_lua, handle, {list_val, ["跨服战场"], [groud], all}},
{adventure_activity, cb_fun_lua, handle, {key_val, ["冒险"], [id], all}}
]
,callback_json = [
{base, cb_fun_json, handle, {list_val, ["跨服战场"], [groud], all}},
{adventure_activity, cb_fun_json, handle, {key_val, ["冒险"], [id], all}}
]
,sheet = [
{["跨服战场"], [
#f_column{type = int, name = index, desc = "位置", mod = client}
,#f_column{type = int, name = id, desc = "活动id", mod = client}
,#f_column{type = bstr, name = name, desc = "活动名称", mod = client}
,#f_column{type = term, name = open_limit, desc = "开启限制", mod = client}
,#f_column{type = term, name = award, desc = "奖励展示", mod = client}
,#f_column{type = bstr, name = desc, desc = "描述内容", mod = client}
,#f_column{type = bstr, name = res_id, desc = "背景资源", mod = client}
,#f_column{type = int, name = groud, desc = "显示组", mod = client}
,#f_column{type = bstr, name = res_name, desc = "资源名称", mod = client}
]}
,{["冒险"], [
#f_column{type = int, name = id, desc = "ID", mod = client}
,#f_column{type = term, name = activate, desc = "开启限制", mod = client}
,#f_column{type = term, name = activate_2, desc = "开启限制(或)", mod = client}
,#f_column{type = term, name = award, desc = "奖励", mod = client}
,#f_column{type = bstr, name = desc, desc = "开启时间", mod = client}
,#f_column{type = bstr, name = desc2, desc = "开启时间2", mod = client}
,#f_column{type = int, name = res_id, desc = "背景资源", mod = client}
,#f_column{type = int, name = retrue_id, desc = "跳转界面", mod = client}
,#f_column{type = bstr, name = item_desc, desc = "描述", mod = client}
]}
]
}.