client2world_daily_box_lottery.proto 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. import "client2world_msg_type.proto";
  2. import "msg_type_def.proto";
  3. import "msg_info_def.proto";
  4. package client2world_protocols;
  5. // 请求宝箱抽奖
  6. // message packetc2w_req_lottery_box
  7. // {
  8. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_lottery_box];
  9. // // box所在索引,从0开始
  10. // optional int32 boxIndex = 2;
  11. // // 是否使用礼券, true使用礼券抽奖
  12. // optional bool useTicket = 3;
  13. // }
  14. // // 请求宝箱抽奖结果
  15. // message packetw2c_req_lottery_box_result
  16. // {
  17. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_lottery_box_result];
  18. // // 结果
  19. // optional int32 result = 2;
  20. // optional bool useTicket = 3;
  21. // // 奖励类型 (BoxLotteryResult枚举)
  22. // optional int32 rewardType = 4;
  23. // }
  24. // // 谢谢参与兑换礼券
  25. // message packetc2w_thankyou_exchange_ticket
  26. // {
  27. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_thankyou_exchange_ticket];
  28. // }
  29. // // 谢谢参与兑换礼券结果
  30. // message packetw2c_thankyou_exchange_ticket_result
  31. // {
  32. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_thankyou_exchange_ticket_result];
  33. // // 结果
  34. // optional int32 result = 2;
  35. // }
  36. ////////////////////////////////////////////////////////////////////////////
  37. // 请求签到
  38. message packetc2w_req_sign
  39. {
  40. optional e_server_msg_type packet_id = 1 [ default = e_mst_c2w_req_sign ];
  41. // 双倍
  42. optional bool double = 2;
  43. }
  44. // 请求签到结果
  45. message packetw2c_req_sign_result
  46. {
  47. optional e_server_msg_type packet_id = 1 [ default = e_mst_w2c_req_sign_result ];
  48. optional bool double = 2;
  49. // 结果
  50. optional int32 result = 3;
  51. repeated msg_info_def.ItemInfo itemList = 4;
  52. }
  53. // 请求签到信息
  54. message packetc2w_req_sign_info
  55. {
  56. optional e_server_msg_type packet_id = 1 [ default = e_mst_c2w_req_sign_info ];
  57. // 1 月签到 2 七日签到
  58. optional int32 signtype = 2;
  59. }
  60. // 请求签到信息结果
  61. message packetw2c_req_sign_info_result
  62. {
  63. optional e_server_msg_type packet_id = 1 [ default = e_mst_w2c_req_sign_info_result ];
  64. // 1 月签到 2 七日签到 3 深渊捕鱼王签到
  65. optional int32 signtype = 2;
  66. // 月签到
  67. // 签到次数(15)
  68. optional int32 signCount = 3;
  69. // 连续签到次数(7)
  70. optional int32 keepSignCount = 4;
  71. optional bool signUpLevel = 5;
  72. // 今日是否可签到
  73. optional bool canSign = 6;
  74. // 七日签到
  75. optional int32 hasSignCount = 7;
  76. optional bool sevenDayCanSign = 8;
  77. }
  78. // 请求签到
  79. message packetc2w_req_recv_sevenday_reward
  80. {
  81. optional e_server_msg_type packet_id = 1 [ default = e_mst_c2w_req_recv_sevenday_reward ];
  82. optional int32 day = 2;
  83. }
  84. // 请求签到返回
  85. message packetc2w_req_recv_sevenday_reward_result
  86. {
  87. optional e_server_msg_type packet_id = 1 [ default = e_mst_w2c_req_recv_sevenday_reward_result ];
  88. optional int32 day = 2;
  89. // 结果
  90. optional int32 result = 3;
  91. repeated msg_info_def.ItemInfo itemList = 4;
  92. }