Files

47 lines
1.3 KiB
Erlang
Raw Permalink Normal View History

2026-05-23 22:10:14 +08:00
%%----------------------------------------------------
% 限时招募
%% @author liufenglin 240039421@qq.com
%%----------------------------------------------------
-module(proto_251).
-export([info/0,cfg/0]).
-include("protocol.hrl").
info() ->
{
"限时招募"
,[]
}.
cfg() ->
[
#rpc{
code = 25100
,log_title = "限时招募信息"
,req_desc = "限时招募信息"
,req = []
,reply_desc = "限时招募信息"
,reply = [
{uint8, state, "最终奖励领取情况(0:未达成 1:可领取 2:已领取)"}
,{array, tuple, quests, "任务详情", [
{uint32, id, "id"}
,{uint32, val, "进度值"}
,{uint8, status, "领取情况(0:未达成 1:可领取 2:已领取)"}
]}
,{uint32, end_time, "结束时间戳"}
]
}
,#rpc{
code = 25101
,log_title = "限时招募领取奖励"
,req_desc = "限时招募领取奖励"
,req = [
{uint32, id, "id(领取最终奖励传0"}
]
,reply_desc = "当前防守信息结果"
,reply = [
{uint8, code, "结果(0:失败 1:成功)"}
,{string, msg, "结果信息"}
]
}
].