fish_activity.proto 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. package fish_protocols;
  2. import "fish_def.proto";
  3. import "fish_type_def.proto";
  4. import "msg_type_def.proto";
  5. ////////////////////////////金币盛宴活动/////////////////////////////////////////
  6. // 请求盛宴活动信息
  7. //message packetc2l_req_gold_feast_info
  8. //{
  9. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_gold_feast_info];
  10. //}
  11. //message GoldFeastRewardInfo
  12. //{
  13. // optional int32 goldKey = 1;
  14. // 是否已领取奖励
  15. // optional bool isRecv = 2;
  16. //}
  17. // 请求盛宴活动信息结果
  18. //message packetl2c_req_gold_feast_info_result
  19. //{
  20. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_gold_feast_info_result];
  21. // 今日累计打鱼得到金币
  22. // optional int32 todayWinGold = 2;
  23. // repeated GoldFeastRewardInfo rewardList = 3;
  24. //}
  25. // 请求领取盛宴活动奖励
  26. //message packetc2l_req_recv_gold_feast_reward
  27. //{
  28. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_recv_gold_feast_reward];
  29. // optional int32 goldKey = 2;
  30. //}
  31. // 请求领取盛宴活动奖励结果
  32. //message packetl2c_req_recv_gold_feast_reward_result
  33. //{
  34. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_recv_gold_feast_reward_result];
  35. // optional int32 goldKey = 2;
  36. // optional int32 result = 3;
  37. //}
  38. ////////////////////////////竞技场活动/////////////////////////////////////////
  39. // 首次完成比赛后,领取活动奖励
  40. // message packetc2l_baojin_recv_actreward
  41. // {
  42. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_baojin_recv_actreward];
  43. // }
  44. // // 首次完成比赛后,领取活动奖励结果
  45. // message packetl2c_baojin_recv_actreward_result
  46. // {
  47. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_baojin_recv_actreward_result];
  48. // optional int32 result = 2;
  49. // }
  50. // // 竞技场活动信息
  51. // message packetc2l_baojin_act_getinfo
  52. // {
  53. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_baojin_act_getinfo];
  54. // }
  55. // // 竞技场活动信息结果
  56. // message packetl2c_baojin_act_getinfo_result
  57. // {
  58. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_baojin_act_getinfo_result];
  59. // // 是否领取了弹头
  60. // optional bool isRecv = 2;
  61. // // 今日参与比赛次数
  62. // optional int32 joinCount = 3;
  63. // }
  64. //////////////////////////// 圣诞元旦活动 /////////////////////////////////////////
  65. // 获取圣诞活动信息
  66. //message packetc2l_get_christmas_info
  67. //{
  68. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_christmas_info];
  69. //}
  70. //message WordItemInfo
  71. //{
  72. // // 文字id
  73. // optional int32 wordId = 1;
  74. // 文字数量
  75. // optional int32 count = 2;
  76. //}
  77. // 获取圣诞活动信息结果
  78. //message packetl2c_get_christmas_info_result
  79. //{
  80. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_christmas_info_result];
  81. // 扭蛋券数量
  82. // optional int32 itemCount = 2;
  83. // repeated WordItemInfo wordList = 3;
  84. // 1 圣诞活动 2 元旦活动
  85. // optional int32 actType = 4;
  86. //}
  87. // 圣诞兑换
  88. //message packetc2l_christmas_exchange
  89. //{
  90. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_christmas_exchange];
  91. // 文字id, 0表示集齐兑换
  92. // optional int32 wordId = 2;
  93. //}
  94. // 圣诞兑换结果
  95. //message packetl2c_christmas_exchange_result
  96. //{
  97. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_christmas_exchange_result];
  98. // optional int32 result = 2;
  99. //}
  100. // 抽取文字
  101. //message packetc2l_christmas_lottery_word
  102. //{
  103. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_christmas_lottery_word];
  104. //}
  105. // 抽取文字结果
  106. //message packetl2c_christmas_lottery_word_result
  107. //{
  108. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_christmas_lottery_word_result];
  109. // optional int32 result = 2;
  110. // optional int32 wordId = 3;
  111. //}
  112. //////////////////////////// 欢乐炸活动--鱼雷排行榜 /////////////////////////////////////////
  113. // 鱼雷排行榜
  114. message packetc2l_get_torpedo_rank
  115. {
  116. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_torpedo_rank];
  117. // 0青铜排行 1黄金排行
  118. optional int32 rankType = 2;
  119. }
  120. message TorpedoRankInfo
  121. {
  122. optional int32 playerId = 1;
  123. optional string nickName = 2;
  124. optional int32 gold = 3;
  125. optional int32 headid = 4;
  126. optional int32 frameid = 5;
  127. optional int32 vipLevel = 6;
  128. optional int32 gender = 7;
  129. }
  130. message TorpedoRankChangeInfo
  131. {
  132. optional int32 playerId = 1;
  133. optional string nickName = 2;
  134. optional int32 torpedoId = 3;
  135. optional int64 changeGold = 4;
  136. optional int64 changePoint = 5;
  137. }
  138. // 鱼雷排行榜结果
  139. message packetl2c_get_torpedo_rank_result
  140. {
  141. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_torpedo_rank_result];
  142. repeated TorpedoRankInfo rankList = 2;
  143. optional int32 rankType = 3;
  144. //今日欢乐炸最高||衰神炸最低
  145. optional int64 selfRankGold = 4;
  146. //今日最高分
  147. optional int32 selfMaxGold = 5;
  148. //入围奖状态
  149. optional int32 guaranteedStat = 6;
  150. }
  151. // 鱼雷榜变化信息
  152. message packetc2l_get_torpedo_rank_change_list
  153. {
  154. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_torpedo_rank_change_list];
  155. optional int32 rankType = 2;
  156. }
  157. message packetl2c_get_torpedo_rank_change_list_result
  158. {
  159. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_torpedo_rank_change_list_result];
  160. optional int32 rankType = 2;
  161. repeated TorpedoRankChangeInfo changeList = 3;
  162. }
  163. message packetc2l_receive_torpedo_guaranteed_award
  164. {
  165. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_torpedo_guaranteed_award];
  166. optional int32 rankType = 2;
  167. }
  168. message packetl2c_receive_torpedo_guaranteed_award_result
  169. {
  170. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_torpedo_guaranteed_award_result];
  171. optional int32 result = 2;
  172. optional int32 rankType = 3;
  173. }
  174. //////////////////////////// 金蟾夺宝活动/////////////////////////////////////////
  175. // 请求金蟾夺宝活动信息
  176. //message packetc2l_req_spittor_snatch_info
  177. //{
  178. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_spittor_snatch_info];
  179. //}
  180. //message SpittorRankInfo
  181. //{
  182. // optional int32 playerId = 1;
  183. // optional string nickName = 2;
  184. // optional int32 killCount = 3;
  185. //}
  186. // 请求金蟾夺宝活动信息结果
  187. //message packetl2c_req_spittor_snatch_info_result
  188. //{
  189. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_spittor_snatch_info_result];
  190. // 击杀金蟾数量
  191. // optional int32 killCount = 2;
  192. // 已领取奖励的档位id
  193. // repeated int32 hasRecvRewardIds = 3;
  194. // repeated SpittorRankInfo rankList = 4;
  195. //}
  196. // 领取金蟾夺宝活动档位奖励
  197. //message packetc2l_req_recv_spittor_snatch_level_reward
  198. //{
  199. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_recv_spittor_snatch_level_reward];
  200. // 档位id
  201. // optional int32 levelId = 2;
  202. //}
  203. // 领取金蟾夺宝活动档位奖励结果
  204. //message packetl2c_req_recv_spittor_snatch_level_reward_result
  205. //{
  206. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_recv_spittor_snatch_level_reward_result];
  207. //
  208. // optional int32 levelId = 2;
  209. //
  210. // optional int32 result = 3;
  211. //}
  212. //////////////////////////// 中秋国庆活动2018 /////////////////////////////////////////
  213. // 中秋国庆活动排行榜
  214. // message packetc2l_get_national_day2018_rank
  215. // {
  216. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_national_day2018_rank];
  217. // // true返回结果中含排行榜,否则只含当前月饼数量,及已获得月饼数量
  218. // optional bool hasContainsRank = 2;
  219. // }
  220. // message N2018RankInfo
  221. // {
  222. // optional int32 playerId = 1;
  223. // optional string nickName = 2;
  224. // // 获得月饼
  225. // optional int32 gainMoonCake = 3;
  226. // }
  227. // // 每日任务的完成条件
  228. // message N2018ActFinishCond
  229. // {
  230. // optional int32 actId = 1;
  231. // // 完成数量
  232. // optional int32 finishCount = 2;
  233. // }
  234. // // 每日任务
  235. // message N2018Act
  236. // {
  237. // optional int32 actId = 1;
  238. // optional int32 isReceive = 2;
  239. // }
  240. // 中秋国庆活动排行榜结果
  241. // message packetl2c_get_national_day2018_rank_result
  242. // {
  243. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_national_day2018_rank_result];
  244. // repeated N2018RankInfo rankList = 2;
  245. // // 获得月饼数量
  246. // optional int32 selfGainMoonCake = 3;
  247. // // 当前月饼数量
  248. // optional int32 selfCurMoonCake = 4;
  249. // // 今日达成
  250. // optional int32 actCount = 5;
  251. // // 当前任务ID
  252. // optional int32 curActId = 6;
  253. // repeated N2018ActFinishCond actCondList = 7;
  254. // // 当前任务列表, 没有在列表中的任务,没有领取
  255. // repeated N2018Act actList = 8;
  256. // }
  257. // // 中秋国庆活动抽奖
  258. // message packetc2l_national_day2018_lottery
  259. // {
  260. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_national_day2018_lottery];
  261. // // 抽奖ID
  262. // optional int32 lotteryId = 2;
  263. // }
  264. // // 中秋国庆活动抽奖结果
  265. // message packetl2c_national_day2018_lottery_result
  266. // {
  267. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_national_day2018_lottery_result];
  268. // optional int32 result = 2;
  269. // optional int32 itemId = 3;
  270. // optional int32 itemCount = 4;
  271. // }
  272. // // 领取任务奖励
  273. // message packetc2l_national_day2018_recv_act_reward
  274. // {
  275. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_national_day2018_recv_act_reward];
  276. // optional int32 actId = 3;
  277. // }
  278. // // 领取任务奖励结果
  279. // message packetl2c_national_day2018_recv_act_reward_result
  280. // {
  281. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_national_day2018_recv_act_reward_result];
  282. // optional int32 result = 2;
  283. // optional int32 itemId = 3;
  284. // optional int32 itemCount = 4;
  285. // // 0-任务无效, 今天的任务全部做完,没有后续任务
  286. // optional int32 nextActId = 5;
  287. // // 任务完成的条件
  288. // optional int32 finishCount = 6;
  289. // // 当前进度
  290. // optional int32 actCount = 7;
  291. // }
  292. // // 获取下一个每日任务, 进场后获取
  293. // message packetc2l_national_day2018_next_daily_act
  294. // {
  295. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_national_day2018_next_daily_act];
  296. // }
  297. // // 获取下一个每日任务结果
  298. // message packetl2c_national_day2018_next_daily_act_result
  299. // {
  300. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_national_day2018_next_daily_act_result];
  301. // // 0-任务无效
  302. // optional int32 nextActId = 2;
  303. // // 当前进度
  304. // optional int32 progress = 3;
  305. // // 任务完成的条件
  306. // optional int32 finishCount = 4;
  307. // }
  308. //////////////////////////// 屠龙榜 /////////////////////////////////////////
  309. // 屠龙排行榜
  310. //message packetc2l_get_kd_rank
  311. //{
  312. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_kd_rank];
  313. //}
  314. //message TDRankInfo
  315. //{
  316. // optional int32 playerId = 1;
  317. // optional string nickName = 2;
  318. // 获得龙珠
  319. // optional int32 gaindb = 3;
  320. // 性别
  321. // optional int32 gender = 4;
  322. // 头像
  323. // optional string head = 5;
  324. //}
  325. // 排行榜信息
  326. //message packetl2c_get_kd_rank_result
  327. //{
  328. // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_kd_rank_result];
  329. // 昨日排行
  330. // repeated TDRankInfo yesterdayRank = 2;
  331. // 今日排行
  332. // repeated TDRankInfo todayRank = 3;
  333. // 周榜
  334. // repeated TDRankInfo weekRank = 4;
  335. // 自己周获得的龙珠
  336. // optional int32 selfWeekGaindb = 5;
  337. // 自己今日获得的龙珠
  338. // optional int32 selfTodayGaindb = 6;
  339. //}
  340. //////////////////////////// 暑期活动/////////////////////////////////////////
  341. message SummerDayLotteryInfo
  342. {
  343. optional int32 itemId = 1;
  344. optional int32 itemCount = 2;
  345. }
  346. // 暑期活动转盘
  347. message packetc2l_start_Sd_Lottery
  348. {
  349. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_start_Sd_Lottery];
  350. optional int32 type = 2;
  351. optional int32 time = 3;
  352. }
  353. // 暑期活动转盘返回
  354. message packetl2c_start_Sd_Lottery_result
  355. {
  356. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_start_Sd_Lottery_result];
  357. optional int32 result = 2;
  358. optional int32 type = 3;
  359. optional int32 time = 4;
  360. repeated int32 rewardId = 5;
  361. }
  362. message packetl2c_activity_item_change
  363. {
  364. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_activity_item_change ];
  365. optional int32 itemid = 2;
  366. optional int32 itemcount = 3;
  367. }
  368. //暑期活动兑换
  369. message packetc2l_Sd_item_exchange
  370. {
  371. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_summer_item_exchange ];
  372. optional int32 exchangeId = 2;
  373. }
  374. //暑期活动兑换返回
  375. message packetl2c_Sd_item_exchange_result
  376. {
  377. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_summer_item_exchange_result ];
  378. optional int32 result = 2;
  379. optional int32 exchangeId = 3;
  380. }
  381. //////////////////////////// 国庆活动/////////////////////////////////////////
  382. // 国庆活动转盘信息获取
  383. message packetc2l_Nd_get_activity_info
  384. {
  385. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_get_activity_info];
  386. }
  387. // 国庆活动转盘信息获取返回
  388. message packetl2c_Nd_get_activity_info_result
  389. {
  390. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_get_activity_info_result];
  391. optional int32 lotteryCount = 2;
  392. repeated int32 exchangeCountList = 3;
  393. optional int32 outlay = 4;
  394. optional int32 recharge = 5;
  395. }
  396. // 国庆活动转盘
  397. message packetc2l_Nd_start_Lottery
  398. {
  399. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_start_Lottery];
  400. optional int32 time = 2;
  401. }
  402. // 国庆活动转盘返回
  403. message packetl2c_Nd_start_Lottery_result
  404. {
  405. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_start_Lottery_result];
  406. optional int32 result = 2;
  407. optional int32 time = 3;
  408. repeated int32 rewardId = 4;
  409. }
  410. //国庆活动兑换
  411. message packetc2l_Nd_item_exchange
  412. {
  413. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_item_exchange ];
  414. // 1普通 2一键
  415. optional int32 type = 2;
  416. optional int32 exchangeId = 3;
  417. }
  418. //国庆活动兑换返回
  419. message packetl2c_Nd_item_exchange_result
  420. {
  421. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_item_exchange_result ];
  422. optional int32 result = 2;
  423. repeated int32 exchangeIds = 3;
  424. }
  425. //////////////////////////// 大奖赛活动/////////////////////////////////////////
  426. // 大奖赛信息获取返回
  427. message packetl2c_get_grand_prix_info_result
  428. {
  429. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_grand_prix_info_result];
  430. optional int32 activityState = 2; // 活动状态
  431. optional int32 result = 3;
  432. optional int32 startTime = 4;
  433. optional int32 endTime = 5;
  434. }