初版提交
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
%% Generated Erlang Configuration
|
||||
%% DO NOT EDIT MANUALLY - Generated by annotation generator
|
||||
%%%------------------------------------获取基本信息------------------------------
|
||||
{ template, _Z_SESSION, {Project, "/game/peak_arena/get_info", [
|
||||
{peak_arena_port, get_info, []}
|
||||
]}}.
|
||||
|
||||
%%%------------------------------------修改状态------------------------------
|
||||
{ template, _Z_SESSION, {Project, "/game/peak_arena/update_state", [
|
||||
{reconnect_db, msg_start, []},
|
||||
{fun_open_check, check, [98]},
|
||||
{pre_port, decode, [pub_proto, single_int]},
|
||||
{peak_arena_port, update_state, []},
|
||||
{reconnect_db, msg_end, []}
|
||||
]}}.
|
||||
|
||||
|
||||
%%%---------------------------------成就start---------------------------------
|
||||
{local, Achieve, z_lib, to_atom, [Project, "/achieve"]}.
|
||||
{template, _FILE_TABLE_GAME_GLOBAL, {achieve, Achieve}}.
|
||||
%%%---------------------------------成就end---------------------------------
|
||||
|
||||
%%%---------------------------------成就点start---------------------------------
|
||||
{local, AchievePoint, z_lib, to_atom, [Project, "/achieve_point"]}.
|
||||
{template, _FILE_TABLE_GAME_GLOBAL, {achieve_point, AchievePoint}}.
|
||||
%%%---------------------------------成就点end---------------------------------
|
||||
|
||||
%%%---------------------------------成就点背包start---------------------------------
|
||||
{local, AchieveStorage, z_lib, to_atom, [Project, "/achieve_storage"]}.
|
||||
{template, _FILE_TABLE_GAME_GLOBAL, {achieve_storage, AchieveStorage}}.
|
||||
%%%---------------------------------成就点背包end---------------------------------
|
||||
|
||||
%%%---------------------------------成就点start---------------------------------
|
||||
{local, AchieveInfo, z_lib, to_atom, [Project, "/achieve_info"]}.
|
||||
{template, _FILE_TABLE_GAME_GLOBAL, {achieve_info, AchieveInfo}}.
|
||||
%%%---------------------------------成就点end---------------------------------
|
||||
@@ -0,0 +1,11 @@
|
||||
%% ----------------------------------------------------------------------------------
|
||||
{{if .desc}}%% {{hd .desc}} {{end}}
|
||||
{template, _Z_SESSION, {Project, "{{hd .cmd}}", [
|
||||
{{if .reconnect}} { reconnect_db, msg_start, [] },
|
||||
{{end}} {{if .fun_id}}{ fun_open_check, check, [{{hd .fun_id}}] }, {{end}}
|
||||
{{if .pre_message}} { pre_port, decode, [{{hd .pre_proto }}, {{hd .pre_message}}] }, {{end}}
|
||||
{{if .reconnect}} { {{hd .module}}, {{hd .func}}, [{{join .args ","}}] },
|
||||
{ reconnect_db, msg_end, [] } {{else}} { {{hd .module}}, {{hd .func}}, [] }
|
||||
{{end}}
|
||||
]}}.
|
||||
%% -----------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user