Files
fc/server/tools/gen_data/cfg/time_limit_data.erl
T
2026-05-23 22:10:14 +08:00

44 lines
1.1 KiB
Erlang

%%%-------------------------------------------------------------------
%%% @author Administrator
%%% @copyright (C) 2023, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 12. 12月 2023 19:16
%%%-------------------------------------------------------------------
-module(time_limit_data).
-author("Administrator").
-export([cfg/0]).
-include("data_config.hrl").
-include("common.hrl").
cfg() ->
#data_cfg{
name = time_limit_data
, lua_name = time_limit_data
, desc = "限时礼包配置"
, source = "time_limit_data.xml"
, target = "time_limit_data.erl"
, inc = ["common.hrl"]
, callback =
[
{info, cb_fun, handle, {tuple_list, ["配置"], all}}
]
, callback_cli = [
]
, callback_json = [
]
, sheet =
[{["配置"],
[#f_column{desc = "id", type = int, name = id, mod = all}
, #f_column{desc = "天数", type = int, name = min_day, mod = all}
, #f_column{desc = "最大天数", type = int, name = max_day, mod = all}
,#f_column{type = term, name = reward, desc = "奖励", width = 360, mod = all}
]
}
]
}.