client2world_activity2.proto 84 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784
  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_scratch_ticket_info
  7. // {
  8. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_scratch_ticket_info];
  9. // }
  10. // // 场次的抽奖信息
  11. // message ChangCiLotteryInfo
  12. // {
  13. // // 场次id
  14. // optional int32 changCiId = 1;
  15. // // 己进行的免费抽奖次数
  16. // optional int32 freeLotteryCount = 2;
  17. // // 己进行的非免费抽奖次数
  18. // optional int32 notFreeLotteryCount = 3;
  19. // }
  20. // message CurLotteryInfo
  21. // {
  22. // optional int32 clientIndex = 1;
  23. // optional int32 itemId = 2;
  24. // optional int32 count = 3;
  25. // }
  26. // // 刮刮乐活动信息结果
  27. // message packetw2c_req_scratch_ticket_info_result
  28. // {
  29. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_scratch_ticket_info_result];
  30. // // 依次存 普通场,黄金场,钻石场的抽奖信息
  31. // repeated ChangCiLotteryInfo infoList = 2;
  32. // // 当前正在进行的场次抽奖 0表示当前没有进行抽奖
  33. // optional int32 curProgressingChangCi = 3;
  34. // repeated CurLotteryInfo curLotteryList = 4;
  35. // }
  36. // // 请求抽奖
  37. // message packetc2w_req_scratch_ticket_lottery
  38. // {
  39. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_scratch_ticket_lottery];
  40. // // 场次id 1-普通场 2-黄金场 3-钻石场
  41. // optional int32 changCiId = 2;
  42. // }
  43. // message ScratchLotteryResult
  44. // {
  45. // // 对应M_ActivityScratchTicketCFG ID字段
  46. // optional int32 id = 1;
  47. // // 奖励道具id, 与M_ItemCFG ID对应
  48. // optional int32 itemId = 2;
  49. // // 抽到的奖励数量
  50. // optional int32 count = 3;
  51. // }
  52. // message packetw2c_req_scratch_ticket_lottery_result
  53. // {
  54. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_scratch_ticket_lottery_result];
  55. // optional int32 result = 2;
  56. // // 场次id
  57. // optional int32 changCiId = 3;
  58. // // 消耗货币类型 -1表示免费抽奖,1-金币 2-钻石
  59. // optional int32 costMoneyType = 4;
  60. // // 消耗货币数量
  61. // optional int32 costMoneyCount = 5;
  62. // // 抽奖结果列表
  63. // //repeated ScratchLotteryResult rewardList = 6;
  64. // }
  65. // // 刮一次
  66. // message packetc2w_req_scratch_one_grid
  67. // {
  68. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_scratch_one_grid];
  69. // // 格子索引, 1-12
  70. // optional int32 clientIndex = 2;
  71. // }
  72. // // 刮一次结果
  73. // message packetw2c_req_scratch_one_grid_result
  74. // {
  75. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_scratch_one_grid_result];
  76. // optional int32 clientIndex = 2;
  77. // // 抽到的奖励
  78. // optional ScratchLotteryResult reward = 3;
  79. // optional int32 result = 4;
  80. // }
  81. // // 请求刮刮乐抽奖通知消息,客户端每 3-5秒 请求一次最新的公告消息
  82. // message packetc2w_req_scratch_notify_msg
  83. // {
  84. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_scratch_notify_msg];
  85. // // 场次id
  86. // optional int32 changCiId = 2;
  87. // // 上次保存的最新时间点,初始传0
  88. // optional int32 time = 3;
  89. // }
  90. // message ScratchNotifyMsg
  91. // {
  92. // optional string nickName = 1;
  93. // optional int32 itemId = 2;
  94. // optional int32 itemCount = 3;
  95. // }
  96. // // 请求刮刮乐抽奖通知消息结果
  97. // message packetw2c_req_scratch_notify_msg_result
  98. // {
  99. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_scratch_notify_msg_result];
  100. // repeated ScratchNotifyMsg msgList = 2;
  101. // // 新的时间点,客户端需要保存
  102. // optional int32 newTime = 3;
  103. // // 场次id
  104. // optional int32 changCiId = 4;
  105. // }
  106. // ////////////////////////////新春冒险活动/////////////////////////////////////////
  107. // message packetc2w_req_adventure_info
  108. // {
  109. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_adventure_info];
  110. // }
  111. // message packetw2c_req_adventure_info_result
  112. // {
  113. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_adventure_info_result];
  114. // // 当前进行的是第几关 0表示还没有开始冒险
  115. // optional int32 curLevel = 2;
  116. // // 玩家所处状态 0正常 1中弹
  117. // optional int32 state = 3;
  118. // // 已免费游戏次数
  119. // optional int32 freeGameCount = 4;
  120. // // 已使用免费金牌个数
  121. // optional int32 usenNotDieCount = 5;
  122. // }
  123. // // 开始冒险
  124. // message packetc2w_start_adventure
  125. // {
  126. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_start_adventure];
  127. // }
  128. // message packetw2c_start_adventure_result
  129. // {
  130. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_start_adventure_result];
  131. // // 操作结果
  132. // optional int32 result = 2;
  133. // // 消耗货币 -1表示免费
  134. // optional int32 costMoneyType = 3;
  135. // // 消耗数量
  136. // optional int32 costMoneyCount = 4;
  137. // }
  138. // // 抽一次奖
  139. // message packetc2w_adventure_lottery
  140. // {
  141. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_adventure_lottery];
  142. // }
  143. // message packetw2c_adventure_lottery_result
  144. // {
  145. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_adventure_lottery_result];
  146. // // 操作结果
  147. // optional int32 result = 2;
  148. // // 结果奖励id
  149. // optional int32 rewardId = 3;
  150. // // 可否使用免死金牌
  151. // optional int32 canUseNotDieCard = 4;
  152. // // 下一关id
  153. // optional int32 nextLevel = 5;
  154. // }
  155. // // 使用免死金牌
  156. // message packetc2w_use_notdie_card
  157. // {
  158. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_use_notdie_card];
  159. // // 1 使用 2 放弃使用,回到初始状态
  160. // optional int32 opSelect = 2;
  161. // }
  162. // message packetw2c_use_notdie_card_result
  163. // {
  164. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_use_notdie_card_result];
  165. // // 操作结果
  166. // optional int32 result = 2;
  167. // // 1 使用 2 放弃使用,回到初始
  168. // optional int32 opSelect = 3;
  169. // // 下一关id 0表示初始状态
  170. // optional int32 nextLevel = 5;
  171. // }
  172. ////////////////////////////新春礼包/////////////////////////////////////////
  173. // 新春礼包信息
  174. // message packetc2w_req_ny_gift_info
  175. // {
  176. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_ny_gift_info];
  177. // }
  178. // message NYGiftInfo
  179. // {
  180. // optional int32 payId = 1;
  181. // // 已购买次数
  182. // optional int32 buyCount = 2;
  183. // }
  184. // message packetw2c_req_ny_gift_info_result
  185. // {
  186. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_ny_gift_info_result];
  187. // repeated NYGiftInfo infoList = 2;
  188. // }
  189. // ////////////////////////////新春累计充值/////////////////////////////////////////
  190. // message packetc2w_req_ny_accrecharge_info
  191. // {
  192. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_ny_accrecharge_info];
  193. // }
  194. // message packetw2c_req_ny_accrecharge_info_result
  195. // {
  196. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_ny_accrecharge_info_result];
  197. // // 已经领取的奖励id列表
  198. // repeated int32 hasRecvIds = 2;
  199. // // 累计充值金额
  200. // optional int32 accRecharge = 3;
  201. // }
  202. // // 领取奖励
  203. // message packetc2w_recv_ny_accrecharge_reward
  204. // {
  205. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_ny_accrecharge_reward];
  206. // optional int32 rewardId = 2;
  207. // }
  208. // message packetw2c_recv_ny_accrecharge_reward_result
  209. // {
  210. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_ny_accrecharge_reward_result];
  211. // optional int32 result = 2;
  212. // optional int32 rewardId = 3;
  213. // }
  214. // ////////////////////////////五一充值满一定金额,获得抽奖机会/////////////////////////////////////////
  215. // message packetc2w_req_wuyi_recharge_info
  216. // {
  217. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_wuyi_recharge_info];
  218. // }
  219. // message packetw2c_req_wuyi_recharge_info_result
  220. // {
  221. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_wuyi_recharge_info_result];
  222. // // 当前充值金额
  223. // optional int32 curRecharge = 2;
  224. // }
  225. // // 请求五一活动抽奖
  226. // message packetc2w_req_wuyi_lottery
  227. // {
  228. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_wuyi_lottery];
  229. // // 1-抽一次 10--10连抽
  230. // optional int32 lotteryCount = 2;
  231. // }
  232. // // 请求五一活动抽奖结果
  233. // message packetw2c_req_wuyi_lottery_result
  234. // {
  235. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_wuyi_lottery_result];
  236. // optional int32 result = 2;
  237. // repeated int32 rewardId = 3;
  238. // }
  239. ////////////////////////////世界杯竞猜/////////////////////////////////////////
  240. // 请求投注
  241. // message packetc2w_worldcup_req_bet
  242. // {
  243. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_req_bet ];
  244. // // 比赛ID
  245. // optional int32 matchId = 2;
  246. // // 投注区域 0-主场胜 1-客场胜 2-平局
  247. // optional int32 betArea = 3;
  248. // // 投注金额
  249. // optional int32 betGold = 4;
  250. // }
  251. // // 请求投注结果
  252. // message packetw2c_worldcup_req_bet_result
  253. // {
  254. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_req_bet_result];
  255. // // 结果
  256. // optional int32 result = 2;
  257. // // 比赛ID
  258. // optional int32 matchId = 3;
  259. // // 投注区域 0-主场胜 1-客场胜 2-平局
  260. // optional int32 betArea = 4;
  261. // // 投注金额
  262. // optional int32 betGold = 5;
  263. // }
  264. // // 投注信息界面
  265. // message packetc2w_worldcup_req_bet_info
  266. // {
  267. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_req_bet_info ];
  268. // }
  269. // message BetInfo
  270. // {
  271. // // 竞猜截止时间
  272. // optional int32 guessEndTime = 1;
  273. // // 主场队伍ID
  274. // optional int32 homeTeamId = 2;
  275. // // 客场队伍ID
  276. // optional int32 visitTeamId = 3;
  277. // // 组别,如世界杯A组, 客户端读 M_WorldCupGroup
  278. // optional int32 matchName = 4;
  279. // // 比赛类型 0-小组赛 1-决赛
  280. // optional int32 matchType = 5;
  281. // // 比赛开始时间
  282. // optional int32 matchStartTime = 6;
  283. // // 客户端 / 10 得到赔率
  284. // // 主场赔率
  285. // optional int32 homeOdds = 7;
  286. // // 客场赔率
  287. // optional int32 visitOdds = 8;
  288. // // 平局赔率
  289. // optional int32 drawOdds = 9;
  290. // // 主场总下注
  291. // optional string homeBet = 10;
  292. // // 客场总下注
  293. // optional string visitBet = 11;
  294. // // 平局总下注
  295. // optional string drawBet = 12;
  296. // // 我的投注
  297. // optional int32 selfHomeBet = 13;
  298. // optional int32 selfVisitBet = 14;
  299. // optional int32 selfDrawBet = 15;
  300. // // 下注上限
  301. // optional int32 betMaxCount = 16;
  302. // // 比赛id
  303. // optional int32 matchId = 18;
  304. // }
  305. // // 投注界面结果
  306. // message packetw2c_worldcup_req_bet_info_result
  307. // {
  308. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_req_bet_info_result ];
  309. // repeated BetInfo betInfoList = 2;
  310. // }
  311. // // 投注信息刷新界面,界面处于打开状态时,每1分钟请求一次数据
  312. // message packetc2w_worldcup_req_refresh_bet_info
  313. // {
  314. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_req_refresh_bet_info ];
  315. // optional int32 matchId = 2;
  316. // }
  317. // // 投注信息刷新界面,界面处于打开状态时,每1分钟请求一次数据
  318. // message packetw2c_worldcup_req_refresh_bet_info_result
  319. // {
  320. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_req_refresh_bet_info_result ];
  321. // optional int32 matchId = 2;
  322. // // 客户端 / 10 得到赔率
  323. // // 主场赔率
  324. // optional int32 homeOdds = 3;
  325. // // 客场赔率
  326. // optional int32 visitOdds = 4;
  327. // // 平局赔率
  328. // optional int32 drawOdds = 5;
  329. // // 主场总下注
  330. // optional string homeBet = 6;
  331. // // 客场总下注
  332. // optional string visitBet = 7;
  333. // // 平局总下注
  334. // optional string drawBet = 8;
  335. // }
  336. // // 查看赛程
  337. // message packetc2w_worldcup_view_match
  338. // {
  339. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_view_match];
  340. // // 返回 赛程 Id > afterId的所有赛程
  341. // optional int32 afterId = 2;
  342. // }
  343. // message MatchResult
  344. // {
  345. // // 主场队伍ID
  346. // optional int32 homeTeamId = 1;
  347. // // 客场队伍ID
  348. // optional int32 visitTeamId = 2;
  349. // // 比赛结果 0-主场胜 1-客场胜 2-平局 3-比赛结果未定
  350. // optional int32 matchResult = 3;
  351. // // 比赛id
  352. // optional int32 matchId = 4;
  353. // }
  354. // message packetw2c_worldcup_view_match_result
  355. // {
  356. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_view_match_result ];
  357. // repeated MatchResult resultList = 2;
  358. // }
  359. // // 请求历史信息
  360. // message packetc2w_worldcup_req_history_info
  361. // {
  362. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_req_history_info ];
  363. // // 比赛id
  364. // optional int32 matchId = 2;
  365. // }
  366. // message HistoryBetInfo
  367. // {
  368. // // 总投注
  369. // optional string totalBet = 1;
  370. // // 我的竞猜
  371. // optional int32 selfGuess = 2;
  372. // // 获得金币
  373. // optional int32 winGold = 3;
  374. // // 赔率。客户端 / 10得到赔率
  375. // optional int32 odds = 4;
  376. // }
  377. // // 请求历史信息结果
  378. // message packetw2c_worldcup_req_history_info_result
  379. // {
  380. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_req_history_info_result];
  381. // // 比赛id
  382. // optional int32 matchId = 2;
  383. // // 索引 0-主场投注信息 1-客场投注信息 2-平局投注信息。列表可能有3项,也可能有2项。
  384. // repeated HistoryBetInfo historyList = 3;
  385. // }
  386. //////////////////////////// 活动幸运宝箱 /////////////////////////////////////////
  387. // 免费领取宝箱奖励
  388. // message packetc2w_free_recv_box_reward
  389. // {
  390. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_recv_box_reward ];
  391. // }
  392. // // 领取宝箱奖励结果。免费领取,通过充值领取,都会通过这个协议返回
  393. // message packetw2c_recv_box_reward_result
  394. // {
  395. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_box_reward_result ];
  396. // // 宝箱ID
  397. // optional int32 boxId = 2;
  398. // // 奖励索引列表
  399. // repeated int32 rewardIndexList = 3;
  400. // // 领取结果
  401. // optional int32 result = 4;
  402. // }
  403. // // 免费领取宝箱信息
  404. // message packetc2w_get_free_recv_info
  405. // {
  406. // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_free_recv_info ];
  407. // }
  408. // // 免费领取宝箱信息结果。
  409. // message packetw2c_get_free_recv_info_result
  410. // {
  411. // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_free_recv_info_result ];
  412. // // 距离开始免费领取的剩余时间, 0表示已开始
  413. // optional int32 remainTime = 2;
  414. // // 是否已领取过
  415. // optional bool isRecv = 3;
  416. // // 剩余个数
  417. // optional int32 remainCount = 4;
  418. // }
  419. //////////////////////////// 活动任务通知 /////////////////////////////////////////
  420. message packetw2c_activity_quest_notify
  421. {
  422. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_activity_quest_notify ];
  423. optional int32 activityId = 2;
  424. optional int32 type = 3;
  425. optional int32 id = 4;
  426. optional int32 count = 5;
  427. //optional int32 day = 6;
  428. optional int32 param = 6;
  429. optional int32 endtime = 7;
  430. }
  431. //////////////////////////// 元旦活动 /////////////////////////////////////////
  432. //同步元旦活动信息
  433. message packetw2c_syn_new_year_info
  434. {
  435. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_new_year_info ];
  436. optional int32 activityState = 2; // 活动状态 190721
  437. optional int32 startTime = 3;
  438. optional int32 endTime = 4;
  439. repeated int32 signList = 5; // 签到信息
  440. }
  441. //元旦签到 15天
  442. message packetc2w_recv_new_year_login_reward
  443. {
  444. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_new_year_login_reward ];
  445. optional int32 signIndex = 2;
  446. }
  447. //元旦签到返回
  448. message packetw2c_recv_new_year_login_reward_result
  449. {
  450. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_new_year_login_reward_result ];
  451. optional int32 signIndex = 2;
  452. optional int32 result = 3;
  453. }
  454. //////////////////////////// 国庆活动 [弃用] /////////////////////////////////////////
  455. //同步国庆活动信息
  456. message packetw2c_syn_national_day_info
  457. {
  458. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_national_day_info ];
  459. optional int32 activityState = 2; // 活动状态 190721
  460. optional int32 startTime = 3;
  461. optional int32 endTime = 4;
  462. repeated int32 signList = 5; // 签到信息
  463. optional int32 questBranch = 6; // 任务支线
  464. repeated msg_info_def.msg_quest_info questList = 7; // 任务列表
  465. repeated int32 rewardRecvList = 8; // 奖励已领取的列表
  466. }
  467. message packetw2c_national_day_quest_notify
  468. {
  469. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_quest_notify ];
  470. optional int32 type = 2;
  471. optional int32 id = 3;
  472. optional int32 count = 4;
  473. optional int32 endtime = 5;
  474. }
  475. //国庆签到 15天
  476. message packetc2w_recv_national_day_login_reward
  477. {
  478. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_login_reward ];
  479. optional int32 signIndex = 2;
  480. }
  481. //国庆签到返回
  482. message packetw2c_recv_national_day_login_reward_result
  483. {
  484. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_login_reward_result ];
  485. optional int32 signIndex = 2;
  486. optional int32 result = 3;
  487. }
  488. //领取国庆任务
  489. message packetc2w_recv_national_day_quest_award
  490. {
  491. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_quest_award ];
  492. optional int32 questId = 2;
  493. }
  494. //领取国庆任务返回
  495. message packetw2c_recv_national_day_quest_award_result
  496. {
  497. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_quest_award_result ];
  498. optional int32 result = 2;
  499. optional int32 questId = 3;
  500. optional int32 branch = 4;
  501. optional int32 nextTaskId = 5;
  502. repeated msg_info_def.ItemInfo items = 6;
  503. }
  504. //国庆选择任务分支
  505. message packetc2w_national_day_choose_task
  506. {
  507. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_national_day_choose_task ];
  508. optional int32 branch = 2;
  509. }
  510. //国庆选择任务分支返回
  511. message packetw2c_national_day_choose_task_result
  512. {
  513. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_choose_task_result ];
  514. optional int32 result = 2;
  515. optional int32 branch = 3;
  516. optional int32 nextTaskId = 4;
  517. }
  518. //////////////////////////// 春节活动 /////////////////////////////////////////
  519. //同步元旦活动信息
  520. message packetw2c_syn_spring_day_info
  521. {
  522. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_spring_day_info ];
  523. optional int32 activityState = 2; // 活动状态
  524. optional int32 startTime = 3;
  525. optional int32 endTime = 4;
  526. repeated int32 signList = 5; // 签到信息
  527. }
  528. //元旦签到 15天
  529. message packetc2w_recv_spring_day_login_reward
  530. {
  531. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_spring_day_login_reward ];
  532. optional int32 signIndex = 2;
  533. }
  534. //元旦签到返回
  535. message packetw2c_recv_spring_day_login_reward_result
  536. {
  537. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_spring_day_login_reward_result ];
  538. optional int32 signIndex = 2;
  539. optional int32 result = 3;
  540. }
  541. //////////////////////////// 猎鱼活动 /////////////////////////////////////////
  542. //同步猎鱼活动信息
  543. message packetw2c_syn_hunt_fish_info
  544. {
  545. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_hunt_fish_info ];
  546. optional int32 activityState = 2; // 活动状态
  547. optional int32 startTime = 3;
  548. optional int32 endTime = 4;
  549. }
  550. //同步猎鱼活动任务
  551. message packetc2w_get_hunt_fish_quest
  552. {
  553. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_hunt_fish_quest];
  554. }
  555. //同步猎鱼活动任务返回
  556. message packetw2c_get_hunt_fish_quest_result
  557. {
  558. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_hunt_fish_quest_result];
  559. repeated msg_info_def.msg_quest_info questList = 2;
  560. }
  561. //领取猎鱼任务
  562. message packetc2w_recv_hunt_fish_quest_award
  563. {
  564. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_hunt_fish_quest_award ];
  565. optional int32 questId = 2;
  566. }
  567. //领取猎鱼任务返回
  568. message packetw2c_recv_hunt_fish_quest_award_result
  569. {
  570. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_hunt_fish_quest_award_result ];
  571. optional int32 result = 2;
  572. optional int32 questId = 3;
  573. repeated msg_info_def.ItemInfo items = 6;
  574. }
  575. //////////////////////////// 累充活动 /////////////////////////////////////////
  576. //同步猎鱼活动信息
  577. message packetw2c_syn_recharge_activity_info
  578. {
  579. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_recharge_activity_info ];
  580. optional int32 activityState = 2; // 活动状态
  581. optional int32 startTime = 3;
  582. optional int32 endTime = 4;
  583. optional int32 totalRecharge = 5; // 活动累充
  584. repeated int32 rewardRecvList = 6; // 奖励已领取的列表
  585. }
  586. //领取充值返利
  587. message packetc2w_recharge_activity_rebate
  588. {
  589. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recharge_activity_rebate ];
  590. optional int32 rewardId = 2;
  591. }
  592. //领取充值返利返回
  593. message packetw2c_recharge_activity_rebate_result
  594. {
  595. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recharge_activity_rebate_result ];
  596. optional int32 result = 2;
  597. optional int32 rewardId = 3;
  598. }
  599. //////////////////////////// 五一活动 [弃用] /////////////////////////////////////////
  600. //同步五一活动信息
  601. message packetw2c_syn_wuyi_vacation_info
  602. {
  603. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wuyi_vacation_info ];
  604. optional int32 startTime = 2;
  605. optional int32 endTime = 3;
  606. optional int32 signCount = 4; // 签到天数
  607. optional bool canSign = 5; // 可签到
  608. repeated msg_info_def.msg_quest_info questList = 6; // 任务列表
  609. repeated msg_info_def.msg_quest_info haiShenList = 7; // 海神任务列表
  610. repeated bool handbooksAwardStat = 8; // 图鉴集齐奖励状态
  611. repeated int32 handbooksStat = 9; // 图鉴状态 0未拥有 1已拥有未领取金币 2拥有已领取
  612. optional int32 paddyCount = 10; // 稻谷数量
  613. }
  614. //五一签到
  615. message packetc2w_recv_wuyi_login_reward
  616. {
  617. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_login_reward ];
  618. optional int32 signIndex = 2;
  619. }
  620. //五一签到返回
  621. message packetw2c_recv_wuyi_login_reward_result
  622. {
  623. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_login_reward_result ];
  624. optional int32 signIndex = 2;
  625. optional int32 result = 3;
  626. repeated int32 exHandbooksId = 4; //额外获取图鉴
  627. }
  628. //领取五一任务 1普通任务 2海神令任务 3海神令一键领取
  629. message packetc2w_recv_wuyi_quest_award
  630. {
  631. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_quest_award ];
  632. optional int32 type = 2;
  633. optional int32 questId = 3;
  634. optional int32 receiveBit = 4;
  635. }
  636. //领取五一任务返回
  637. message packetw2c_recv_wuyi_quest_award_result
  638. {
  639. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_quest_award_result ];
  640. optional int32 result = 2;
  641. optional int32 type = 3;
  642. optional int32 questId = 4;
  643. optional int32 receiveBit = 5;
  644. repeated msg_info_def.ItemInfo items = 6;
  645. }
  646. //领取五一图鉴金币奖励
  647. message packetc2w_recv_wuyi_handbooks_gold
  648. {
  649. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_gold ];
  650. optional int32 handbooksId = 2;
  651. }
  652. //领取五一图鉴金币奖励返回
  653. message packetw2c_recv_wuyi_handbooks_gold_result
  654. {
  655. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_gold_result ];
  656. optional int32 handbooksId = 2;
  657. optional int32 result = 3;
  658. }
  659. //领取五一图鉴任务奖励
  660. message packetc2w_recv_wuyi_handbooks_award
  661. {
  662. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_award ];
  663. optional int32 type = 2;
  664. }
  665. //领取五一图鉴任务奖励
  666. message packetw2c_recv_wuyi_handbooks_award_result
  667. {
  668. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_award_result ];
  669. optional int32 result = 2;
  670. repeated int32 typelist = 3;
  671. optional int32 handbooksGold = 4;
  672. }
  673. //五一抽奖
  674. message packetc2w_wuyi_lottery
  675. {
  676. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_wuyi_lottery ];
  677. optional int32 type = 2;
  678. }
  679. //领取五一图鉴任务奖励
  680. message packetw2c_wuyi_lottery_result
  681. {
  682. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_wuyi_lottery_result ];
  683. optional int32 result = 2;
  684. optional int32 type = 3;
  685. optional int32 rewardId = 4;
  686. }
  687. //////////////////////////// 场次任务 /////////////////////////////////////////
  688. message pointRewardInfos
  689. {
  690. optional int32 id = 1;
  691. optional int32 received = 2;
  692. }
  693. message pointInfos
  694. {
  695. optional int32 roomId = 1;
  696. optional int32 count = 2;
  697. }
  698. //同步场次任务信息
  699. message packetw2c_syn_room_quest_info
  700. {
  701. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_room_quest_info ];
  702. optional int32 activityState = 2; // 活动状态
  703. optional int32 startTime = 3;
  704. optional int32 endTime = 4;
  705. repeated pointRewardInfos pointRewardinfos = 5;
  706. repeated pointInfos questPoints = 6;
  707. optional int32 sharkCardType = 7;
  708. }
  709. //同步五一活动任务
  710. message packetc2w_get_room_quest
  711. {
  712. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_room_quest];
  713. }
  714. //同步五一活动任务返回
  715. message packetw2c_get_room_quest_result
  716. {
  717. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_room_quest_result];
  718. repeated msg_info_def.msg_quest_info questList = 2;
  719. optional int32 sharkCardType = 3;
  720. }
  721. message packetc2w_recv_room_quest_award
  722. {
  723. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_award ];
  724. optional int32 questId = 2;
  725. }
  726. message packetw2c_recv_room_quest_award_result
  727. {
  728. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_award_result ];
  729. optional int32 result = 2;
  730. optional int32 questId = 3;
  731. repeated msg_info_def.ItemInfo items = 4;
  732. }
  733. message packetc2w_recv_room_quest_point_award
  734. {
  735. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_point_award ];
  736. optional int32 questId = 2;
  737. }
  738. message packetw2c_recv_room_quest_point_award_result
  739. {
  740. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_point_award_result ];
  741. optional int32 result = 2;
  742. optional int32 questId = 3;
  743. repeated msg_info_def.ItemInfo items = 4;
  744. }
  745. //////////////////////////// 捞鱼活动 /////////////////////////////////////////
  746. //同步捞鱼活动信息
  747. message packetw2c_syn_catch_fish_info
  748. {
  749. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_catch_fish_info ];
  750. optional int32 activityState = 2; // 活动状态
  751. optional int32 startTime = 3;
  752. optional int32 endTime = 4;
  753. optional int32 coinCount = 5; // 游戏币数量
  754. repeated catchFishHistory historyList = 6;
  755. }
  756. message catchFishHistory
  757. {
  758. optional int32 time = 1;
  759. optional string nickname = 2;
  760. optional int32 fishType = 3;
  761. optional int32 rate = 4;
  762. optional int32 gold = 5;
  763. }
  764. message catchFishInfo
  765. {
  766. optional int32 rate = 1;
  767. optional int32 gold = 2;
  768. }
  769. //捞鱼
  770. message packetc2w_catch_fish
  771. {
  772. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish ];
  773. optional int32 fishType = 2;
  774. optional int32 netType = 3;
  775. }
  776. //捞鱼返回
  777. message packetw2c_catch_fish_result
  778. {
  779. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_result ];
  780. optional int32 result = 2;
  781. optional int32 fishType = 3;
  782. optional int32 netType = 4;
  783. repeated catchFishInfo catchFishInfo = 5;
  784. }
  785. //捞鱼历史
  786. message packetc2w_catch_fish_history
  787. {
  788. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish_history ];
  789. }
  790. //捞鱼历史返回
  791. message packetw2c_catch_fish_history_result
  792. {
  793. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_history_result ];
  794. repeated catchFishHistory historyList = 2;
  795. }
  796. //////////////////////////// 端午活动 /////////////////////////////////////////
  797. //同步端午活动信息
  798. message packetw2c_syn_duanwu_vacation_info
  799. {
  800. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_duanwu_vacation_info ];
  801. optional int32 startTime = 2;
  802. optional int32 endTime = 3;
  803. optional int32 signCount = 4; // 签到天数
  804. optional bool canSign = 5; // 可签到
  805. optional int32 resetTimes = 6; // 图鉴奖励重置次数
  806. repeated bool handbooksAwardStat = 7; // 图鉴集齐奖励状态
  807. repeated int32 handbooksStat = 8; // 图鉴状态 0未拥有 1已拥有未领取金币 2拥有已领取
  808. optional int32 paddyCount = 9; // 稻谷数量
  809. }
  810. //同步端午活动任务
  811. message packetc2w_get_duanwu_vacation_quest
  812. {
  813. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_duanwu_vacation_quest];
  814. }
  815. //同步端午活动任务返回
  816. message packetw2c_get_duanwu_vacation_quest_result
  817. {
  818. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_duanwu_vacation_quest_result];
  819. repeated msg_info_def.msg_quest_info questList = 2;
  820. }
  821. //端午签到
  822. message packetc2w_recv_duanwu_login_reward
  823. {
  824. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_login_reward ];
  825. optional int32 signIndex = 2;
  826. }
  827. //端午签到返回
  828. message packetw2c_recv_duanwu_login_reward_result
  829. {
  830. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_login_reward_result ];
  831. optional int32 signIndex = 2;
  832. optional int32 result = 3;
  833. repeated int32 exHandbooksId = 4; //额外获取图鉴
  834. }
  835. //领取端午任务
  836. message packetc2w_recv_duanwu_quest_award
  837. {
  838. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_quest_award ];
  839. optional int32 questId = 2;
  840. optional int32 receiveBit = 3;
  841. }
  842. //领取端午任务返回
  843. message packetw2c_recv_duanwu_quest_award_result
  844. {
  845. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_quest_award_result ];
  846. optional int32 result = 2;
  847. optional int32 questId = 3;
  848. optional int32 receiveBit = 4;
  849. repeated msg_info_def.ItemInfo items = 5;
  850. }
  851. //领取端午图鉴金币奖励
  852. message packetc2w_recv_duanwu_handbooks_gold
  853. {
  854. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_gold ];
  855. optional int32 handbooksId = 2;
  856. }
  857. //领取端午图鉴金币奖励返回
  858. message packetw2c_recv_duanwu_handbooks_gold_result
  859. {
  860. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_gold_result ];
  861. optional int32 handbooksId = 2;
  862. optional int32 result = 3;
  863. }
  864. //领取五一图鉴任务奖励
  865. message packetc2w_recv_duanwu_handbooks_award
  866. {
  867. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_award ];
  868. optional int32 type = 2;
  869. }
  870. //领取端午图鉴任务奖励
  871. message packetw2c_recv_duanwu_handbooks_award_result
  872. {
  873. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_award_result ];
  874. optional int32 result = 2;
  875. repeated int32 typelist = 3;
  876. optional int32 handbooksGold = 4;
  877. }
  878. //端午抽奖
  879. message packetc2w_duanwu_lottery
  880. {
  881. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_duanwu_lottery ];
  882. optional int32 type = 2;
  883. }
  884. //领取端午图鉴任务奖励
  885. message packetw2c_duanwu_lottery_result
  886. {
  887. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_duanwu_lottery_result ];
  888. optional int32 result = 2;
  889. optional int32 type = 3;
  890. repeated int32 rewardId = 4;
  891. }
  892. //////////////////////////// 暑期活动 /////////////////////////////////////////
  893. //同步暑期活动信息
  894. message packetw2c_syn_summer_vacation_info
  895. {
  896. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_vacation_info ];
  897. optional int32 activityState = 2; // 活动状态
  898. optional int32 startTime = 3;
  899. optional int32 endTime = 4;
  900. optional int32 signCount = 5; // 签到天数
  901. optional int32 resetTimes = 6; // 图鉴奖励重置次数
  902. optional bool canSign = 7; // 可签到
  903. repeated bool handbooksAwardStat = 8; // 图鉴集齐奖励状态
  904. repeated int32 handbooksStat = 9; // 图鉴状态 0未拥有 1已拥有未领取金币 2拥有已领取
  905. optional int32 paddyCount = 10; // 稻谷数量
  906. }
  907. //同步暑期活动任务
  908. message packetc2w_get_summer_quest
  909. {
  910. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_quest];
  911. }
  912. //同步暑期活动任务返回
  913. message packetw2c_get_summer_quest_result
  914. {
  915. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_quest_result];
  916. repeated msg_info_def.msg_quest_info questList = 2;
  917. }
  918. //暑期签到
  919. message packetc2w_recv_summer_login_reward
  920. {
  921. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_login_reward ];
  922. optional int32 signIndex = 2;
  923. }
  924. //暑期签到返回
  925. message packetw2c_recv_summer_login_reward_result
  926. {
  927. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_login_reward_result ];
  928. optional int32 signIndex = 2;
  929. optional int32 result = 3;
  930. repeated int32 exHandbooksId = 4; //额外获取图鉴
  931. }
  932. //领取暑期任务
  933. message packetc2w_recv_summer_quest_award
  934. {
  935. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_quest_award ];
  936. optional int32 questId = 2;
  937. optional int32 receiveBit = 3;
  938. }
  939. //领取暑期任务返回
  940. message packetw2c_recv_summer_quest_award_result
  941. {
  942. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_quest_award_result ];
  943. optional int32 result = 2;
  944. optional int32 questId = 3;
  945. optional int32 receiveBit = 4;
  946. repeated msg_info_def.ItemInfo items = 5;
  947. }
  948. //领取暑期图鉴金币奖励
  949. message packetc2w_recv_summer_handbooks_gold
  950. {
  951. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_gold ];
  952. optional int32 handbooksId = 2;
  953. }
  954. //领取暑期图鉴金币奖励返回
  955. message packetw2c_recv_summer_handbooks_gold_result
  956. {
  957. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_gold_result ];
  958. optional int32 handbooksId = 2;
  959. optional int32 result = 3;
  960. }
  961. //领取暑期图鉴任务奖励
  962. message packetc2w_recv_summer_handbooks_award
  963. {
  964. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_award ];
  965. optional int32 type = 2;
  966. }
  967. //领取暑期图鉴任务奖励
  968. message packetw2c_recv_summer_handbooks_award_result
  969. {
  970. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_award_result ];
  971. optional int32 result = 2;
  972. repeated int32 typelist = 3;
  973. optional int32 handbooksGold = 4;
  974. }
  975. //暑期抽奖
  976. message packetc2w_summer_lottery
  977. {
  978. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_lottery ];
  979. optional int32 type = 2;
  980. }
  981. //领取暑期图鉴任务奖励
  982. message packetw2c_summer_lottery_result
  983. {
  984. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_lottery_result ];
  985. optional int32 result = 2;
  986. optional int32 type = 3;
  987. repeated int32 rewardId = 4;
  988. }
  989. //////////////////////////// 一夜暴富活动 /////////////////////////////////////////
  990. message onr_history_info
  991. {
  992. optional string name = 1;
  993. optional int32 rate = 2;
  994. }
  995. //同步一夜暴富活动信息
  996. message packetw2c_syn_one_night_rich_info
  997. {
  998. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_one_night_rich_info ];
  999. optional int32 activityState = 2; // 活动状态
  1000. optional int32 startTime = 3;
  1001. optional int32 endTime = 4;
  1002. optional int32 recharged = 5; // 充值数量
  1003. optional int32 lotteryId = 6; // 充值数量
  1004. repeated bool receiveCheck = 7;
  1005. }
  1006. //领取一夜暴富
  1007. message packetc2w_recv_one_night_rich_award
  1008. {
  1009. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_one_night_rich_award ];
  1010. optional int32 type = 2;
  1011. }
  1012. //领取一夜暴富返回
  1013. message packetw2c_recv_one_night_rich_result
  1014. {
  1015. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_one_night_rich_result ];
  1016. optional int32 result = 2;
  1017. optional int32 type = 3;
  1018. optional int32 index = 4;
  1019. }
  1020. //拉历史
  1021. message packetc2w_recv_onr_historyList
  1022. {
  1023. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_onr_historyList ];
  1024. }
  1025. //拉历史返回
  1026. message packetw2c_recv_onr_historyList_result
  1027. {
  1028. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_onr_historyList_result];
  1029. repeated onr_history_info historyList = 4;
  1030. }
  1031. //////////////////////////// 福运之星活动 /////////////////////////////////////////
  1032. //同步福运之星活动信息
  1033. message packetw2c_syn_fortune_star_info
  1034. {
  1035. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fortune_star_info ];
  1036. optional int32 activityState = 2; // 活动状态
  1037. optional int32 startTime = 3;
  1038. optional int32 endTime = 4;
  1039. optional int32 myFortuneStar = 5;
  1040. }
  1041. //同步福运之星活动任务
  1042. message packetc2w_get_fortune_star_quest
  1043. {
  1044. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fortune_star_quest];
  1045. }
  1046. //同步福运之星任务返回
  1047. message packetw2c_get_fortune_star_quest_result
  1048. {
  1049. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fortune_star_quest_result];
  1050. repeated msg_info_def.msg_quest_info questList = 2;
  1051. }
  1052. //领取福运之星任务
  1053. message packetc2w_recv_fortune_star_quest_award
  1054. {
  1055. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_quest_award ];
  1056. optional int32 questId = 2;
  1057. }
  1058. //领取福运之星任务返回
  1059. message packetw2c_recv_fortune_star_quest_award_result
  1060. {
  1061. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_quest_award_result];
  1062. optional int32 result = 2;
  1063. optional int32 questId = 3;
  1064. repeated msg_info_def.ItemInfo items = 5;
  1065. }
  1066. //福运之星兑换
  1067. message packetc2w_recv_fortune_star_award
  1068. {
  1069. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_award ];
  1070. optional int32 index = 2;
  1071. }
  1072. //福运之星兑换返回
  1073. message packetw2c_recv_fortune_star_award_result
  1074. {
  1075. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_award_result ];
  1076. optional int32 result = 2;
  1077. optional int32 index = 3;
  1078. optional int32 myFortuneStar = 4;
  1079. }
  1080. //////////////////////////// 私人订制活动 /////////////////////////////////////////
  1081. message activity_rank
  1082. {
  1083. optional string nickName = 1;
  1084. optional int32 playerId = 2;
  1085. optional int32 vip = 3;
  1086. optional int32 headid = 4;
  1087. optional int32 frameid = 5;
  1088. optional int32 score = 6;
  1089. optional int32 rank = 7;
  1090. }
  1091. message personal_tailor_lottery_history
  1092. {
  1093. optional string nickName = 1;
  1094. optional string itemName = 2;
  1095. optional int32 count = 3;
  1096. }
  1097. //同步私人订制活动信息
  1098. message packetw2c_syn_personal_tailor_info
  1099. {
  1100. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_info ];
  1101. optional int32 activityState = 2; // 活动状态
  1102. optional int32 startTime = 3;
  1103. optional int32 endTime = 4;
  1104. optional int32 exchangeTicket1 = 5; // 单连凭证
  1105. optional int32 exchangeTicket2 = 6; // 十连凭证
  1106. optional int32 points = 7; // 积分
  1107. repeated activity_rank rankList = 8;
  1108. repeated personal_tailor_lottery_history historyList = 9;
  1109. }
  1110. //私人订制排行获取
  1111. message packetc2w_get_personal_tailor_rank
  1112. {
  1113. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank ];
  1114. }
  1115. //私人订制排行获取返回
  1116. message packetw2c_get_personal_tailor_rank_result
  1117. {
  1118. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result];
  1119. repeated activity_rank rankList = 2;
  1120. optional int32 myPoints = 3;
  1121. }
  1122. //私人订制抽奖历史获取
  1123. message packetc2w_get_personal_tailor_lottry_history
  1124. {
  1125. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_lottry_history ];
  1126. }
  1127. //私人订制抽奖历史获取返回
  1128. message packetw2c_get_personal_tailor_lottry_history_result
  1129. {
  1130. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_lottry_history_result];
  1131. repeated personal_tailor_lottery_history historyList = 2;
  1132. }
  1133. //私人订制抽奖
  1134. message packetc2w_personal_tailor_lottery
  1135. {
  1136. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_lottery ];
  1137. optional int32 count = 2; //抽奖次数 1/10
  1138. }
  1139. //私人订制抽奖返回
  1140. message packetw2c_personal_tailor_lottery_result
  1141. {
  1142. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_lottery_result];
  1143. optional int32 result = 2;
  1144. optional int32 count = 3;
  1145. repeated int32 index = 4;
  1146. }
  1147. //私人订制兑换
  1148. message packetc2w_personal_tailor_exchange
  1149. {
  1150. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange ];
  1151. optional int32 index = 2;
  1152. }
  1153. //私人订制兑换返回
  1154. message packetw2c_personal_tailor_exchange_result
  1155. {
  1156. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result ];
  1157. optional int32 result = 2;
  1158. optional int32 index = 3;
  1159. }
  1160. //////////////////////////// 限时购活动 /////////////////////////////////////////
  1161. //同步限时购活动信息
  1162. message packetw2c_syn_time_limit_purchase_info
  1163. {
  1164. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_time_limit_purchase_info ];
  1165. optional int32 activityState = 2; // 活动状态
  1166. optional int32 startTime = 3;
  1167. optional int32 endTime = 4;
  1168. optional int32 itemClock = 5; // 闹钟数量
  1169. }
  1170. //限时购抽奖
  1171. message packetc2w_time_limit_purchase_lottery
  1172. {
  1173. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_time_limit_purchase_lottery ];
  1174. optional int32 count = 2; //抽奖次数 1/10
  1175. }
  1176. //限时购抽奖返回
  1177. message packetw2c_time_limit_purchase_lottery_result
  1178. {
  1179. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_time_limit_purchase_lottery_result];
  1180. optional int32 result = 2;
  1181. optional int32 count = 3;
  1182. repeated int32 index = 4;
  1183. }
  1184. //////////////////////////// 幸运福袋活动 /////////////////////////////////////////
  1185. //同步幸运福袋活动信息
  1186. message packetw2c_syn_lucky_bag_info
  1187. {
  1188. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_lucky_bag_info ];
  1189. optional int32 activityState = 2; // 活动状态
  1190. optional int32 startTime = 3;
  1191. optional int32 endTime = 4;
  1192. }
  1193. //////////////////////////// VIP限购活动 /////////////////////////////////////////
  1194. //同步限时购活动信息
  1195. message packetw2c_syn_vip_limit_purchase_info
  1196. {
  1197. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_vip_limit_purchase_info ];
  1198. optional int32 activityState = 2; // 活动状态
  1199. optional int32 startTime = 3;
  1200. optional int32 endTime = 4;
  1201. }
  1202. //////////////////////////// 炮倍抽奖活动 /////////////////////////////////////////
  1203. //同步限时购活动信息
  1204. message packetw2c_syn_turret_lottery_info
  1205. {
  1206. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_turret_lottery_info ];
  1207. optional int32 activityState = 2; // 活动状态
  1208. optional int32 startTime = 3;
  1209. optional int32 endTime = 4;
  1210. }
  1211. //抽奖
  1212. message packetc2w_turret_lottery
  1213. {
  1214. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_lottery ];
  1215. optional int32 count = 2; //抽奖次数 1/10
  1216. }
  1217. //限时购抽奖返回
  1218. message packetw2c_turret_lottery_result
  1219. {
  1220. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_lottery_result];
  1221. optional int32 result = 2;
  1222. optional int32 count = 3;
  1223. repeated int32 index = 4;
  1224. }
  1225. //////////////////////////// 砸蛋活动 /////////////////////////////////////////
  1226. //同步砸蛋活动信息
  1227. message packetw2c_syn_smashing_eggs_info
  1228. {
  1229. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_smashing_eggs_info ];
  1230. optional int32 activityState = 2; // 活动状态
  1231. optional int32 startTime = 3;
  1232. optional int32 endTime = 4;
  1233. optional int32 recharged = 5; // 充值金额
  1234. optional int32 hammer = 6; // 锤子数
  1235. optional int64 jackpot = 7; // 奖池
  1236. }
  1237. //砸蛋
  1238. message packetc2w_get_smashing_eggs_info
  1239. {
  1240. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_info ];
  1241. }
  1242. //砸蛋
  1243. message packetc2w_smashing_eggs
  1244. {
  1245. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_smashing_eggs ];
  1246. optional int32 type = 2; //1 铜 2 银 3 金
  1247. }
  1248. //砸蛋返回
  1249. message packetw2c_smashing_eggs_result
  1250. {
  1251. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_smashing_eggs_result];
  1252. optional int32 result = 2;
  1253. optional int32 type = 3; //1 铜 2 银 3 金
  1254. optional int32 index = 4;
  1255. }
  1256. //砸蛋排行
  1257. message packetc2w_get_smashing_eggs_rank
  1258. {
  1259. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank ];
  1260. }
  1261. //砸蛋排行返回
  1262. message packetw2c_get_smashing_eggs_rank_result
  1263. {
  1264. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result];
  1265. repeated activity_rank rankList = 2;
  1266. optional int32 mypoint = 3;
  1267. }
  1268. //////////////////////////// 暴富抽奖活动 /////////////////////////////////////////
  1269. //同步暴富抽奖活动信息
  1270. message packetw2c_syn_rich_lottery_info
  1271. {
  1272. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_rich_lottery_info ];
  1273. optional int32 activityState = 2; // 活动状态
  1274. optional int32 startTime = 3;
  1275. optional int32 endTime = 4;
  1276. optional int32 mult = 5; // 倍数
  1277. }
  1278. //暴富抽奖
  1279. message packetc2w_rich_lottery
  1280. {
  1281. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_rich_lottery ];
  1282. }
  1283. //暴富抽奖返回
  1284. message packetw2c_rich_lottery_result
  1285. {
  1286. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_rich_lottery_result];
  1287. optional int32 result = 2;
  1288. optional int32 mult = 3;
  1289. }
  1290. //////////////////////////// 暑期大狂欢活动 /////////////////////////////////////////
  1291. //同步暑期大狂欢活动信息
  1292. message packetw2c_syn_summer_revels_info
  1293. {
  1294. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_revels_info ];
  1295. optional int32 activityState = 2; // 活动状态
  1296. optional int32 startTime = 3;
  1297. optional int32 endTime = 4;
  1298. optional int32 points = 5;
  1299. optional int32 todayRecharged = 6;
  1300. repeated activity_rank rankList = 7;
  1301. repeated bool receiveCheck = 8;
  1302. }
  1303. //暑期大狂欢排行获取
  1304. message packetc2w_get_summer_revels_rank
  1305. {
  1306. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
  1307. }
  1308. //暑期大狂欢排行获取返回
  1309. message packetw2c_get_summer_revels_rank_result
  1310. {
  1311. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result];
  1312. repeated activity_rank rankList = 2;
  1313. optional int32 myPoints = 3;
  1314. }
  1315. //暑期大狂欢抽奖
  1316. message packetc2w_summer_revels_lottery
  1317. {
  1318. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_revels_lottery ];
  1319. optional int32 index = 2;
  1320. }
  1321. //暑期大狂欢抽奖返回
  1322. message packetw2c_summer_revels_lottery_result
  1323. {
  1324. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_revels_lottery_result];
  1325. optional int32 result = 2;
  1326. optional int32 index = 3;
  1327. repeated msg_info_def.ItemInfo items = 4;
  1328. }
  1329. //////////////////////////// 猎妖塔活动 /////////////////////////////////////////
  1330. message attackInfo
  1331. {
  1332. optional int32 weaponId = 1;
  1333. optional int32 harmValue = 2;
  1334. }
  1335. message demonTowerInfo
  1336. {
  1337. optional int32 floor = 1; //层数
  1338. optional int32 leftLife = 2; //剩余生命
  1339. optional int32 curRound = 3; //当前回合
  1340. optional int32 killCount = 4; //击杀次数
  1341. optional int32 starCount = 5; //星星数
  1342. repeated attackInfo attackHistory = 6; //攻击历史
  1343. }
  1344. message weaponInfo
  1345. {
  1346. optional int32 weaponId = 1; //武器ID
  1347. optional int32 count = 2;
  1348. }
  1349. //同步猎妖塔活动信息
  1350. message packetw2c_syn_kill_demons_info
  1351. {
  1352. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kill_demons_info ];
  1353. optional int32 activityState = 2; // 活动状态
  1354. optional int32 startTime = 3;
  1355. optional int32 endTime = 4;
  1356. optional int32 trialScore = 5; // 试炼积分
  1357. optional int32 trialScoreHistory = 6; // 试炼积分历史值
  1358. optional int32 swordEnergy = 7; // 剑气值
  1359. optional int32 smeltTimes = 8; // 熔炼次数
  1360. optional int32 huntDemonScore = 9; // 猎妖积分
  1361. repeated bool receiveTrial = 10; // 试炼值奖励领取标记
  1362. repeated bool receiveSwordEnergy = 11; // 剑气值奖励领取标记
  1363. repeated bool receiveStar = 12; // 星星值奖励领取标记
  1364. repeated demonTowerInfo towerList = 14; // 塔数据
  1365. repeated weaponInfo weaponList= 15; // 武器数据
  1366. optional int32 starCount = 16; // 星星总数
  1367. }
  1368. //领取猎妖塔任务
  1369. message packetc2w_recv_kill_demons_quest_award
  1370. {
  1371. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_kill_demons_quest_award ];
  1372. optional int32 questId = 2;
  1373. }
  1374. //领取猎妖塔任务返回
  1375. message packetw2c_recv_kill_demons_quest_award_result
  1376. {
  1377. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_kill_demons_quest_award_result ];
  1378. optional int32 result = 2;
  1379. optional int32 questId = 3;
  1380. repeated msg_info_def.ItemInfo items = 6;
  1381. }
  1382. //领取试炼奖励
  1383. message packetc2w_recv_trial_score_award
  1384. {
  1385. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_trial_score_award ];
  1386. optional int32 index = 2;
  1387. }
  1388. //领取试炼奖励返回
  1389. message packetw2c_recv_trial_score_award_result
  1390. {
  1391. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_trial_score_award_result ];
  1392. optional int32 result = 2;
  1393. optional int32 index = 3;
  1394. }
  1395. //领取星星奖励
  1396. message packetc2w_recv_star_award
  1397. {
  1398. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_star_award ];
  1399. optional int32 index = 2;
  1400. }
  1401. //领取星星返回
  1402. message packetw2c_recv_star_award_result
  1403. {
  1404. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_star_award_result];
  1405. optional int32 result = 2;
  1406. optional int32 index = 3;
  1407. }
  1408. //攻击妖怪
  1409. message packetc2w_attack_demon
  1410. {
  1411. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_attack_demon ];
  1412. optional int32 floor = 2; // 层数
  1413. optional bool isHangUp = 3; // 是否挂机
  1414. optional int32 weaponId = 4; // 武器ID(非挂机)
  1415. }
  1416. //攻击妖怪返回
  1417. message packetw2c_attack_demon_result
  1418. {
  1419. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_attack_demon_result ];
  1420. optional int32 result = 2;
  1421. optional int32 floor = 3; // 层数
  1422. optional bool isHangUp = 4; // 是否挂机
  1423. repeated int32 weaponId = 5; // 武器ID
  1424. repeated int32 harmValue = 6; // 造成伤害
  1425. optional int32 curRound = 7; // 当前回合
  1426. optional int32 LeftLife = 8; // 剩余生命值
  1427. //击杀产生数据:
  1428. optional int32 balanceStar = 9; // 结算星星
  1429. repeated msg_info_def.ItemInfo items = 10;
  1430. }
  1431. //猎妖塔排行获取
  1432. message packetc2w_get_kill_demons_rank
  1433. {
  1434. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
  1435. }
  1436. //猎妖塔排行获取返回
  1437. message packetw2c_get_kill_demons_rank_result
  1438. {
  1439. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result];
  1440. repeated activity_rank rankList = 2;
  1441. repeated int32 thresholdValue = 3;
  1442. optional activity_rank myRank = 4;
  1443. }
  1444. //猎妖塔熔炼
  1445. message packetc2w_kill_demons_smelt
  1446. {
  1447. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_smelt];
  1448. optional int32 smeltTimes = 2; // 熔炼次数
  1449. }
  1450. //猎妖塔熔炼返回
  1451. message packetw2c_kill_demons_smelt_result
  1452. {
  1453. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_smelt_result];
  1454. optional int32 result = 2;
  1455. optional int32 smeltTimes = 3; // 熔炼次数
  1456. repeated int32 smeltReward = 4;
  1457. }
  1458. //领取剑气奖励
  1459. message packetc2w_recv_sword_energy_award
  1460. {
  1461. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_sword_energy_award];
  1462. optional int32 index = 2;
  1463. }
  1464. //领取剑气奖励返回
  1465. message packetw2c_recv_sword_energy_award_result
  1466. {
  1467. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_sword_energy_award_result];
  1468. optional int32 result = 2;
  1469. optional int32 index = 3;
  1470. }
  1471. //任务列表
  1472. message packetc2w_kill_demons_task
  1473. {
  1474. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_task];
  1475. }
  1476. //任务列表返回
  1477. message packetw2c_kill_demons_task_result
  1478. {
  1479. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_task_result];
  1480. repeated msg_info_def.msg_quest_info questList = 2; // 任务列表
  1481. }
  1482. //////////////////////////// 2020国庆活动 /////////////////////////////////////////
  1483. //同步国庆活动信息
  1484. message packetw2c_syn_2020_national_info
  1485. {
  1486. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_2020_national_info ];
  1487. optional int32 activityState = 2; // 活动状态
  1488. optional int32 startTime = 3;
  1489. optional int32 endTime = 4;
  1490. optional int32 signCount = 5; // 签到天数
  1491. optional bool canSign = 6; // 可签到
  1492. repeated bool handbooksAwardStat = 8; // 图鉴集齐奖励状态
  1493. repeated int32 handbooksStat = 9; // 图鉴状态 0未拥有 1已拥有未领取金币 2拥有已领取
  1494. optional int32 paddyCount = 10; // 稻谷数量
  1495. }
  1496. //同步国庆活动任务
  1497. message packetc2w_get_2020_national_quest
  1498. {
  1499. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_2020_national_quest];
  1500. }
  1501. //同步国庆任务返回
  1502. message packetw2c_get_2020_national_quest_result
  1503. {
  1504. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_2020_national_quest_result];
  1505. repeated msg_info_def.msg_quest_info questList = 2;
  1506. }
  1507. //国庆签到
  1508. message packetc2w_recv_2020_national_login_reward
  1509. {
  1510. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_login_reward ];
  1511. optional int32 signIndex = 2;
  1512. }
  1513. //国庆签到返回
  1514. message packetw2c_recv_2020_national_login_reward_result
  1515. {
  1516. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_login_reward_result ];
  1517. optional int32 signIndex = 2;
  1518. optional int32 result = 3;
  1519. repeated int32 exHandbooksId = 4; //额外获取图鉴
  1520. }
  1521. //领取国庆任务
  1522. message packetc2w_recv_2020_national_quest_award
  1523. {
  1524. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_quest_award ];
  1525. optional int32 questId = 2;
  1526. optional int32 receiveBit = 3;
  1527. }
  1528. //领取国庆任务返回
  1529. message packetw2c_recv_2020_national_quest_award_result
  1530. {
  1531. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_quest_award_result ];
  1532. optional int32 result = 2;
  1533. optional int32 questId = 3;
  1534. optional int32 receiveBit = 4;
  1535. repeated msg_info_def.ItemInfo items = 5;
  1536. }
  1537. //领取国庆图鉴金币奖励
  1538. message packetc2w_recv_2020_national_handbooks_gold
  1539. {
  1540. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_gold ];
  1541. optional int32 handbooksId = 2;
  1542. }
  1543. //领取国庆图鉴金币奖励返回
  1544. message packetw2c_recv_2020_national_handbooks_gold_result
  1545. {
  1546. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_gold_result ];
  1547. optional int32 handbooksId = 2;
  1548. optional int32 result = 3;
  1549. }
  1550. //领取国庆图鉴任务奖励
  1551. message packetc2w_recv_2020_national_handbooks_award
  1552. {
  1553. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_award ];
  1554. optional int32 type = 2;
  1555. }
  1556. //领取国庆图鉴任务奖励
  1557. message packetw2c_recv_2020_national_handbooks_award_result
  1558. {
  1559. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_award_result ];
  1560. optional int32 result = 2;
  1561. optional int32 type = 3;
  1562. }
  1563. //国庆抽奖
  1564. message packetc2w_2020_national_lottery
  1565. {
  1566. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_2020_national_lottery ];
  1567. optional int32 type = 2;
  1568. }
  1569. //领取国庆图鉴任务奖励
  1570. message packetw2c_2020_national_lottery_result
  1571. {
  1572. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_2020_national_lottery_result ];
  1573. optional int32 result = 2;
  1574. optional int32 type = 3;
  1575. repeated int32 rewardId = 4;
  1576. }
  1577. ////////////////同步私人订制活动信息////////////////////////
  1578. message packetw2c_syn_personal_tailor_new_info
  1579. {
  1580. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_new_info ];
  1581. optional int32 activityState = 2; // 活动状态
  1582. optional int32 startTime = 3;
  1583. optional int32 endTime = 4;
  1584. repeated int32 tailorItems = 5;
  1585. }
  1586. //私人订制道具选择
  1587. message packetc2w_change_personal_tailor_items
  1588. {
  1589. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_personal_tailor_items ];
  1590. repeated int32 tailorItems = 2;
  1591. }
  1592. //私人订制道具选择返回
  1593. message packetw2c_change_personal_tailor_items_result
  1594. {
  1595. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_personal_tailor_items_result];
  1596. repeated int32 tailorItems = 2;
  1597. optional int32 result = 3;
  1598. }
  1599. //////////////////////////// 超值礼包活动 /////////////////////////////////////////
  1600. //同步超值礼包活动信息
  1601. message packetw2c_syn_super_value_gift_activity_info
  1602. {
  1603. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_super_value_gift_activity_info ];
  1604. optional int32 activityState = 2; // 活动状态
  1605. optional int32 startTime = 3;
  1606. optional int32 endTime = 4;
  1607. }
  1608. //////////////////////////// 双十一活动 /////////////////////////////////////////
  1609. //同步双十一活动信息
  1610. message packetw2c_syn_double_eleven_info
  1611. {
  1612. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_info];
  1613. optional int32 activityState = 2; // 活动状态
  1614. optional int32 startTime = 3;
  1615. optional int32 endTime = 4;
  1616. optional int32 lotteryTicket = 5; // 抽奖券
  1617. optional int32 lotteryCount = 6; // 抽奖次数
  1618. optional int32 luckyValue = 7; // 幸运值
  1619. optional int32 recharged = 8; // 充值金额
  1620. repeated int32 rechargeCheck = 9;
  1621. repeated int32 leftCount = 10;
  1622. repeated bool canbuy = 11;
  1623. repeated activity_rank rankList = 12;
  1624. repeated int32 thresholdValue = 13;
  1625. }
  1626. //同步双十一任务
  1627. message packetc2w_get_double_eleven_quest
  1628. {
  1629. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_quest];
  1630. }
  1631. //同步双十一任务返回
  1632. message packetw2c_get_double_eleven_quest_result
  1633. {
  1634. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_quest_result];
  1635. repeated msg_info_def.msg_quest_info questList = 2; // 任务列表
  1636. }
  1637. message packetw2c_syn_double_eleven_gift_reflush
  1638. {
  1639. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_gift_reflush];
  1640. repeated int32 leftCount = 2;
  1641. }
  1642. //双十一活动排行获取
  1643. message packetc2w_get_double_eleven_rank
  1644. {
  1645. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank ];
  1646. }
  1647. //双十一活动排行获取返回
  1648. message packetw2c_get_double_eleven_rank_result
  1649. {
  1650. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result];
  1651. repeated activity_rank rankList = 2;
  1652. optional int32 myCount = 3;
  1653. optional int32 myRank = 4;
  1654. repeated int32 thresholdValue = 5;
  1655. }
  1656. //双十一活动抽奖
  1657. message packetc2w_double_eleven_lottery
  1658. {
  1659. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_lottery];
  1660. optional int32 type = 2; //消耗类型 1抽奖券 2钻石
  1661. optional int32 count = 3; //抽奖次数
  1662. }
  1663. //双十一活动抽奖返回
  1664. message packetw2c_double_eleven_lottery_result
  1665. {
  1666. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_lottery_result];
  1667. optional int32 result = 2;
  1668. optional int32 type = 3; //消耗类型
  1669. optional int32 count = 4; //抽奖次数
  1670. repeated int32 rewardid = 5;
  1671. repeated int32 rewardidEx = 6; //10连抽额外奖励ID
  1672. }
  1673. //双十一领取充值奖励
  1674. message packetc2w_receive_double_eleven_recharge_reward
  1675. {
  1676. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_double_eleven_recharge_reward];
  1677. optional int32 index = 2;
  1678. }
  1679. //双十一领取充值奖励返回
  1680. message packetw2c_receive_double_eleven_recharge_reward_result
  1681. {
  1682. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_double_eleven_recharge_reward_result];
  1683. optional int32 result = 2;
  1684. optional int32 index = 3;
  1685. }
  1686. //双十一钻石礼包购买次数刷新
  1687. message packetc2w_syn_double_eleven_diamond_gift_count
  1688. {
  1689. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
  1690. }
  1691. //双十一钻石礼包购买次数刷新返回
  1692. message packetw2c_syn_double_eleven_diamond_gift_count_result
  1693. {
  1694. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result];
  1695. repeated int32 leftCount = 2;
  1696. repeated bool canbuy = 3;
  1697. }
  1698. //领取双十一任务
  1699. message packetc2w_recv_double_eleven_quest_award
  1700. {
  1701. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_double_eleven_quest_award ];
  1702. optional int32 questId = 2;
  1703. }
  1704. //领取双十一任务返回
  1705. message packetw2c_recv_double_eleven_quest_award_result
  1706. {
  1707. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_double_eleven_quest_award_result];
  1708. optional int32 result = 2;
  1709. optional int32 questId = 3;
  1710. repeated msg_info_def.ItemInfo items = 6;
  1711. }
  1712. //双十一钻石购买抽奖券
  1713. message packetc2w_double_eleven_buy_lottery_ticket
  1714. {
  1715. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_buy_lottery_ticket];
  1716. optional int32 index = 2;
  1717. }
  1718. //双十一钻石购买抽奖券返回
  1719. message packetw2c_double_eleven_buy_lottery_ticket_result
  1720. {
  1721. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_buy_lottery_ticket_result];
  1722. optional int32 result = 2;
  1723. optional int32 index = 3;
  1724. }
  1725. //////////////////////////// 翅膀体验活动 /////////////////////////////////////////
  1726. //翅膀体验活动
  1727. message packetw2c_syn_wing_experience_info
  1728. {
  1729. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wing_experience_info];
  1730. optional int32 activityState = 2; // 活动状态
  1731. optional int32 startTime = 3;
  1732. optional int32 endTime = 4;
  1733. optional bool received = 5;
  1734. }
  1735. //翅膀体验领取翅膀
  1736. message packetc2w_wing_experience_receive_wing
  1737. {
  1738. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_wing_experience_receive_wing];
  1739. }
  1740. //翅膀体验领取翅膀返回
  1741. message packetw2c_wing_experience_receive_wing_result
  1742. {
  1743. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_wing_experience_receive_wing_result];
  1744. optional int32 result = 2;
  1745. }
  1746. //////////////////////////// 王者争霸活动 /////////////////////////////////////////
  1747. message exchangeInfo
  1748. {
  1749. optional int32 id = 1;
  1750. optional int32 times = 2;
  1751. }
  1752. //同步王者争霸活动信息
  1753. message packetw2c_syn_kingcraft_info
  1754. {
  1755. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kingcraft_info];
  1756. optional int32 activityState = 2; // 活动状态
  1757. optional int32 startTime = 3;
  1758. optional int32 endTime = 4;
  1759. optional int32 shieldCount = 5; // 盾牌数量
  1760. optional int32 lotteryTicket = 6; // 抽奖券
  1761. optional int32 lotteryCount = 7; // 抽奖次数
  1762. optional int32 recharged = 8; // 充值金额
  1763. repeated int32 rechargeCheck = 9; // 累充领取标记
  1764. optional int32 signCount = 10; // 签到次数
  1765. optional bool canSign = 11; // 签到标记
  1766. repeated activity_rank rankList = 12;
  1767. repeated int32 thresholdValue = 13;
  1768. repeated exchangeInfo exchangeList = 14;
  1769. }
  1770. //王者争霸活动排行获取
  1771. message packetc2w_get_kingcraft_rank
  1772. {
  1773. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank ];
  1774. }
  1775. //王者争霸活动排行获取返回
  1776. message packetw2c_get_kingcraft_rank_result
  1777. {
  1778. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result];
  1779. repeated activity_rank rankList = 2;
  1780. optional int32 myCount = 3;
  1781. optional int32 myRank = 4;
  1782. repeated int32 thresholdValue = 5;
  1783. }
  1784. //王者争霸活动抽奖
  1785. message packetc2w_kingcraft_lottery
  1786. {
  1787. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_lottery];
  1788. optional int32 type = 2; //消耗类型 1抽奖券 2钻石
  1789. optional int32 count = 3; //抽奖次数
  1790. }
  1791. //王者争霸活动抽奖返回
  1792. message packetw2c_kingcraft_lottery_result
  1793. {
  1794. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_lottery_result];
  1795. optional int32 result = 2;
  1796. optional int32 type = 3; //消耗类型
  1797. optional int32 count = 4; //抽奖次数
  1798. repeated int32 rewardid = 5;
  1799. }
  1800. //王者争霸领取充值奖励
  1801. message packetc2w_receive_kingcraft_recharge_reward
  1802. {
  1803. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_recharge_reward];
  1804. optional int32 index = 2;
  1805. }
  1806. //王者争霸领取充值奖励返回
  1807. message packetw2c_receive_kingcraft_recharge_reward_result
  1808. {
  1809. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_recharge_reward_result];
  1810. optional int32 result = 2;
  1811. optional int32 index = 3;
  1812. }
  1813. //王者争霸兑换
  1814. message packetc2w_receive_kingcraft_exchange
  1815. {
  1816. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
  1817. optional int32 index = 2;
  1818. }
  1819. //王者争霸兑换返回
  1820. message packetw2c_receive_kingcraft_exchange_result
  1821. {
  1822. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result];
  1823. optional int32 index = 2;
  1824. optional int32 result = 3;
  1825. }
  1826. //王者争霸签到
  1827. message packetc2w_kingcraft_sign
  1828. {
  1829. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_sign];
  1830. optional int32 signday = 2;
  1831. }
  1832. //王者争霸签到返回
  1833. message packetw2c_kingcraft_sign_result
  1834. {
  1835. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_sign_result];
  1836. optional int32 signday = 2;
  1837. optional int32 result = 3;
  1838. }
  1839. //////////////////////////// 双蛋活动 /////////////////////////////////////////
  1840. //同步猎鱼活动信息
  1841. message packetw2c_syn_double_egg_activity_info
  1842. {
  1843. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_egg_activity_info ];
  1844. optional int32 activityState = 2; // 活动状态
  1845. optional int32 startTime = 3;
  1846. optional int32 endTime = 4;
  1847. }
  1848. //////////////////////////// 一起摸鱼活动 /////////////////////////////////////////
  1849. message touchingFishRecInfo
  1850. {
  1851. optional int32 id = 1; // 等级
  1852. optional int32 recValue = 2; // 0未领取 1普通领取 2普通领取+进阶领取
  1853. }
  1854. //同步一起摸鱼活动信息
  1855. message packetw2c_syn_touching_fish_activity_info
  1856. {
  1857. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_activity_info ];
  1858. optional int32 activityState = 2; // 活动状态
  1859. optional int32 startTime = 3;
  1860. optional int32 endTime = 4;
  1861. optional int32 season = 5; // 赛季
  1862. optional int32 exp = 6;
  1863. optional int32 level = 7;
  1864. optional int32 curweek = 8; // 第几周
  1865. optional int32 weekStartTime = 9; // 周开始时间
  1866. optional int32 weekEndTime = 10; // 周结束时间
  1867. optional int32 weekExp = 11; // 周任务已获取经验
  1868. repeated touchingFishRecInfo levelRevIds = 12; // 等级领取标记
  1869. optional int32 weekBoxRev = 13; // 周宝箱领取标记 0 未领取 1普通领取 2礼包领取
  1870. }
  1871. message packetw2c_syn_touching_fish_exp
  1872. {
  1873. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_exp];
  1874. optional int32 exp = 2;
  1875. optional int32 level = 3;
  1876. optional int32 weekExp = 4;
  1877. }
  1878. //领取等级奖励
  1879. message packetc2w_recv_touching_fish_level_reward
  1880. {
  1881. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_level_reward];
  1882. optional int32 recId = 14;
  1883. }
  1884. //领取等级奖励返回
  1885. message packetw2c_recv_touching_fish_level_reward_result
  1886. {
  1887. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_level_reward_result];
  1888. optional int32 result = 2;
  1889. optional int32 recId = 3;
  1890. optional int32 recValue = 4;
  1891. }
  1892. //摸鱼任务同步
  1893. message packetc2w_recv_touching_fish_task
  1894. {
  1895. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_task];
  1896. }
  1897. //摸鱼任务同步返回
  1898. message packetw2c_recv_touching_fish_task_result
  1899. {
  1900. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_task_result];
  1901. repeated msg_info_def.msg_quest_info questList = 2; // 任务列表
  1902. repeated msg_info_def.msg_quest_info weekQuestList = 3; // 周任务列表
  1903. }
  1904. //领取任务
  1905. message packetc2w_recv_touching_fish_quest_award
  1906. {
  1907. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_quest_award];
  1908. optional int32 questId = 2;
  1909. }
  1910. //领取任务返回
  1911. message packetw2c_recv_touching_fish_quest_award_result
  1912. {
  1913. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_quest_award_result];
  1914. optional int32 result = 2;
  1915. optional int32 questId = 3;
  1916. repeated msg_info_def.ItemInfo items = 4;
  1917. }
  1918. //领取每周签到
  1919. message packetc2w_recv_touching_fish_week_box
  1920. {
  1921. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_week_box];
  1922. }
  1923. //领取每周签到返回
  1924. message packetw2c_recv_touching_fish_week_box_result
  1925. {
  1926. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_week_box_result];
  1927. optional int32 result = 2;
  1928. optional int32 weekBoxRev = 3;
  1929. repeated msg_info_def.ItemInfo items = 4;
  1930. }
  1931. //刷新每周任务
  1932. message packetc2w_flush_touching_fish_quest
  1933. {
  1934. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_flush_touching_fish_quest];
  1935. optional int32 questId = 2;
  1936. }
  1937. //领取每周签到返回
  1938. message packetw2c_flush_touching_fish_quest_result
  1939. {
  1940. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_flush_touching_fish_quest_result];
  1941. optional int32 result = 2;
  1942. optional int32 questId = 3;
  1943. optional int32 newQuestId = 4;
  1944. }
  1945. //私人订制排行获取
  1946. message packetc2w_get_touching_fish_rank
  1947. {
  1948. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
  1949. }
  1950. //私人订制排行获取返回
  1951. message packetw2c_get_touching_fish_rank_result
  1952. {
  1953. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result];
  1954. repeated activity_rank rankList = 2;
  1955. repeated int32 thresholdValue = 3;
  1956. optional activity_rank myRank = 4;
  1957. }
  1958. //////////////////////////// 捕鱼盛典活动 /////////////////////////////////////////
  1959. //同步捕鱼盛典活动信息
  1960. message packetw2c_syn_fishing_celebration_info
  1961. {
  1962. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_info];
  1963. optional int32 activityState = 2; // 活动状态
  1964. optional int32 startTime = 3;
  1965. optional int32 endTime = 4;
  1966. optional int32 curlv = 5; //当前阶数
  1967. optional int32 bubbleScore = 6; //泡泡积分 294
  1968. optional int32 cleTicket = 7; //庆典券 301
  1969. optional int32 cleLotteryTicket = 8; //庆典抽奖券 302
  1970. optional int32 lotteryCount = 9; //抽奖次数(排行用)
  1971. repeated int32 giftLotteryCount = 10; //礼包抽奖计数(初中高)
  1972. repeated int32 giftLotteryFreeCount = 11; //免费抽奖次数(初中高)
  1973. repeated int32 giftLotteryState = 12; //礼包抽奖界面状态(初中高)(显示可买礼包)
  1974. repeated int32 giftLotteryTicket = 13; //礼包抽奖券(初中高) 303 304 305
  1975. repeated exchangeInfo exchangeList = 14; //兑换计数
  1976. optional bool itemA = 15; //298
  1977. optional bool itemB = 16; //299
  1978. optional bool itemC = 17; //300
  1979. repeated activity_rank rankList = 18;
  1980. repeated int32 thresholdValue = 19;
  1981. }
  1982. //捕鱼盛典活动抽奖
  1983. message packetc2w_fishing_celebration_lottery
  1984. {
  1985. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_lottery];
  1986. optional bool allLottery = 2; //全部抽取
  1987. optional int32 type = 3; //非全部抽取用 1抽奖券 2钻石
  1988. }
  1989. //捕鱼盛典活动抽奖返回
  1990. message packetw2c_fishing_celebration_lottery_result
  1991. {
  1992. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_lottery_result];
  1993. optional int32 result = 2;
  1994. optional bool allLottery = 3; //全部抽取
  1995. optional int32 type = 4; //非全部抽取用 1抽奖券 2钻石
  1996. optional int32 costTocket = 5; //全部抽取消耗的抽奖券数量
  1997. repeated int32 rewardid = 6;
  1998. }
  1999. //捕鱼盛典活动激活
  2000. message packetc2w_fishing_celebration_activate
  2001. {
  2002. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_activate];
  2003. optional int32 lv = 2; //激活阶等级
  2004. }
  2005. //捕鱼盛典活动激活返回
  2006. message packetw2c_fishing_celebration_activate_result
  2007. {
  2008. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_activate_result];
  2009. optional int32 result = 2;
  2010. optional int32 lv = 3; //激活阶等级
  2011. }
  2012. //捕鱼盛典活动兑换
  2013. message packetc2w_fishing_celebration_exchange
  2014. {
  2015. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
  2016. optional int32 index = 2; //兑换id
  2017. optional int32 count = 3;
  2018. }
  2019. //捕鱼盛典活动兑换返回
  2020. message packetw2c_fishing_celebration_exchange_result
  2021. {
  2022. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result];
  2023. optional int32 result = 2;
  2024. optional int32 index = 3; //兑换id
  2025. optional int32 count = 4;
  2026. optional int32 getpro = 5; //概率道具数量
  2027. }
  2028. //捕鱼盛典活动礼包免费抽奖次数刷新
  2029. message packetw2c_syn_fishing_celebration_free_gift_lottery
  2030. {
  2031. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_free_gift_lottery];
  2032. repeated int32 freeCount = 2;
  2033. }
  2034. //捕鱼盛典活动礼包抽奖
  2035. message packetc2w_fishing_celebration_gift_lottery
  2036. {
  2037. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery];
  2038. optional int32 type = 2; //1初级 2中级 3高级
  2039. optional bool isAdv = 3; //是否高级 否则免费
  2040. }
  2041. //捕鱼盛典活动礼包抽奖返回
  2042. message packetw2c_fishing_celebration_gift_lottery_result
  2043. {
  2044. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_result];
  2045. optional int32 result = 2;
  2046. optional int32 type = 3; //1初级 2中级 3高级
  2047. optional bool isAdv = 4; //是否高级 否则免费
  2048. optional int32 rewardid = 5;
  2049. repeated int32 freeCount = 6;
  2050. }
  2051. //捕鱼盛典活动礼包抽奖次数奖励
  2052. message packetc2w_fishing_celebration_gift_lottery_reward
  2053. {
  2054. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery_reward];
  2055. optional int32 type = 2; //1初级 2中级 3高级
  2056. }
  2057. //捕鱼盛典活动礼包抽奖次数奖励返回
  2058. message packetw2c_fishing_celebration_gift_lottery_reward_result
  2059. {
  2060. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_reward_result];
  2061. optional int32 result = 2;
  2062. optional int32 type = 3; //1初级 2中级 3高级
  2063. }
  2064. //捕鱼盛典活动用券买礼包
  2065. message packetc2w_fishing_celebration_buy_gift
  2066. {
  2067. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_buy_gift];
  2068. optional int32 index = 2; //M_ActivityFishingCeleGiftRecharge表
  2069. }
  2070. //捕鱼盛典活动用券买礼包返回
  2071. message packetw2c_fishing_celebration_buy_gift_result
  2072. {
  2073. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_buy_gift_result];
  2074. optional int32 result = 2;
  2075. optional int32 index = 3;
  2076. }
  2077. //捕鱼盛典排行获取
  2078. message packetc2w_get_fishing_celebration_rank
  2079. {
  2080. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
  2081. }
  2082. //捕鱼盛典排行获取返回
  2083. message packetw2c_get_fishing_celebration_rank_result
  2084. {
  2085. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result];
  2086. repeated activity_rank rankList = 2;
  2087. repeated int32 thresholdValue = 3;
  2088. optional activity_rank myRank = 4;
  2089. }
  2090. //////////////////////////// 回馈活动 /////////////////////////////////////////
  2091. message prizeKey
  2092. {
  2093. optional int32 gear = 1;
  2094. optional int32 rank = 2;
  2095. repeated string keyList = 3;
  2096. }
  2097. //回馈活动
  2098. message packetw2c_syn_feed_back_info
  2099. {
  2100. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_feed_back_info];
  2101. optional int32 activityState = 2; // 活动状态
  2102. optional int32 startTime = 3;
  2103. optional int32 endTime = 4;
  2104. optional int32 receiveTime = 5; // 领取结束时间
  2105. optional int32 curGear = 6;
  2106. repeated int32 vipReveiveCount = 7; // 档位Vip奖励领取次数
  2107. repeated prizeKey prizeList = 8;
  2108. }
  2109. //回馈活动领取VIP奖励
  2110. message packetc2w_get_feed_back_vip_reward
  2111. {
  2112. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_vip_reward];
  2113. optional int32 gear = 2;
  2114. }
  2115. //回馈活动领取返回
  2116. message packetw2c_get_feed_back_vip_reward_result
  2117. {
  2118. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_vip_reward_result];
  2119. optional int32 result = 2;
  2120. optional int32 vip = 3;
  2121. optional int32 vipReveiveCount = 4;
  2122. optional int32 gear = 5;
  2123. }
  2124. //回馈活动key
  2125. message packetc2w_get_feed_back_keylist
  2126. {
  2127. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_keylist];
  2128. optional int32 gear = 2;
  2129. }
  2130. //回馈活动key返回
  2131. message packetw2c_get_feed_back_keylist_result
  2132. {
  2133. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_keylist_result];
  2134. optional int32 gear = 2;
  2135. repeated string keyList = 3;
  2136. }
  2137. //////////////////////////// 碎片宝箱活动 /////////////////////////////////////////
  2138. //同步限时购活动信息
  2139. message packetw2c_syn_chip_treasure_info
  2140. {
  2141. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_chip_treasure_info ];
  2142. optional int32 activityState = 2; // 活动状态
  2143. optional int32 startTime = 3;
  2144. optional int32 endTime = 4;
  2145. }
  2146. //抽奖
  2147. message packetc2w_chip_treasure_lottery
  2148. {
  2149. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_chip_treasure_lottery ];
  2150. optional int32 type = 2;
  2151. optional int32 count = 3; //抽奖次数 1/10
  2152. }
  2153. //限时购抽奖返回
  2154. message packetw2c_chip_treasure_lottery_result
  2155. {
  2156. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_chip_treasure_lottery_result];
  2157. optional int32 result = 2;
  2158. optional int32 type = 3;
  2159. optional int32 count = 4;
  2160. repeated int32 index = 5;
  2161. }
  2162. //////////////////////////// 暑期计划 /////////////////////////////////////////
  2163. message sendGoldHistory
  2164. {
  2165. optional int32 Round = 2; //轮数
  2166. optional string Nickname = 3; //玩家昵称
  2167. optional int32 Gold = 4; //金币
  2168. }
  2169. message sendGoldInfo
  2170. {
  2171. optional int32 Gear = 1; //档位
  2172. optional int32 jackPot = 2; //奖池
  2173. optional int32 CurRound = 3; //当前轮数
  2174. optional int32 BuyCount = 4; //当前购买人数
  2175. optional int32 PartTimes = 5; //本轮参与次数
  2176. repeated sendGoldHistory HistoryList = 6; //得奖历史
  2177. }
  2178. //同步暑期计划信息
  2179. message packetw2c_syn_summer_plan_info
  2180. {
  2181. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_plan_info];
  2182. optional int32 activityState = 2; // 活动状态
  2183. optional int32 startTime = 3;
  2184. optional int32 endTime = 4;
  2185. optional bool active = 5; //激活
  2186. optional int32 summerbingo = 6; //夏日宾果
  2187. optional int32 freeRocketCount = 7; //免费发射次数
  2188. optional int32 freeRocketCold = 8; //免费发射次数冷却时间
  2189. optional int32 rocketLeftRecv = 9; //免费发射剩余领取次数
  2190. optional int32 rocketCurHeight = 10; //当前高度 领完后归0
  2191. optional int32 recharged = 11; //充值金额
  2192. repeated int32 rechargedRecv = 12; //累充领取
  2193. optional int32 drawEyeEnergy = 13; //画龙点睛能量
  2194. optional int32 touchGoldEnergy = 14; //点石成金能量
  2195. optional int32 drawEyeTimes = 15; //画龙点睛次数
  2196. optional int32 touchGoldTimes = 16; //点石成金次数
  2197. }
  2198. //获取红包任务数据
  2199. message packetc2w_summer_plan_get_redpacket_task
  2200. {
  2201. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_get_redpacket_task];
  2202. }
  2203. //获取红包任务数据返回
  2204. message packetw2c_summer_plan_get_redpacket_task_result
  2205. {
  2206. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_get_redpacket_task_result];
  2207. repeated msg_info_def.msg_quest_info questList = 2;
  2208. }
  2209. //获取送财数据(需要打开界面更新)
  2210. message packetc2w_summer_plan_sendgold_info
  2211. {
  2212. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_sendgold_info];
  2213. }
  2214. //获取送财数据返回
  2215. message packetw2c_summer_plan_sendgold_info_result
  2216. {
  2217. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_sendgold_info_result];
  2218. repeated sendGoldInfo sendGoldInfoList = 2; //送财数据
  2219. }
  2220. //激活
  2221. message packetc2w_summer_plan_active
  2222. {
  2223. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_active];
  2224. }
  2225. //激活返回
  2226. message packetw2c_summer_plan_active_result
  2227. {
  2228. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_active_result];
  2229. optional int32 result = 2;
  2230. }
  2231. //领取红包奖励
  2232. message packetc2w_summer_plan_recv_redpacket
  2233. {
  2234. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_redpacket];
  2235. optional int32 index = 2;
  2236. }
  2237. //领取红包奖励返回
  2238. message packetw2c_summer_plan_recv_redpacket_result
  2239. {
  2240. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_redpacket_result];
  2241. optional int32 result = 2;
  2242. optional int32 index = 3;
  2243. repeated msg_info_def.ItemInfo items = 4; //概率道具
  2244. }
  2245. //领取累充奖励
  2246. message packetc2w_summer_plan_recv_recharged
  2247. {
  2248. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_recharged];
  2249. optional int32 index = 2;
  2250. }
  2251. //领取累充奖励返回
  2252. message packetw2c_summer_plan_recv_recharged_result
  2253. {
  2254. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_recharged_result];
  2255. optional int32 result = 2;
  2256. optional int32 index = 3;
  2257. }
  2258. //道具购买送宝礼包
  2259. message packetc2w_summer_plan_buy_sendgold_gift
  2260. {
  2261. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_buy_sendgold_gift];
  2262. optional int32 giftID = 2;
  2263. }
  2264. //道具购买送宝礼包返回
  2265. message packetw2c_summer_plan_buy_sendgold_gift_result
  2266. {
  2267. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_buy_sendgold_gift_result];
  2268. optional int32 result = 2;
  2269. optional int32 giftID = 3;
  2270. repeated msg_info_def.ItemInfo items = 4; //概率道具
  2271. }
  2272. //发射
  2273. message packetc2w_summer_plan_launch
  2274. {
  2275. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_launch];
  2276. }
  2277. //发射返回
  2278. message packetw2c_summer_plan_launch_result
  2279. {
  2280. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_launch_result];
  2281. optional int32 result = 2;
  2282. optional int32 height = 3;
  2283. optional int32 freeRocketCount = 4; //免费发射次数
  2284. optional int32 freeRocketCold = 5; //免费发射次数冷却时间
  2285. }
  2286. //点石成金
  2287. message packetc2w_summer_plan_touch_gold
  2288. {
  2289. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_touch_gold];
  2290. optional int32 index = 2;
  2291. }
  2292. //点石成金返回
  2293. message packetw2c_summer_plan_touch_gold_result
  2294. {
  2295. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_touch_gold_result];
  2296. optional int32 result = 2;
  2297. optional int32 index = 3;
  2298. optional bool free = 4; //是否免费
  2299. optional int32 drawEyeEnergy = 5; //画龙点睛能量
  2300. optional int32 touchGoldEnergy = 6; //点石成金能量
  2301. }
  2302. //////////////////////////// 欢乐暑期活动 /////////////////////////////////////////
  2303. //同步欢乐暑期活动信息
  2304. message packetw2c_syn_happy_summer_info
  2305. {
  2306. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_happy_summer_info ];
  2307. optional int32 activityState = 2; // 活动状态
  2308. optional int32 startTime = 3;
  2309. optional int32 endTime = 4;
  2310. optional int32 points = 5;
  2311. optional int32 blindboxkey = 6; // 盲盒钥匙
  2312. optional int32 lotterkey = 7; // 转盘钥匙
  2313. repeated int32 blindBoxList = 8;
  2314. repeated msg_info_def.msg_quest_info questList = 9; // 任务列表
  2315. }
  2316. //欢乐暑期排行获取
  2317. message packetc2w_get_happy_summer_rank
  2318. {
  2319. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
  2320. }
  2321. //欢乐暑期排行获取返回
  2322. message packetw2c_get_happy_summer_rank_result
  2323. {
  2324. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result];
  2325. repeated activity_rank rankList = 2;
  2326. optional int32 myCount = 3;
  2327. optional int32 myRank = 4;
  2328. repeated int32 thresholdValue = 5;
  2329. }
  2330. //欢乐暑期开启盲盒
  2331. message packetc2w_happy_summer_open_box
  2332. {
  2333. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_open_box];
  2334. optional int32 index = 2;
  2335. }
  2336. //欢乐暑期开启盲盒返回
  2337. message packetw2c_happy_summer_open_box_result
  2338. {
  2339. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_open_box_result];
  2340. optional int32 result = 2;
  2341. optional int32 index = 3;
  2342. repeated int32 items = 4;
  2343. optional int32 curBlindBoxKey = 5;
  2344. }
  2345. //欢乐暑期抽奖
  2346. message packetc2w_happy_summer_lottery
  2347. {
  2348. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_lottery ];
  2349. optional bool all = 2;
  2350. }
  2351. //欢乐暑期抽奖返回
  2352. message packetw2c_happy_summer_lottery_result
  2353. {
  2354. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_lottery_result];
  2355. optional bool all = 2;
  2356. optional int32 result = 3;
  2357. repeated int32 rewardIndex = 4;
  2358. }
  2359. //领取欢乐暑期任务
  2360. message packetc2w_recv_happy_summer_quest_award
  2361. {
  2362. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_happy_summer_quest_award];
  2363. optional int32 questId = 2;
  2364. }
  2365. //领取欢乐暑期任务返回
  2366. message packetw2c_recv_happy_summer_quest_award_result
  2367. {
  2368. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_happy_summer_quest_award_result];
  2369. optional int32 result = 2;
  2370. optional int32 questId = 3;
  2371. }
  2372. //同步欢乐暑期活动任务
  2373. message packetc2w_get_happy_summer_quest
  2374. {
  2375. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_quest];
  2376. }
  2377. //同步欢乐暑期活动任务返回
  2378. message packetw2c_get_happy_summer_quest_result
  2379. {
  2380. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_quest_result];
  2381. repeated msg_info_def.msg_quest_info questList = 2;
  2382. }