Files

1179 lines
34 KiB
Erlang
Raw Permalink Normal View History

2026-05-23 22:10:14 +08:00
%%-----------------------------------------
%%
%%
%%-----------------------------------------
-module(proto_166).
-export([
info/0
,cfg/0
]
).
-include("protocol.hrl").
info() -> {
"活动协议"
,["holiday.hrl", "dial.hrl", "holiday_predict.hrl"]
}.
cfg() ->
[
#rpc{
code = 16600
,log_title = "所有活动主题类型"
,req_desc = "所有活动主题类型"
,req = []
,reply_desc = "所有活动主题类型返回结果"
,reply = [
{array, tuple, holiday_theme_list, "活动主题列表", [
{uint32, theme_id, "主题id"},
{uint32, type, "主题类型"},
{uint32, icon, "图标"},
{string, name, "活动主题名称"},
{uint32, sort, "主题排序"},
{uint32, source, "跳转"},
{uint32, start_time, "开始时间"},
{uint32, end_time, "结束时间"},
{uint32, skin_id, "皮肤id 默认为0"},
{string, effect, "特效"},
{array, tuple, theme_holiday_list,"主题下的活动", [
{uint32, camp_id, "活动编号"},
{uint32, source, "跳转"},
{string, config, "配置表"},
{uint32, sort, "活动排序"},
{string, name, "活动名"},
{string, activity_icon, "活动角标"},
{uint32, end_time, "结束时间"},
{string, end_icon, "结束角标"},
{uint32, cate, "分类, 默认为0"},
{string, cate_name, "分类名称, 默认为空字符串"},
{string, icon, "分类名称, 默认为空字符串"}
]}
]}
]
},
#rpc{
code = 16601
,log_title = "所有活动(第一次打开请求)"
,req_desc = "所有活动(第一次打开请求)"
,req = []
,reply_desc = "所有活动(第一次打开请求)返回结果"
,reply = [
{array, tuple, holiday_list, "节日子活动列表", [
{rec, holiday, holiday, [
{uint32, camp_id, "活动编号;"},
{uint32, bid, "子活动编号;"},
{string, title, "子活动标题"},
{string, title2, "子活动标题2,显示在横幅上面"},
{string, ico, "子活动左侧图标"},
{uint8, type_ico, "子活动类型图标"},
{string, top_banner, "子活动顶部横幅图片"},
{string, rule_str, "子活动规则"},
{string, time_str, "子活动时间"},
{string, bottom_alert, "子活动底部提示"},
{string, aim_title, "子活动目标标题"},
{uint8, panel_type, "子活动客户端面板类型(3-介绍)"},
{string, channel_ban, "不显示的渠道(只有客户端用);"},
{uint8, sort_val, "排序"},
{string, reward_title, "子活动子项背景资源"}
]}
,{uint32, remain_sec, "子活动剩余活动秒数;"}
,{uint32, cli_type, "活动类型"}
,{string, cli_type_name, "活动类型名称"}
]}
]
},
#rpc{
code = 16602
,log_title = "请求所有活动未领取奖励"
,req_desc = "请求所有活动未领取奖励"
,req = []
,reply_desc = "请求所有活动未领取奖励返回结果"
,reply = [
{array, tuple, holiday_list, "节日子活动列表", [
{uint32, bid, "子活动编号;"},
{uint8, can_get_num, "0-不能领取;其他-奖励数量"}
]
}
]
},
#rpc{
code = 16603
,log_title = "子活动"
,req_desc = "子活动"
,req = [
{uint32, bid, "子活动编号;"}
]
,reply_desc = "子活动返回结果"
,reply = ?p_g_set(holiday_son, [
{uint32, bid, "子活动编号;"},
{uint32, cli_type, "活动类型"},
{uint32, remain_sec, "子活动结束倒计时"},
{uint32, finish, "本人完成值;"},
{array, tuple, aim_list, "目标列表", [
{uint32, aim, "目标 领取奖励的Key"},
{string, aim_str, "目标字符串"},
{uint8, status, "0-不能领取;1-可领取;2-已领取"},
{array, tuple, item_list, "物品信息", [
{uint32, bid, "奖励物品bid"},
{uint32, num, "物品的数量"}
]
},
{array, tuple, aim_args, "扩展参数", [
{uint8, aim_args_key, ""},
{uint32, aim_args_val, ""},
{string, aim_args_str, "字符串"}
]
}
]
},
{array, tuple, item_effect_list, "物品特效信息", [
{uint32, bid, "物品bid"},
{uint8, effect_1, "物品的特效1"},
{uint8, effect_2, "物品的特效1"}
]
},
{array, tuple, args, "扩展参数", [
{uint8, args_key, ""},
{uint32, args_val, ""},
{string, args_str, "字符串"}
]
},
{string, client_reward, "客户端奖励;显示用服务端不用"},
{array, tuple, rank_list, "排名列表", [
{uint32, rid, "角色id"},
{string, srv_id, "服务器id"},
{string, name, "角色名"},
{uint8, sex, "性别"},
{uint8, career, "职业"},
{uint8, lev, "等级"},
{uint32, val, "用于排名的值"},
{array, tuple, rank_args, "排名整型附加参数", [
{uint8, rank_args_key, ""},
{uint32, rank_args_val, ""}
]
}
]
}
])
},
#rpc{
code = 16604
,log_title = "领取奖励"
,req_desc = "领取奖励"
,req = [
{uint32, bid, "活动编号;"},
{uint32, aim, "完成的目标值;"},
{uint32, arg, "参数(具体各个活动的作用不一样,抢购的时候,表示一次购买的数量);"}
]
,reply_desc = "领取奖励返回结果"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
},
#rpc{
code = 16605
,log_title = "活动是否开启"
,req_desc = "活动是否开启"
,req = [
{array, single, bid_list, "活动BID列表", [
{uint32, bid, "活动编号;"}
]
}
]
,reply_desc = "活动是否开启返回结果"
,reply = [
{array, tuple, status, "活动状态列表", [
{uint32, bid, "活动编号;"},
{uint8, code, "0:否,1:是"},
{uint32, end_time, "活动结束时间戳,没开启则为0"}
]
}
]
},
#rpc{
code = 16606
,log_title = "领取奖励返回结果"
,reply_desc = "领取奖励返回结果"
,reply = [
{uint32, bid, "子活动编号;"},
{uint8, can_get_num, "0-不能领取;其他-奖励数量"}
]
},
#rpc{
code = 16607
,log_title = "活动更新通知"
,req_desc = "活动更新通知"
,req = [
]
,reply_desc = "活动更新通知"
,reply = [
{uint8, type, "更新类型,0:零点更新;55点更新"}
]
},
#rpc{
code = 16610
,reply_desc = "活动抽奖结果"
,log_title = "活动抽奖结果"
,reply = [
{uint32, bid, "子活动编号;"},
{uint32, aim, "目标 领取奖励的Key"},
{uint32, item_bid, "道具ID"}
]
},
#rpc{
code = 16611
,reply_desc = "精彩活动信息"
,log_title = "精彩活动信息"
,req = [
]
,reply = [
{array, tuple, holiday_info_list, "精彩活动信息", [
{string, name, "活动名称;"},
{string, url, "图片链接"},
{string, cmd, "跳转命令"},
{uint8, is_new, "是否新活动 1- 是, 0-不是"},
{uint32, total_id, "主题;"},
{uint32, camp_id, "活动id"}
]}
]
},
#rpc{
code = 16612
,reply_desc = "轮换活动点数信息"
,log_title = "轮换活动点数信息"
,req = [
]
,reply = [
{uint32, point, "点数"},
{array, tuple, reward_list, "精彩活动信息", [
{int32, id, "进度id;"},
{uint8, status, "是否领取 0, 1, 2"}
]}
]
},
#rpc{
code = 16613
,reply_desc = "领取轮换活动点数奖励"
,log_title = "领取轮换活动点数奖励"
,req = [
{uint32, id, "进度id"}
]
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
},
#rpc{
code = 16614
,reply_desc = "自选英雄信息"
,log_title = "自选英雄信息"
,req = [
]
,reply = [
{uint32, remain_sec, "结束倒计时"},
{array, tuple, partner_ids, "设置自选英雄", [
{uint32, id, "阵容id"},
{uint32, partner_id, "英雄id"},
{uint8, status, "是否领取 0-不可领取, 1-可领取, 2-已领取"}
]}
]
},
#rpc{
code = 16615
,reply_desc = "设置自选英雄"
,log_title = "设置自选英雄"
,req = [
{array, tuple, partner_ids, "设置自选英雄", [
{uint32, id, "阵容id"},
{uint32, partner_id, "英雄id"}
]}
]
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
},
#rpc{
code = 16616
,reply_desc = "领取自选英雄"
,log_title = "领取自选英雄"
,req = [
{uint32, id, "阵容id"}
]
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
},
#rpc{
code = 16620
,log_title = "子活动"
,req_desc = "子活动"
,req = [
{array, single, id_list, "子活动Id列表", [
{uint32, id, "子活动Id"}
]
}
]
,reply_desc = "子活动返回结果"
,reply = [
{array, tuple, holiday_list, "子活动列表", ?p_g_get(holiday_son)}
]
}
,#rpc{
code = 16621
,reply_desc = "今日推送id"
,log_title = "今日推送id"
,req = [
]
,reply = [
{uint32, id, "推送id"}
]
}
,#rpc{
code = 16622
,reply_desc = "设置今日不在推送"
,log_title = "设置今日不在推送"
,req = [
]
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16623
,reply_desc = "活动引导"
,log_title = "活动引导"
,req = [
{uint32, camp_id, "活动id"}
]
,reply = [
{uint8, code, "是否需要引导 0- 不需要, 1-需要"}
]
}
,#rpc{
code = 16624
,reply_desc = "活动引导完成"
,log_title = "活动引导完成"
,req = [
{uint32, camp_id, "活动id"}
]
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16630
,log_title = "边玩边下奖励状态"
,req_desc = "边玩边下奖励状态"
,req = [
]
,reply_desc = "奖励状态"
,reply = [
{uint8, code, "是否已领取 0:否,1:是"}
,{array, tuple, items, "道具奖励", [
{uint32, bid, "Bid"}
,{uint32, num, "数量"}
]}
]
}
,#rpc{
code = 16631
,log_title = "领取边玩边下奖励"
,req_desc = "领取边玩边下奖励"
,req = [
]
,reply_desc = "领取奖励结果"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16633
,log_title = "微信公众号状态"
,req_desc = "微信公众号状态"
,req = [
]
,reply_desc = "奖励状态"
,reply = [
{uint8, code, "是否已点开过 0:否,1:是"}
,{array, tuple, items, "道具奖励", [
{uint32, bid, "Bid"}
,{uint32, num, "数量"}
]}
]
}
,#rpc{
code = 16634
,log_title = "点击微信公众号"
,req_desc = "点击微信公众号"
,req = [
]
,reply_desc = "点击微信公众号"
,reply = [
]
}
,#rpc{
code = 16635
,log_title = "手机绑定奖励状态"
,req_desc = "手机绑定奖励状态"
,req = [
]
,reply_desc = "奖励状态"
,reply = [
{uint8, code, "是否已领取 0:否,1:是"}
,{array, tuple, items, "道具奖励", [
{uint32, bid, "Bid"}
,{uint32, num, "数量"}
]}
]
}
,#rpc{
code = 16636
,log_title = "领取手机绑定奖励"
,req_desc = "领取手机绑定奖励"
,req = [
{string, number, "手机号"}
,{string, code, "验证码"}
]
,reply_desc = "领取手机绑定奖励结果"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16637
,log_title = "抽奖活动信息"
,req_desc = "抽奖活动信息"
,req = [
]
,reply_desc = "抽奖"
,reply = [
{array, tuple, dial_data, "寻宝数据", [
{rec, dial_info, dial_info, [
{uint32, type, "寻宝类型"}
,{uint32, count, "总召唤次数"}
,{uint32, lucky, "幸运值"}
,{uint32, frist_type, "首抽奖励是否已领(0:未领取 1:已领取)"}
,{array, single, lucky_award, "已领取的幸运奖励", [
{uint32, lucky, "幸运值"}
]}
,{uint32, end_time, "免费刷新时间(当前时间戳大于这个值 就是免费刷新)"}
,{array, tuple, rand_lists, "转盘道具", [
{uint8, pos, "位置"}
,{uint32, id, "子id"}
,{uint8, status, "是否已抽取完(0:还能继续抽取 1:已全部抽取完,不会产出)"}
]}
]}
,{array, tuple, log_list, "日志列表", [
{string, role_name, "角色名"}
, {uint32, bid, "物品bid"}
, {uint32, num, "物品数量"}
]}
]}
]
}
,#rpc{
code = 16638
,log_title = "抽奖活动抽奖"
,req_desc = "抽奖活动抽奖"
,req = [
{uint32, type, "类型"}
,{uint32, type2, "次数类型"}
]
,reply_desc = "抽奖"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"},
{array, tuple, frist_awards, "首抽奖励", [
{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]},
{array, tuple, awards1, "固定奖励列表", [
{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]},
{array, tuple, awards2, "奖励列表", [
{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]},
{array, single, awards3, "抽中的位置列表", [
{uint8, pos, "位置"}
]}
]
}
,#rpc{
code = 16639
,log_title = "抽奖活动推送数据变化"
,req_desc = "抽奖活动推送数据变化"
,req = [
]
,reply_desc = "抽奖活动推送数据变化"
,reply = [
{rec, dial_info, dial_info, [
{uint32, type, "寻宝类型"}
,{uint32, count, "总召唤次数"}
,{uint32, lucky, "幸运值"}
,{uint32, frist_type, "首抽奖励是否已领(0:未领取 1:已领取)"}
,{array, single, lucky_award, "已领取的幸运奖励", [
{uint32, lucky, "幸运值"}
]}
,{uint32, end_time, "免费刷新时间(当前时间戳大于这个值 就是免费刷新)"}
,{array, tuple, rand_lists, "转盘道具", [
{uint8, pos, "位置"}
,{uint32, id, "子id"}
,{uint8, status, "是否已抽取完(0:还能继续抽取 1:已全部抽取完,不会产出)"}
]}
]}
]
}
,#rpc{
code = 16640
,log_title = "抽奖领取幸运值奖励"
,req_desc = "抽奖领取幸运值奖励"
,req = [
{uint32, type, "寻宝类型"}
,{uint32, id, "幸运值奖励id"}
]
,reply_desc = "抽奖领取幸运值奖励"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"},
{uint32, type, "寻宝类型"}
]
}
,#rpc{
code = 16641
,log_title = "推送探宝日志变化"
,req_desc = "推送探宝日志变化"
,req = [
]
,reply_desc = "推送探宝日志变化"
,reply = [
{uint32, type, "寻宝类型"},
{array, tuple, log_list, "日志列表", [
{string, role_name, "角色名"}
,{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]}
]
}
,#rpc{
code = 16642
,log_title = "探宝刷新"
,req_desc = "探宝刷新"
,req = [
{uint32, type, "寻宝类型"}
]
,reply_desc = "探宝刷新"
,reply = [
{uint8, code, "是否成功"}
,{string, msg, "返回消息"}
,{uint32, type, "寻宝类型"}
]
}
,#rpc{
code = 16643
,log_title = "抽奖2"
,req_desc = "抽奖2"
,req = [
{uint32, type, "类型"}
,{uint32, type2, "次数类型"}
]
,reply_desc = "抽奖2"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"},
{array, tuple, frist_awards, "首抽奖励", [
{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]},
{array, tuple, awards1, "固定奖励列表", [
{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]},
{array, tuple, awards2, "奖励列表", [
{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]},
{array, single, awards3, "抽中的位置列表", [
{uint8, pos, "位置"}
]}
]
}
,#rpc{
code = 16650
,log_title = "请求点金排行奖励信息"
,req_desc = "请求点金排行奖励信息"
,req = [
{uint32, bid, "活动编号;"}
]
,reply_desc = "请求点金排行奖励信息"
,reply = [
{uint32, rank, "自己排名"}
,{array, tuple, rank_award, "排行奖励列表", [
{uint32, rank1, "排行下限"}
,{uint32, rank2, "排行上限"}
,{array, tuple, award, "奖励", [
{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]}
]}
]
}
,#rpc{
code = 16651
,log_title = "请求点金排行奖励信息"
,req_desc = "战力飞升礼包信息"
,req = []
,reply = [
{uint8, period, "周期数"}
,{uint8, is_buy, "是否已购买"}
,{uint32, end_time, "结束时间"}
,{array, tuple, list, "奖励列表", [
{uint32, id, "ID"}
,{uint8, finish, "奖励状态(0:不可领取 1:可领取 2:已领取)"}
]}
]
}
,#rpc{
code = 16652
,log_title = "领取战力飞升礼包奖励"
,req_desc = "领取战力飞升礼包奖励"
,req = [
{uint32, id, "ID"}
]
,reply = [
{uint8, code, "结果状态"}
,{string, msg, "结果信息"}
]
}
,#rpc{
code = 16653
,log_title = "开服周卡信息"
,req_desc = "开服周卡信息"
,req = []
,reply = [
{uint8, is_buy, "是否已购买"}
,{uint32, end_time, "结束时间"}
,{uint32, charge_id, "充值id"}
,{array, tuple, award_list, "奖励列表", [
{uint32, id, "ID"}
,{uint32, acv_id, "特效id"}
,{uint8, finish, "奖励状态(0:不可领取 1:可领取 2:已领取)"}
,{uint32, award_time, "可领时间)"}
,{array, tuple, award, "奖励物品", [
{uint32, bid, "物品bid"}
,{uint32, num, "数量"}
]}
]}
]
}
,#rpc{
code = 16654
,log_title = "领取开服周卡奖励"
,req_desc = "领取开服周卡奖励"
,req = [
{uint32, id, "ID"}
]
,reply = [
{uint8, code, "结果状态"}
,{string, msg, "结果信息"}
]
}
,#rpc{
code = 16660
,log_title = "请求活动商城信息"
,req_desc = "请求活动商城信息"
,req = [
]
,reply_desc = "请求活动商城信息"
,reply = [
{array, tuple, holiday_exchanges, "活动商城信息", [
{uint32, bid, "子活动编号;"}
,{uint32, end_time, "子活动结束时间戳"}
,{string, exchange_name, "商城名"}
,{uint32, need_id, "兑换所需id"}
,{array, tuple, exchange_list, "商品列表", [
{uint32, aim, "商品id"},
{string, aim_str, "商品名"},
{uint32, buy_count, "以购买次数"},
{uint32, limit_buy, "限购次数"},
{uint32, lable, "商品标签类型(0:无标签 1:超值)"},
{uint32, expend_id, "购买道具id"},
{uint32, expend_num, "购买道具数量"},
{array, tuple, item_list, "物品信息", [
{uint32, bid, "奖励物品bid"},
{uint32, num, "物品的数量"}
]},
{array, tuple, aim_args, "扩展参数", [
{uint8, aim_args_key, ""},
{uint32, aim_args_val, ""},
{string, aim_args_str, "字符串"}
]}
]}
]}
]
}
,#rpc{
code = 16661
,log_title = "活动商城购买"
,req_desc = "活动商城购买"
,req = [
{uint32, bid, "子活动编号;"},
{uint32, aim, "商品id"},
{uint32, num, "购买数量"}
]
,reply_desc = "活动商城购买"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"},
{uint32, bid, "子活动编号;"},
{uint32, aim, "商品id"},
{uint32, buy_count, "以购买次数"}
]
}
,#rpc{
code = 16665
,log_title = "满减购买"
,req_desc = "满减购买"
,req = [
{uint32, bid, "子活动编号;"},
{array, tuple, ids, "购买参数", [
{uint32, id, "商品编号;"},
{uint32, num, "数量;"}
]}
]
,reply_desc = "领取奖励返回结果"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16666
,log_title = "红点计算(在客户端点击了活动界面后,回传bid,服务端记录 用于处理点击后红点显示)"
,req_desc = "红点计算"
,req = [
{uint32, bid, "子活动编号;"}
]
,reply_desc = "红点计算"
,reply = [
]
}
,#rpc{
code = 16670
,log_title = "请求活动转盘信息"
, req_desc = "请求活动转盘信息"
, req = [
]
, reply_desc = ""
, reply = [
{uint32, num, "转盘积分数量"}
,{uint32, gold, "奖池总数量"}
,{uint8, is_free, "是否免费(0:免费 大于0:非免费)"}
,{uint32, holiday_lev, "活动开启时等级"}
,{array, tuple, award_list, "积分宝箱", [
{uint32, id, "积分宝箱id"}
,{uint32, status, "状态(0:不能领取 1:可领取 2:已领取)"}
]}
]
}
,#rpc{
code = 16671
, req_desc = "转盘抽奖"
,log_title = "转盘抽奖"
, req = [
{uint8, count, "抽奖次数"}
,{uint8, flag, "是否跳过动画(0:播动画 1:不播动画直接弹物品)"}
]
, reply_desc = ""
, reply = [
{uint8, result, "1 成功 0 成功"}
,{string, msg, "消息"}
,{uint8, id, "抽奖结果组ID"}
,{uint8, flag, "是否跳过动画(0:播动画 1:不播动画直接弹物品)"}
]
}
,#rpc{
code = 16672
,log_title = "转盘活动客户端播报完成"
, req_desc = "转盘活动客户端播报完成"
, req = []
, reply_desc = ""
, reply = [
{uint8, count, "抽奖次数"}
,{array, tuple, awards2, "奖励列表", [
{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]}
]
}
,#rpc{
code = 16673
,log_title = "转盘活动领取积分奖励"
, req_desc = "转盘活动领取积分奖励"
, req = [
{uint8, id, "积分宝箱id"}
]
, reply_desc = ""
, reply = [
{uint8, result, "1 成功 0 成功"}
,{string, msg, "消息"}
]
}
,#rpc{
code = 16674
,log_title = "转盘活动日志(全服日志会主动推送)"
,req_desc = "转盘活动日志(全服日志会主动推送)"
,req = [
{uint8, type, "类型(1:个人 2:全服)"}
]
,reply_desc = "转盘活动日志"
,reply = [
{uint8, type, "类型(1:个人 2:全服)"},
{array, tuple, log_list, "日志列表", [
{string, role_name, "角色名"}
,{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]}
]
}
,#rpc{
code = 16675
,log_title = "转盘活动购买道具"
, req_desc = "转盘活动购买道具"
, req = [
{uint32, num, "购买数量"}
]
, reply_desc = ""
, reply = [
{uint8, result, "1 成功 0 成功"}
,{string, msg, "消息"}
]
}
,#rpc{
code = 16676
,log_title = "转盘活动广播钻石变化"
, req_desc = "转盘活动广播钻石变化"
, req = [
]
, reply_desc = ""
, reply = [
{uint32, gold, "奖池总数量"}
]
}
,#rpc{
code = 16680
,log_title = "当前砸蛋状态"
, req_desc = "当前砸蛋状态"
, req = []
, reply = [
{uint32, lucky, "幸运值"}
,{uint8, free_num, "剩余免费次数"}
,{uint32, endtime, "结束时间"}
,{array, tuple, egg_status, "砸蛋状态", [
{uint8, pos, "位置ID"}
,{uint8, type, "蛋类型,1普通 2极品"}
,{uint8, status, "状态, 1已砸开 0未砸开"}
,{array, tuple, show_reward, "奖励展示", [
{uint32, item_id, "物品ID"}
,{uint32, num, "物品数量"}
]}
]}
]
}
,#rpc{
code = 16681
,log_title = "刷新砸蛋(成功返回16680"
, req_desc = "刷新砸蛋(成功返回16680"
, req = []
, reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16682
,log_title = "砸蛋"
, req_desc = "砸蛋"
, req = [
{uint8, pos, "位置ID"}
]
, reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16683
,log_title = "全部砸蛋"
, req_desc = "全部砸蛋"
, req = [
]
, reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16684
,log_title = "砸蛋购买锤子"
, req_desc = "砸蛋购买锤子"
, req = [
{uint16, num, "购买数量"}
]
, reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16685
,log_title = "砸蛋活动日志"
,req_desc = "砸蛋活动日志"
,req = [
{uint8, type, "类型(1:个人 2:全服)"}
]
,reply_desc = "转盘活动日志"
,reply = [
{uint8, type, "类型(1:个人 2:全服)"},
{array, tuple, log_list, "日志列表", [
{string, role_name, "角色名"}
,{uint32, bid, "物品bid"}
,{uint32, num, "物品数量"}
]}
]
}
,#rpc{
code = 16686
,log_title = "活动置换"
,req_desc = "活动置换"
,req = [
{uint32, partner_id, "伙伴唯一id"}
,{uint32, partner_bid, "伙伴基础bid"}
,{array, single, expend, "消耗指定ID的英雄id", [
{uint32, partner_id, "伙伴唯一id"}
]}
]
,reply_desc = "活动置换"
,reply = [
{uint8, code, "是否成功"},
{string, msg, "返回消息"}
]
}
,#rpc{
code = 16687
, req_desc = "活动红点"
,log_title = "活动红点"
, req = [
{uint32, bid, "活动bid"}
]
, reply = [
{uint32, bid, "活动bid"}
,{uint8, code, "是否要红点(0:不用 1:要红点)"}
]
}
,#rpc{
code = 16688
,log_title = "杂货铺信息"
, req_desc = "杂货铺信息"
, req = [
]
, reply = [
{array, tuple, buy_info, "杂货铺购买情况", [
{uint8, id, "商品id"}
,{uint32, day_num, "个人天购买次数(没有限购时为0)"}
,{uint32, all_num, "个人总购买次数(没有限购时为0)"}
,{uint32, s_day_num, "全服天购买次数(没有限购时为0)"}
,{uint32, s_all_num, "全服总购买次数(没有限购时为0)"}
]}
]
}
,#rpc{
code = 16689
,log_title = "杂货铺购买(购买成功推送16688)"
, req_desc = "杂货铺购买(购买成功推送16688)"
, req = [
{uint32, id, "商品id"}
,{uint32, num, "商品数量"}
]
, reply = [
{uint8, code, "是否成功"}
,{string, msg, "返回消息"}
,{uint32, id, "商品id"}
,{uint32, num, "商品数量"}
]
}
,#rpc{
code = 16690
,log_title = "松果宝藏活动信息"
,req_desc = "松果宝藏活动信息"
,req = [
]
,reply_desc = "松果宝藏活动信息"
,reply = [
{array, holiday_predict_info, predict_data, "松果数据", [
{uint32, type, "松果类型"}
,{uint32, count, "总刷新次数"}
,{array, tuple, rand_lists, "松果物品", [
{uint8, pos, "位置"}
,{uint32, id, "子id"}
]}
,{uint32, flag, "是否已购买(0:未购买,1:已购买)"}
]}
,{uint32, time, "活动剩余毫秒数"}
,{uint32, ref_1, "幸运松果刷新次数"}
,{uint32, ref_2, "豪华松果刷新次数"}
,{uint32, buy_1, "幸运松果购买次数"}
,{uint32, buy_2, "豪华松果购买次数"}
,{uint32, status_1, "幸运松果开启状态(0关闭,1打开)"}
,{uint32, status_2, "豪华松果开启状态(0关闭,1打开)"}
]
}
,#rpc{
code = 16691
,log_title = "松果刷新"
,req_desc = "松果刷新"
,req = [
{uint32, type, "松果类型(1:幸运松果,2:豪华松果)"}
]
,reply_desc = "松果刷新"
,reply = [
{uint8, code, "是否成功"}
,{string, msg, "返回消息"}
,{uint32, type1, "寻宝类型"}
,{rec, holiday_predict_info, holiday_predict_info, [
{uint32, type, "松果类型"}
,{uint32, count, "总刷新次数"}
,{array, tuple, rand_lists, "松果物品", [
{uint8, pos, "位置"}
,{uint32, id, "子id"}
]}
,{uint32, flag, "是否已购买(0:未购买,1:已购买)"}
]}
,{uint32, ref_count, "最新刷新次数"}
]
}
,#rpc{
code = 16692
,log_title = "购买松果币"
,req_desc = "购买松果币"
,req = [
{uint32, num, "数量"}
]
,reply_desc = "购买松果币"
,reply = [
{uint8, code, "是否成功"}
,{string, msg, "返回消息"}
]
}
,#rpc{
code = 16693
,log_title = "购买松果物品"
,req_desc = "购买松果物品"
,req = [
{uint32, type, "松果类型(1:幸运松果,2:豪华松果)"}
]
,reply_desc = "购买松果物品"
,reply = [
{uint8, code, "是否成功"}
,{string, msg, "返回消息"}
,{uint32, type1, "松果类型"}
,{uint32, ref_count, "最新购买次数"}
,{rec, holiday_predict_info, holiday_predict_info, [
{uint32, type, "松果类型"}
,{uint32, count, "总刷新次数"}
,{array, tuple, rand_lists, "松果物品", [
{uint8, pos, "位置"}
,{uint32, id, "子id"}
]}
,{uint32, flag, "是否已购买(0:未购买,1:已购买)"}
]}
]
}
,#rpc{
code = 16694
,log_title = "打开松果"
,req_desc = "打开松果"
,req = [
{uint32, type, "松果类型(1:幸运松果,2:豪华松果)"}
]
,reply_desc = "打开松果"
,reply = [
{uint8, code, "是否成功"}
,{string, msg, "返回消息"}
,{uint32, type, "松果类型(1:幸运松果,2:豪华松果)"}
]
}
,#rpc{
code = 16695
,log_title = "嘉年华领取礼包码奖励"
,req_desc = "嘉年华领取礼包码奖励"
,req = [
{string, card_id, "礼包码"}
]
,reply_desc = "领取奖励返回结果"
,reply = [
{uint8, code, "是否领取成功"},
{string, msg, "附加消息"}
]
}
,#rpc{
code = 16696
,log_title = "新春限购重置"
,req_desc = "新春限购重置"
,req = [
]
,reply_desc = "新春限购重置"
,reply = [
{uint8, code, "结果,1:有,0:无"}
]
}
,#rpc{
code = 16697
,log_title = "图标控制"
,req_desc = "图标控制"
,req = [
]
,reply_desc = "图标控制"
,reply = [
{uint8, code, "结果,1:开启,0:关闭"}
,{string, msg, "附加信息"}
,{uint32, camp_id, "活动id"}
,{uint32, id, "英雄对话id"}
]
}
,#rpc{
code = 16698
,log_title = "领奖"
,req_desc = "领奖"
,req = [
{uint32, id, "英雄对话id"}
]
,reply_desc = "点击活动图标"
,reply = [
{uint8, code, "结果,1:成功,0:失败"}
,{string, msg, "附加信息"}
]
}
].