client2world_player_property.proto 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  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_update_playerhead
  7. //{
  8. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_playerhead];
  9. // optional int32 headID = 2;
  10. //}
  11. //// 修改头像结果
  12. //message packetw2c_update_playerhead_result
  13. //{
  14. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_playerhead_result];
  15. // optional int32 headID = 2;
  16. // optional int32 result = 3;
  17. //}
  18. // 修改昵称
  19. message packetc2w_update_nickname
  20. {
  21. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_nickname];
  22. optional string nickName = 2;
  23. }
  24. // 修改昵称结果
  25. message packetw2c_update_nickname_result
  26. {
  27. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_nickname_result];
  28. optional string nickName = 2;
  29. optional int32 result = 3;
  30. }
  31. //// 改变相框
  32. //message packetc2w_change_photo_frame
  33. //{
  34. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_photo_frame];
  35. // optional int32 photoFrameId = 2;
  36. //}
  37. //// 改变相框结果
  38. //message packetw2c_change_photo_frame_result
  39. //{
  40. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_photo_frame_result];
  41. // optional int32 photoFrameId = 2;
  42. // optional int32 result = 3;
  43. //}
  44. // 修改性别
  45. // message packetc2w_update_sex
  46. // {
  47. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_sex];
  48. // optional int32 sex = 2;
  49. // }
  50. // 修改性别结果
  51. // message packetw2c_update_sex_result
  52. // {
  53. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_sex_result];
  54. // optional int32 sex = 2;
  55. // optional int32 result = 3;
  56. // }
  57. // 修改签名
  58. // message packetc2w_update_signature
  59. // {
  60. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_signature];
  61. // optional string signature = 2;
  62. // }
  63. // 修改签名结果
  64. // message packetw2c_update_signature_result
  65. // {
  66. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_signature_result];
  67. // optional string signature = 2;
  68. // optional int32 result = 3;
  69. // }
  70. //炮台升级(道具)
  71. // message packetc2w_turret_levelup {
  72. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_levelup];
  73. // optional bool uselucky = 2 [default = false]; //使用幸运
  74. // }
  75. // message packetw2c_turret_levelup_result {
  76. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_levelup_result];
  77. // optional msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  78. // optional bool uselucky = 3; //使用幸运
  79. // optional int32 cur_lv = 4 [default = 0];
  80. // }
  81. // 获取战绩统计
  82. // message packetc2w_req_game_stat
  83. // {
  84. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_game_stat];
  85. // // 游戏ID
  86. // optional int32 gameId = 2;
  87. // }
  88. // // 捕鱼的战绩统计结果
  89. // message packetw2c_fishlord_stat_result
  90. // {
  91. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishlord_stat_result];
  92. // // 单场获得最大金币数
  93. // optional int32 maxCoin = 2;
  94. // // 单场获得最大礼券数
  95. // optional int32 maxTicket = 3;
  96. // // 累计击中黑龙
  97. // optional int32 hitBlackDagonCount = 4;
  98. // // 累计击中蓝龙
  99. // optional int32 hitBlueDagonCount = 5;
  100. // // 累计击中金龙炸弹
  101. // optional int32 hitGoldDagonBombCount = 6;
  102. // }
  103. // 骰宝的战绩统计结果
  104. // message packetw2c_dice_stat_result
  105. // {
  106. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_dice_stat_result];
  107. // // 单局获得最大金币数
  108. // optional int32 maxCoin = 2;
  109. // // 单局获得最大礼券数
  110. // optional int32 maxTicket = 3;
  111. // // 累计押中豹子次数
  112. // optional int32 hitLeopardCount = 4;
  113. // // 最大连续押中次数
  114. // optional int32 maxSuccessionCount = 5;
  115. // }
  116. // 鳄鱼的战绩统计结果
  117. // message packetw2c_crocodile_stat_result
  118. // {
  119. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_crocodile_stat_result];
  120. // // 单场获得最大金币数
  121. // optional int32 maxCoin = 2;
  122. // // 单场获得最大礼券数
  123. // optional int32 maxTicket = 3;
  124. // // 累计押中彩金次数
  125. // optional int32 hitWinningsCount = 4;
  126. // // 累计押中射灯次数
  127. // optional int32 hitSpotlightCount = 5;
  128. // // 累计押中人人有奖次数
  129. // optional int32 hitEveryoneHasAwardCount = 6;
  130. // }
  131. // 个人记录
  132. message packetc2w_req_self_record
  133. {
  134. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_self_record];
  135. }
  136. // 个人记录结果
  137. message packetw2c_req_self_record_result
  138. {
  139. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_self_record_result];
  140. // 金币最大持有记录
  141. optional int32 maxCoin = 2;
  142. // 钻石最大持有记录
  143. optional int32 maxDiamond = 3;
  144. // 礼券最大持有记录
  145. optional int32 maxTicket = 4;
  146. }
  147. // 完成某个新手引导
  148. message packetc2w_finish_one_new_guild
  149. {
  150. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_finish_one_new_guild];
  151. optional int32 type = 2;
  152. // 已完成的新手引导步骤id
  153. optional int32 stepId = 3;
  154. }
  155. // 完成某个新手引导结果
  156. message packetw2c_finish_one_new_guild_result
  157. {
  158. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_finish_one_new_guild_result];
  159. optional int32 type = 2;
  160. // 已完成的新手引导步骤id
  161. optional int32 stepId = 3;
  162. }
  163. // 请求赠送日志
  164. // message packetc2w_req_send_gift_log
  165. // {
  166. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_send_gift_log];
  167. // // 上次请求时间,初始为0
  168. // optional int32 lastTime = 2;
  169. // }
  170. // message SendGiftLogInfo
  171. // {
  172. // // 赠送时间
  173. // optional int32 sendTime = 1;
  174. // // 好友的ID
  175. // optional int32 firendId = 2;
  176. // // 礼物ID
  177. // optional int32 giftId = 3;
  178. // // 赠送数量
  179. // optional int32 count = 4;
  180. // // 好友昵称
  181. // optional string friendNickName = 5;
  182. // optional string title = 6;
  183. // optional string content = 7;
  184. // optional string mailId = 8;
  185. // }
  186. // 请求赠送日志结果
  187. // message packetw2c_req_send_gift_log_result
  188. // {
  189. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_send_gift_log_result];
  190. // // 日志列表
  191. // repeated SendGiftLogInfo logList = 2;
  192. // // 新的时间
  193. // optional int32 lastTime = 3;
  194. // }
  195. // 举报头像
  196. // message packetc2w_inform_playerhead
  197. // {
  198. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_inform_playerhead];
  199. // // 被举报玩家ID
  200. // optional int32 informDstPlayerId = 2;
  201. // }
  202. // 举报头像结果
  203. // message packetw2c_inform_playerhead_result
  204. // {
  205. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_inform_playerhead_result];
  206. // optional int32 result = 2;
  207. // }
  208. // 兑成龙珠币
  209. //message packetc2w_changeto_dragon_ball
  210. //{
  211. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_changeto_dragon_ball];
  212. //}
  213. // 兑成龙珠币结果
  214. //message packetw2c_changeto_dragon_ball_result
  215. //{
  216. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_changeto_dragon_ball_result];
  217. // optional int32 result = 2;
  218. // 龙珠币增加数量
  219. // optional int32 addValue = 3;
  220. //}
  221. // 返回玩家在游戏内实时上下分后的余额,客户端接收
  222. // message packetw2c_realtime_score_result
  223. // {
  224. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_realtime_score_result];
  225. // // 余额
  226. // optional int32 goldRemain = 2;
  227. // // 上下分结果
  228. // optional int32 result = 3;
  229. // // 0上分操作 1下分操作
  230. // optional int32 op = 4;
  231. // }
  232. // 请求最近充值列表
  233. message packetc2w_req_last_rechargelist
  234. {
  235. optional e_server_msg_type packet_id = 1 [ default = e_mst_c2w_req_last_rechargelist ];
  236. }
  237. // 请求最近充值列表结果
  238. message packetw2c_req_last_rechargelist_result
  239. {
  240. optional e_server_msg_type packet_id = 1 [ default = e_mst_w2c_req_last_rechargelist_result ];
  241. repeated int32 goldPayIdList = 2;
  242. repeated int32 gemPayIdList = 3;
  243. }