fish_bombfairyland.proto 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. package fish_protocols;
  2. import "fish_def.proto";
  3. import "fish_type_def.proto";
  4. import "msg_type_def.proto";
  5. // 进入南海夺宝界面 判断送弹头
  6. message packetc2l_enter_southsea_treasurehunt
  7. {
  8. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt];
  9. }
  10. message packetl2c_enter_southsea_treasurehunt_result
  11. {
  12. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result];
  13. // 送铜弹头数量
  14. optional int32 sendCopperCount = 2;
  15. optional int32 result = 3;
  16. }
  17. // 得到夺宝场次信息
  18. message packetc2l_southsea_treasurehunt_get_info
  19. {
  20. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info];
  21. }
  22. message STRoomstate
  23. {
  24. optional int32 roomId = 1;
  25. // 0-在场次外 1-开始了弹头夺宝 2-开始了钻石夺宝
  26. optional int32 state = 2;
  27. }
  28. message packetl2c_southsea_treasurehunt_get_info_result
  29. {
  30. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result];
  31. repeated STRoomstate roomList = 2;
  32. }
  33. // 进入场次
  34. message packetc2l_southsea_treasurehunt_enter
  35. {
  36. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter];
  37. // 场次
  38. optional int32 roomId = 2;
  39. // 1-弹头夺宝 2-钻石夺宝
  40. optional int32 enterWay = 3;
  41. }
  42. // 进入场次结果
  43. message packetl2c_southsea_treasurehunt_enter_result
  44. {
  45. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result];
  46. optional int32 result = 2;
  47. // 场次
  48. optional int32 roomId = 3;
  49. // 1-弹头夺宝 2-钻石夺宝
  50. optional int32 enterWay = 4;
  51. }
  52. // 南海寻宝抽奖
  53. message packetc2l_southsea_treasurehunt_lottery
  54. {
  55. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery];
  56. // 场次
  57. optional int32 roomId = 2;
  58. // 1-弹头夺宝 2-钻石夺宝
  59. optional int32 enterWay = 3;
  60. }
  61. // 南海寻宝抽奖结果
  62. message packetl2c_southsea_treasurehunt_lottery_result
  63. {
  64. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result];
  65. optional int32 result = 2;
  66. optional int32 roomId = 3;
  67. optional int32 enterWay = 4;
  68. optional int32 rewardId = 5;
  69. // 奖励列表
  70. repeated msg_item rewardList = 6;
  71. }
  72. // 获取南海寻定获奖信息
  73. message packetc2l_get_southsea_treasurehunt_notice
  74. {
  75. optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice];
  76. // 初始为0, 每个roomId都会对应一个lastId
  77. optional int32 lastId = 2;
  78. optional int32 roomId = 3;
  79. }
  80. message MTreasureHuntNoticeInfo
  81. {
  82. optional string nickName = 1;
  83. optional int32 itemId = 2;
  84. optional int32 count = 3;
  85. }
  86. message packetl2c_get_southsea_treasurehunt_notice_result
  87. {
  88. optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result];
  89. optional int32 lastId = 2;
  90. repeated MTreasureHuntNoticeInfo noticeList = 3;
  91. optional int32 roomId = 4;
  92. }