Files

720 lines
32 KiB
Erlang
Raw Permalink Normal View History

2026-05-23 22:10:14 +08:00
%%----------------------------------------------------
%% 精英赛
%%
%% @author liufenglin 240039421@qq.com
%%----------------------------------------------------
-module(proto_249).
-export([info/0, cfg/0]).
-include("protocol.hrl").
info() -> {
"精英赛"
,["common.hrl", "arena_elite.hrl", "combat.hrl", "formation.hrl"]
}.
-spec cfg() -> [#rpc{}].
cfg() ->
[
#rpc{
code = 24900
,log_title = "请求精英赛基础信息"
,req_desc = "请求精英赛基础信息"
,req = []
,reply_desc = "请求精英赛基础信息"
,reply = [
{uint32, lev, "精英赛等级"}
,{int32, score, "精英赛当前积分"}
,{uint32, day_combat_count, "今日剩余匹配次数"}
,{uint32, day_buy_count, "今日已购买匹配次数"}
,{uint32, match_cd_time, "匹配CD结束时间戳"}
,{uint16, rank, "排名"}
,{uint8, is_king, "是否获取王者资格"}
,{array, tuple, promoted_info, "晋级赛信息([]:当前非晋级赛)", [
{uint8, count, "次数"}
,{uint8, flag, "胜利/失败(0没打 1胜利 2失败 3平局)"}
]}
,{uint8, state, "当前精英赛状态(0:未开启, 1:上半场 2:下半场 3:王者赛)"}
,{uint32, period, "当前精英赛周期计数"}
,{uint32, start_time, "当前精英赛周期开启时间戳"}
,{uint32, end_time, "当前精英赛周期结束时间戳"}
,{uint32, state_time, "当前精英赛状态剩余秒数"}
,{array, tuple, lev_reward, "精英赛信息段位奖励信息", [
{uint8, lev, "等级"}
,{uint8, flag, "奖励状态(0:不可领取 1:可领取 2:已领取)"}
]}
,{int32, zone_id, "战区"}
,{uint32, day_max_buy_count, "今日可购买最大次数"}
,{uint32, is_skip, "是否跳过战前布阵"}
,{uint8, rmb_status, "是否激活段位赛战令特权"}
]
}
,#rpc{
code = 24901
,log_title = "请求对手信息"
,req_desc = "请求对手信息"
,req = [
]
,reply_desc = "请求对手信息"
,reply = [
{uint32, day_combat_count, "今日剩余匹配次数"}
,{uint32, match_cd_time, "匹配CD结束时间戳"}
,{uint32, to_combat_time, "进入战斗时间戳"}
,{uint8, is_match, "是否在匹配(0:不在匹配 1:正在匹配)"}
,{array, tuple, rand_list, "对手信息", [
{uint32, end_time, "对手重置时间戳"}
,{rec, arena_elite_roles, arena_elite_role, [
{tuple, id, [
{uint32, rid, "对手id"}
,{string, srv_id, "对手服务器ID"}
]}
,{string, name, name, "对手名字"}
,{string, gname, gname, "对手联盟名字"}
,{uint32, power, power, "战力"}
,{uint32, lev, lev, "等级"}
,{uint8, sex, sex, "性别"}
,{uint32, face, face, "头像"}
,{uint32, look_id, look_id, "形象ID"}
,{uint32, score, score, "积分"}
,{uint32, elite_lev, elite_lev, "段位"}
,{array, tuple, defense, "防守阵容", [
{uint8, type, "1:常规赛阵容 2:王者赛阵容"}
,{array, arena_elite_rival_defense, defense_info, "防守阵容", [
{uint8, order, order, "队伍id"}
,{uint32, formation_type, formation_type, "阵法id"}
,{array, arena_partners_info, partner_infos, "防守阵容", [
{uint8, pos, "位置"}
,{uint32, bid, "英雄bid"}
,{uint16, lev, "等级"}
,{uint8, star, "星数"}
,{uint32, power, "战力"}
,{array, tuple, extra, "附件参数", [
{uint32, key, "键(5:皮肤id(11:共鸣前等级)"}
,{uint32, val, ""}
]}
]}
]}
]}
,{uint32, face_update_time, "自定义头像时间"}
,{string, face_file, "自定义头像"}
]}
]}
]
}
,#rpc{
code = 24902
,log_title = "请求匹配对手"
,req_desc = "请求匹配对手"
,req = [
{uint8, type, "是否跳过布阵(0:否 1:跳过)"}
]
,reply_desc = "请求匹配对手(成功推送24901)"
,reply = [
]
}
,#rpc{
code = 24903
,log_title = "挑战对手"
,req_desc = "挑战对手"
,req = []
,reply_desc = "挑战对手"
,reply = [
{uint8, code, "结果(0:失败 1:成功)"}
,{string, msg, "结果信息"}
]
}
,#rpc{
code = 24904
,log_title = "购买匹配次数"
,req_desc = "购买匹配次数"
,req = []
,reply_desc = "购买匹配次数"
,reply = [
{uint8, code, "结果(0:失败 1:成功)"}
,{string, msg, "结果信息"}
,{uint32, day_combat_count, "今日剩余匹配次数"}
,{uint32, day_buy_count, "今日已购买匹配次数"}
]
}
,#rpc{
code = 24905
,log_title = "请求精英赛是否开战"
,req_desc = "请求精英赛是否开战"
,req = []
,reply_desc = "请求精英赛是否开战"
,reply = [
{uint8, state, "结果(0:休闲 1:开战)"}
,{uint32, end_time, "阶段结束时间"}
]
}
,#rpc{
code = 24906
,log_title = "精英赛战斗结算"
,req_desc = "精英赛战斗结算"
,req = []
,reply_desc = "精英赛战斗结算"
,reply = [
{uint8, result, "战斗结果 1 胜利 2:失败"}
,{uint32, win_count, "胜利次数"}
,{uint32, lose_count, "失败次数"}
,{uint32, combat_type, "战斗类型"}
,{array, tuple, promoted_info, "新的晋级赛信息([]:当前非晋级赛)", [
{uint8, count, "次数"}
,{uint8, flag, "胜利/失败(0没打 1胜利 2失败 3平局)"}
]}
,{int32, elite_lev, "精英赛当前等级"}
,{int32, new_elite_lev, "精英赛新等级"}
,{int32, big_score, "战斗结束前4位数积分"}
,{int32, score, "战斗结束前积分"}
,{int32, end_score, "战斗结束后积分"}
,{int32, add_score, "积分变换(扣除时为负数,晋级赛时积分不会变动)"}
,{array, tuple, awards, "奖励", [
{uint32, item_id, "道具id"}
,{uint32, item_num, "道具数量"}
]}
,{array, tuple, all_hurt_statistics, "伤害统计", [
{uint8, type, "第几次战斗"}
,{uint8, a_round, "攻击方队伍编号"}
,{uint8, b_round, "防守方队伍编号"}
,{array, tuple, hurt_statistics, "伤害统计", [
{uint8, type, "1:进攻方 2:被攻击方"}
,{array, partner_hurt, partner_hurts, "伤害统计", [
{tuple, master_id, [
{uint32, rid, "拥有者ID"}
,{string, srvid, "拥有者服务器id"}
]}
,{uint32, id, id, "英雄bid"}
,{uint32, bid, bid, "英雄bid"}
,{uint32, star, star, "星级"}
,{uint32, lev, lev, "等级"}
,{uint32, camp_type, camp_type, "英雄阵营"}
,{uint32, dps, dps, "英雄伤害"}
,{uint32, cure, cure, "英雄治疗量"}
,{array, tuple, ext_data, "额外参数", [
{uint32, key, "键(5:皮肤id(11:共鸣前等级)"}
,{uint32, val, ""}
]}
,{uint32, be_hurt, be_hurt, "英雄承受伤害"}
]}
]}
,{uint32, replay_id, "录像id"}
]}
,{string, target_role_name, "对方名字"}
]
}
,#rpc{
code = 24910
,log_title = "请求精英赛各个赛季战区信息"
,req_desc = "请求精英赛各个赛季战区信息"
,req = [
]
,reply_desc = "请求精英赛各个赛季战区信息"
,reply = [
{array, tuple, zone_info, "战区信息", [
{uint32, period, "周期"}
,{uint32, max_zone_id, "战区id"}
]}
]
}
,#rpc{
code = 24911
,log_title = "请求精英赛历史赛季排行榜"
,req_desc = "请求精英赛历史赛季排行榜"
,req = [
{uint32, period, "周期"}
,{uint8, start_rank, "起始排名"}
,{uint8, end_rank, "结束排名"}
,{uint32, zone_id, "战区id"}
]
,reply_desc = "请求精英赛历史赛季排行榜"
,reply = [
{uint32, rank, "自己排名(0:未上榜)"}
,{uint32, elite_lev, "自己段位"}
,{uint32, score, "自己积分"}
,{uint32, period, "周期"}
,{array, arena_elite_rank, arena_elite_rank, "排行数据", [
{uint16, rank, rank, "排行"}
,{tuple, id, [
{uint32, rid, "id"}
,{string, srv_id, "服务器ID"}
]}
,{string, name, name, "名字"}
,{uint16, lev, lev, "等级"}
,{uint32, face, face, "头像id"}
,{uint32, power, power, "战力"}
,{uint32, score, score, "积分"}
,{uint32, elite_lev, elite_lev, "段位"}
,{uint32, avatar_id, avatar_id, "头像框"}
,{uint32, look_id, look_id, "形象ID"}
,{uint32, face_update_time, "自定义头像时间"}
,{string, face_file, "自定义头像"}
]}
,{uint32, zone_id, "战区id"}
,{uint32, max_zone_id, "最大战区id"}
]
}
,#rpc{
code = 24915
,log_title = "请求精英赛领取等级奖励"
,req_desc = "请求精英赛领取等级奖励"
,req = [
{uint32, lev, "等级"}
]
,reply_desc = "请求精英赛领取等级奖励"
,reply = [
{uint8, code, "结果(0:失败 1:成功)"}
,{string, msg, "结果信息"}
,{array, tuple, lev_reward, "精英赛信息段位奖励信息", [
{uint8, lev, "等级"}
,{uint8, flag, "奖励状态(0:不可领取 1:可领取 2:已领取)"}
]}
]
}
,#rpc{
code = 24920
,log_title = "请求精英赛功能阵法"
,req_desc = "请求精英赛功能阵法"
,req = [
{uint8, type, "类型(1:常规赛 2:王者赛)"}
]
,reply_desc = "请求精英赛领取等级奖励"
,reply = [
{uint8, type, "类型(1:常规赛 2:王者赛)"}
,{array, tuple, formations, "阵容", [
{uint8, order, "队伍序号"}
,{uint8, formation_type, "阵法类型"}
,{array, formation_pos, pos_info, "站位信息", [
{uint8, pos, "位置"}
,{uint32, id, "伙伴ID"}
]}
,{uint32, hallows_id, "使用的圣器id(没有传0)"}
]}
]
}
,#rpc{
code = 24921
,log_title = "设置精英赛功能阵法"
,req_desc = "设置精英赛功能阵法"
,req = [
{uint8, type, "类型(1:常规赛 2:王者赛)"}
,{array, tuple, formations, "阵容", [
{uint8, order, "队伍序号"}
,{uint8, formation_type, "阵法类型"}
,{array, tuple, pos_info, "站位信息", [
{uint8, pos, "位置"}
,{uint32, id, "伙伴ID"}
]}
,{uint32, hallows_id, "使用的圣器id(没有传0)"}
]}
]
,reply_desc = "设置精英赛功能阵法"
,reply = [
{uint8, code, "结果(0:失败 1:成功)"}
,{string, msg, "结果信息"}
]
}
,#rpc{
code = 24930
,log_title = "精英赛个人日志"
,req_desc = "精英赛个人日志"
,req = [
{uint8, type, "类型 1:个人 2:大神 3:录像馆"}
]
,reply_desc = "精英赛个人日志"
,reply = [
{uint8, type, "类型 1:个人 2:大神 3:录像馆"}
,{array, arena_elite_log, arena_elite_log, "日志数据", [
{uint32, id, id, "日志ID"}
,{tuple, atk_id, [
{uint32, rid, "id"}
,{string, srv_id, "服务器ID"}
]}
,{string, atk_name, atk_name, "进攻方名字"}
,{uint32, atk_face, atk_face, "进攻方头像"}
,{uint32, atk_lev, atk_lev, "进攻方等级"}
,{uint32, atk_rank, atk_rank, "进攻方排名"}
,{uint32, atk_elite_lev, atk_elite_lev, "进攻方段位"}
,{tuple, def_id, [
{uint32, def_rid, "id"}
,{string, def_srv_id, "服务器ID"}
]}
,{string, def_name, def_name, "防守方名字"}
,{uint32, def_face, def_face, "防守方头像"}
,{uint32, def_lev, def_lev, "防守方等级"}
,{uint32, def_rank, def_rank, "防守方排名"}
,{uint32, def_elite_lev, def_elite_lev, "防守方段位"}
,{uint8, ret, ret, "结果 1:胜利 2:失败"}
,{uint8, win_count, win_count, "胜利次数"}
,{uint8, lose_count, lose_count, "失败次数"}
,{uint8, combat_type, combat_type, "战斗类型"}
,{uint32, time, time, "时间"}
,{uint32, atk_face_update_time, "自定义头像时间"}
,{string, atk_face_file, "自定义头像"}
,{uint32, def_face_update_time, "自定义头像时间"}
,{string, def_face_file, "自定义头像"}
]}
]
}
,#rpc{
code = 24931
,log_title = "精英赛日志详情"
,req_desc = "精英赛日志详情"
,req = [
{uint8, type, "类型 1:个人 2:大神 3:录像馆"}
,{uint32, id, "日志ID"}
]
,reply_desc = "精英赛个人日志"
,reply = [
{uint8, type, "类型 1:个人 2:大神 3:录像馆"}
,{uint32, id, "日志ID"}
,{array, tuple, arena_replay_infos, "录像基础数据信息", [
{uint8, order, order, "回合数"}
,{rec, arena_replay_info, arena_replay_info, [
{uint32, id, id, "录像ID"}
,{uint8, round, round, "回合数"}
,{uint8, ret, ret, "结果 1:胜利 2:失败"}
,{uint32, time, time, "时间"}
,{tuple, a_id, [
{uint32, rid, "id"}
,{string, srv_id, "服务器ID"}
]}
,{uint32, a_power, a_power, "A方战力"}
,{uint32, a_formation_type, a_formation_type, "A方阵法类型"}
,{uint8, a_order, a_order, "A队伍编号"}
,{uint8, a_end_hp, a_end_hp, "A队伍剩余血量百分比"}
,{tuple, b_id, [
{uint32, b_rid, "id"}
,{string, b_srv_id, "服务器ID"}
]}
,{uint32, b_power, b_power, "B方战力"}
,{uint32, b_formation_type, b_formation_type, "B方阵法类型"}
,{uint8, b_order, b_order, "A队伍编号"}
,{uint8, b_end_hp, b_end_hp, "A队伍剩余血量百分比"}
,{array, arena_replay_partner, a_plist, "A方伙伴", [
{uint8, pos, pos, "位置"}
,{uint32, bid, bid, "BID"}
,{uint16, lev, lev, "等级"}
,{uint8, star, star, "星级"}
,{array, tuple, ext, "附件参数", [
{uint32, key, "键(5:皮肤id(11:共鸣前等级)"}
,{uint32, val, ""}
]}
]}
,{array, arena_replay_partner, b_plist, "B方伙伴", [
{uint8, pos, pos, "位置"}
,{uint32, bid, bid, "BID"}
,{uint16, lev, lev, "等级"}
,{uint8, star, star, "星级"}
,{array, tuple, ext, "附件参数", [
{uint32, key, "键(5:皮肤id(11:共鸣前等级)"}
,{uint32, val, ""}
]}
]}
]}
,{array, tuple, hurt_statistics, "伤害统计", [
{uint8, type, "1:进攻方 2:被攻击方"}
,{array, partner_hurt, partner_hurts, "伤害统计", [
{tuple, master_id, [
{uint32, rid, "拥有者ID"}
,{string, srvid, "拥有者服务器id"}
]}
,{uint32, id, id, "英雄bid"}
,{uint32, bid, bid, "英雄bid"}
,{uint32, star, star, "星级"}
,{uint32, lev, lev, "等级"}
,{uint32, camp_type, camp_type, "英雄阵营"}
,{uint32, dps, dps, "英雄伤害"}
,{uint32, cure, cure, "英雄治疗量"}
,{array, tuple, ext_data, "额外参数", [
{uint32, key, "键(5:皮肤id(11:共鸣前等级)"}
,{uint32, val, ""}
]}
,{uint32, be_hurt, be_hurt, "英雄承受伤害"}
]}
]}
,{uint16, a_sprite_lev, "精灵等级"}
,{array, tuple, a_sprites, "布置的精灵", [
{uint8, pos, "位置"}
,{uint32, item_bid, "精灵bid(0:未布置)"}
]}
,{uint16, b_sprite_lev, "精灵等级"}
,{array, tuple, b_sprites, "布置的精灵", [
{uint8, pos, "位置"}
,{uint32, item_bid, "精灵bid(0:未布置)"}
]}
,{uint32, a_add_power, "左边公会突破技能加成战力"}
,{uint32, b_add_power, "右边公会突破技能加成战力"}
]}
]
}
,#rpc{
code = 24940
,log_title = "个人精英战数据记录"
,req_desc = "个人精英战数据记录"
,req = [
{uint32, period, "周期(0:总览)"}
]
,reply_desc = "个人精英战数据记录"
,reply = [
{uint32, best_mvp, "历史最佳伙伴"}
,{uint32, my_score, my_score, "积分"}
,{uint32, my_elite_lev, my_elite_lev, "段位"}
,{rec, m_arena_elite_log, m_arena_elite_log, [
{uint32, period, period, "周期(0:总览)"}
,{uint16, max_lev, max_lev, "历史最高段位"}
,{uint32, max_score, max_score, "历史最高积分"}
,{uint32, combat_win_count1, combat_win_count1, "常规赛总胜场"}
,{uint32, combat_all_count1, combat_all_count1, "常规赛总场数"}
,{uint8, combat_win_count2, combat_win_count2, "王者赛总胜场"}
,{uint32, combat_all_count2, combat_all_count2, "王者赛总场数"}
,{uint32, max_dps, max_dps, "历史单场最高伤害"}
,{uint32, winning_streak, winning_streak, "最大连胜数"}
,{rec, beast_rivl_info, arena_elite_role_best, [
{tuple, id, [
{uint32, rid, "id"}
,{string, srv_id, "服务器ID"}
]}
,{string, name, name, "角色名"}
,{uint32, lev, lev, "等级"}
,{uint32, sex, sex, "性别"}
,{tuple, gid, [
{uint32, g_rid, "联盟ID"}
,{string, g_srv_id, "联盟服务器ID"}
]}
,{string, gname, gname, "联盟名称"}
,{array, tuple, power, "战力", [
{uint8, order, "队伍"}
,{uint32, power, "战力"}
]}
,{uint32, face, face, "头像"}
,{uint32, score, score, "积分"}
,{uint32, elite_lev, elite_lev, "段位"}
,{uint32, avatar_id, avatar_id, "头像框"}
,{uint32, face_update_time, "自定义头像时间"}
,{string, face_file, "自定义头像"}
]}
,{uint32, log_zone_id, log_zone_id, "所在赛区"}
,{uint32, log_rank, log_rank, "所在赛区自身排名"}
]}
,{uint32, use_skin, "历史最佳伙伴皮肤id"}
]
}
,#rpc{
code = 24941
,log_title = "精英赛战绩分享协议"
,req_desc = "精英赛战绩分享协议"
,req = [
{uint16, channel, "频道"}
]
,reply_desc = "精英赛战绩分享协议"
,reply = [
{uint8, code, "结果(0:失败 1:成功)"}
,{string, msg, "结果信息"}
]
}
,#rpc{
code = 24942
,log_title = "精英赛查看分享协议"
,req_desc = "精英赛查看分享协议"
,req = [
{uint32, id, "分享ID"}
,{string, share_srv_id, "服务器ID"}
,{uint32, period, "周期(0:总览)"}
]
,reply_desc = "精英赛查看分享协议"
,reply = [
{uint32, id, "分享ID"}
,{string, share_srv_id, "服务器ID"}
,{uint32, best_mvp, "历史最佳伙伴"}
,{uint32, my_score, my_score, "积分"}
,{uint32, my_elite_lev, my_elite_lev, "段位"}
,{rec, m_arena_elite_log, m_arena_elite_log, [
{uint32, period, period, "周期(0:总览)"}
,{uint16, max_lev, max_lev, "历史最高段位"}
,{uint32, max_score, max_score, "历史最高积分"}
,{uint32, combat_win_count1, combat_win_count1, "常规赛总胜场"}
,{uint32, combat_all_count1, combat_all_count1, "常规赛总场数"}
,{uint8, combat_win_count2, combat_win_count2, "王者赛总胜场"}
,{uint32, combat_all_count2, combat_all_count2, "王者赛总场数"}
,{uint32, max_dps, max_dps, "历史单场最高伤害"}
,{uint32, winning_streak, winning_streak, "最大连胜数"}
,{rec, beast_rivl_info, arena_elite_role_best, [
{tuple, id, [
{uint32, rid, "id"}
,{string, srv_id, "服务器ID"}
]}
,{string, name, name, "角色名"}
,{uint32, lev, lev, "等级"}
,{uint32, sex, sex, "性别"}
,{tuple, gid, [
{uint32, g_rid, "联盟ID"}
,{string, g_srv_id, "联盟服务器ID"}
]}
,{string, gname, gname, "联盟名称"}
,{array, tuple, power, "战力", [
{uint8, order, "队伍"}
,{uint32, power, "战力"}
]}
,{uint32, face, face, "头像"}
,{uint32, score, score, "积分"}
,{uint32, elite_lev, elite_lev, "段位"}
,{uint32, avatar_id, avatar_id, "头像框"}
,{uint32, face_update_time, "自定义头像时间"}
,{string, face_file, "自定义头像"}
]}
,{uint32, log_zone_id, log_zone_id, "所在赛区"}
,{uint32, log_rank, log_rank, "所在赛区自身排名"}
]}
,{uint32, use_skin, "历史最佳伙伴皮肤id"}
]
}
,#rpc{
code = 24945
,log_title = "查看精英赛宣言"
,req_desc = "查看精英赛宣言"
,req = [
]
,reply_desc = "查看精英赛宣言"
,reply = [
{array, tuple, manifesto, "精英赛宣言", [
{uint8, order, "位置(1:战斗前 2:胜利 3:失败)"}
,{uint32, manifesto_id, "宣言id (未设置传0)"}
]}
]
}
,#rpc{
code = 24946
,log_title = "保存精英赛宣言"
,req_desc = "保存精英赛宣言"
,req = [
{array, tuple, manifesto, "精英赛宣言", [
{uint8, order, "位置(1:战斗前 2:胜利 3:失败)"}
,{uint32, manifesto_id, "宣言id (未设置传0)"}
]}
]
,reply_desc = "保存精英赛宣言"
,reply = [
{uint8, code, "结果(0:失败 1:成功)"}
,{string, msg, "结果信息"}
]
}
,#rpc{
code = 24950
,log_title = "客户端播报宣言完成"
,req_desc = "客户端播报宣言完成"
,req = [
]
,reply_desc = "客户端播报宣言完成"
,reply = [
]
}
,#rpc{
code = 24951
,log_title = "请求"
,req_desc = "请求"
,req = [
]
,reply_desc = "客户端播报宣言完成"
,reply = [
]
}
,#rpc{
code = 24952
,log_title = "段位赛战令基本信息"
,req_desc = "段位赛战令基本信息"
,req = [
]
,reply_desc = "段位赛战令基本信息"
,reply = [
{uint16, period, "周期数"}
,{uint32, cur_day, "天数"}
,{uint32, end_time, "结束时间"}
,{uint32, lev, "当前等级"}
,{uint8, rmb_status, "是否激活特权"}
,{uint32, win_count, "胜场数"}
,{array, tuple, list, "奖励列表", [
{uint32, id, "ID"}
,{uint8, award_status, "普通奖励领取状态(0:未领取,1:已领取)"}
,{uint8, rmb_award_status, "进阶奖励领取状态(0:未领取,1:已领取)"}
]}
]
}
,#rpc{
code = 24953
,log_title = "一键领取等级礼包(成功推送24952"
,req_desc = "一键领取等级礼包(成功推送24952"
,req = [
{uint16, id, "等级(一键领取发0)"}
]
,reply_desc = "一键领取等级礼包(成功推送24952"
,reply = [
{uint8, flag, "0:失败 1:成功"}
,{string, msg, "结果信息"}
]
}
,#rpc{
code = 24954
,log_title = "周期重置红点"
,req_desc = "周期重置红点"
,req = [
]
,reply_desc = "周期重置红点"
,reply = [
{uint8, flag, "0:没有红点 1:有红点"}
]
}
,#rpc{
code = 24955
,log_title = "是否要弹窗"
,req_desc = "是否要弹窗"
,req = []
,reply = [
{uint8, is_pop, "0:否 1:是"}
,{uint32, cur_day, "天数"}
]
}
,#rpc{
code = 24960
,log_title = "每日任务消息"
,req_desc = "每日任务消息"
,req = []
,reply = [
{uint32, win_num, "胜利场次"},
{uint32, all_num, "总场次"},
{array, tuple, list, "奖励列表", [
{uint32, id, "ID"}
,{uint8, award_status, "普通奖励领取状态(0:未领取,1:可领取, 2- 已领取)"}
]}
]
}
,#rpc{
code = 24961
,log_title = "一键领取每日任务"
,req_desc = "一键领取每日任务"
,req = [
]
,reply_desc = "一键领取每日任务"
,reply = [
{uint8, flag, "0:失败 1:成功"}
,{string, msg, "结果信息"}
]
}
].