fish_armedshark_palace.proto 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. package fish_protocols;
  2. import "fish_def.proto";
  3. //import "msg_type_def.proto";
  4. import "fish_type_def.proto";
  5. // 巨鲨场排行信息
  6. message ArmedSharkRankInfo
  7. {
  8. optional int32 playerId = 1;
  9. optional string nickName = 2;
  10. optional int32 rank = 3;
  11. optional int32 headid = 4;
  12. optional int32 frameid = 5;
  13. // 最高牌型积分
  14. optional int32 topScoreByCard = 6;
  15. // 单次轰炸最高积分
  16. optional int32 topScoreByBomb = 7;
  17. }
  18. // 巨鲨场今日牌型数据
  19. message ArmedSharkCardTypeInfo
  20. {
  21. optional int32 cards = 1;
  22. optional int32 cardType = 2;
  23. optional int32 basePoints = 3;
  24. optional int32 exPoints = 4;
  25. optional int32 giftPoints = 5;
  26. optional int32 topBombPoints = 6;
  27. optional int32 count = 7;
  28. }
  29. // 巨鲨场获取牌型历史
  30. message ArmedSharkCardHistory
  31. {
  32. optional string nickName = 1;
  33. optional int32 fishid = 2;
  34. optional int32 cards = 3;
  35. optional int32 cardtype = 4;
  36. optional int32 points = 5;
  37. optional int32 count = 6;
  38. }
  39. message ArmedSharkLotteryHistory
  40. {
  41. optional string nickName = 1;
  42. optional int32 keyId = 2;
  43. optional int32 gold = 3;
  44. }
  45. // 巨鲨界面信息获取
  46. message packetc2l_get_armedshark_palace_info
  47. {
  48. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_palace_info ];
  49. }
  50. // 巨鲨捕手界面信息获取结果
  51. message packetl2c_get_armedshark_palace_info_result
  52. {
  53. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_palace_info_result ];
  54. // 排行榜列表(当前周)
  55. repeated ArmedSharkRankInfo curRankList = 2;
  56. // 今日最大牌型
  57. optional ArmedSharkCardTypeInfo dailyTopCardInfo = 3;
  58. optional int32 myExcuteCount = 4;
  59. repeated int32 thresholdValue = 5;
  60. optional int32 myrank = 6;
  61. }
  62. message packetc2l_get_armedshark_getHistoryList
  63. {
  64. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_getHistoryList ];
  65. // 1牌型 2抽奖
  66. optional int32 type = 2;
  67. }
  68. message packetl2c_get_armedshark_getHistoryList_result
  69. {
  70. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_getHistoryList_result ];
  71. // 1牌型 2抽奖
  72. optional int32 type = 2;
  73. // 获取牌型列表
  74. repeated ArmedSharkCardHistory getCardHistoryList = 3;
  75. // 抽奖历史纪录
  76. repeated ArmedSharkLotteryHistory lotteryHistory = 4;
  77. }
  78. //召唤轰炸机
  79. message packetc2l_armedshark_palace_call_bomb_aircraft
  80. {
  81. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_call_bomb_aircraft ];
  82. // 召唤方式 0能量召唤 1金币召唤
  83. optional int32 callType = 2;
  84. // 轰炸机类型 0普通轰炸金 1黄金轰炸机
  85. optional int32 bombType = 3;
  86. repeated int32 fishid = 4;
  87. }
  88. //召唤轰炸机结果
  89. message packetl2c_armedshark_palace_call_bomb_aircraft_result
  90. {
  91. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_call_bomb_aircraft_result ];
  92. optional int32 result = 2;
  93. optional int32 callType = 3;
  94. optional int32 bombType = 4;
  95. optional int32 playerId = 5;
  96. repeated int32 fishIds = 6;
  97. optional int32 points = 7;
  98. optional int32 giftpoints = 8;
  99. optional int32 score = 9;
  100. }
  101. //斩立决
  102. message packetc2l_armedshark_palace_execute
  103. {
  104. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_execute ];
  105. }
  106. //斩立决结果
  107. message packetl2c_armedshark_palace_execute_result
  108. {
  109. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_execute_result ];
  110. optional int32 result = 2;
  111. optional int32 playerId = 3;
  112. repeated int32 fishIds = 4;
  113. optional int32 score = 5;
  114. }
  115. // 抽奖
  116. message packetc2l_armedshark_palace_lottery
  117. {
  118. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_lottery ];
  119. optional int32 keyId = 2;
  120. }
  121. // 抽奖结果
  122. message packetl2c_armedshark_palace_lottery_result
  123. {
  124. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_lottery_result ];
  125. // 兑换结果
  126. optional int32 result = 2;
  127. optional int32 keyId = 3;
  128. optional int32 gold = 4;
  129. optional int32 curJackpot = 5;
  130. }