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

31 lines
1.1 KiB
Erlang
Raw Normal View History

2026-05-23 22:10:14 +08:00
%%----------------------------------------------------
%% 数据配置文件
%% @author whjing2011@gmail.com
%%----------------------------------------------------
-module(sound_data).
-export([cfg/0]).
-include("data_config.hrl").
-include("common.hrl").
cfg() ->
#data_cfg{
name = sound_data
,lua_name = sound_data
,desc = "配置数据"
,source = "sound_data.xml"
,target = "sound_data.erl"
,inc = []
,callback_cli = [
{get_sound_data, cb_fun_lua, handle, {key_val, ["战斗音效"], [sound_id], all}}
]
,callback_json = [
{get_sound_data, cb_fun_json, handle, {key_val, ["战斗音效"], [sound_id], all}}
]
,sheet = [
{["战斗音效"], [
#f_column{type = bstr, name = sound_id, desc = "模型ID", mod = client}
,#f_column{type = bstr, name = act_sound, desc = "喊招音效", mod = client}
,#f_column{type = bstr, name = hit_sound, desc = "受击音效", mod = client}
]}
]
}.