%%---------------------------------------------------- %% 数据配置文件 %% @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} ]} ] }.