MsgResponse.proto 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926
  1. syntax = "proto3";
  2. import "MsgEnum.proto";
  3. import "MsgStruct.proto";
  4. import "MsgNotify.proto";
  5. import "CombatDataStruct.proto";
  6. package com.fort23.protocol.protobuf;
  7. // option java_outer_classname = "MsgResponse";
  8. // option java_multiple_files = true;
  9. /* 响应消息,把所有的XxxResponse消息全部集合在一起 */
  10. message Response
  11. {
  12. // 消息类型
  13. MsgType msgType = 1;
  14. // 返回类型
  15. ReturnType returnType = 2;
  16. // 错误信息
  17. string errorMsg = 3;
  18. // 服务器时间毫秒
  19. int64 serverTime = 4;
  20. // 账号封禁时间
  21. int32 bannedTime = 5;
  22. // 账号封禁理由
  23. string bannedReason = 6;
  24. // 扩展参数
  25. ExtraParam extraParam = 7;
  26. // 错误信息参数
  27. repeated string errorParams = 8;
  28. // 同步数值道具信息
  29. repeated Item syncItems = 9;
  30. // 同步任务信息
  31. repeated Task syncTasks = 10;
  32. // 禁言时间
  33. int32 shutUpTime = 11;
  34. // 禁言理由
  35. string shutUpReason = 12;
  36. // 同步玩家等级
  37. int32 syncPlayerLv = 13;
  38. // 获得道具
  39. repeated Item gainItems = 14;
  40. // 获得图纸
  41. repeated BluePrintInfo bluePrints = 15;
  42. // 今日体力经验
  43. int32 GainedExpToday = 16;
  44. // 同步玩家战令等级
  45. int32 syncBattlePassLv = 17;
  46. // 小红点信息
  47. repeated RedDot redDots = 18;
  48. // 同步玩家战令ID
  49. int32 syncBattlePassId = 19;
  50. /********************************************************/
  51. /************* gateway服消息响应,分段号:21~40 **************/
  52. /********************************************************/
  53. // ...
  54. /********************************************************/
  55. /************* login服消息响应,分段号:41~100 **************/
  56. /********************************************************/
  57. PlatformUserRegisterResponse platformUserRegisterResp = 41;
  58. VisitorUserRegisterResponse visitorUserRegisterResp = 42;
  59. VisitorUserLoginResponse visitorUserLoginResp = 43;
  60. PlatformUserLoginResponse platformUserLoginResp = 44;
  61. PlatformUserBindResponse platformUserBindResp = 45;
  62. ClientConfigGetResponse clientConfigGetResp = 46;
  63. AnnouncementGetResponse announcementGetResp = 47;
  64. ServerListGetResponse serverListGetResp = 48;
  65. /********************************************************/
  66. /************* Game服消息响应,分段号:101~1000 *************/
  67. /********************************************************/
  68. GameEnterResponse gameEnterResp = 101;
  69. ItemUseResponse itemUseResp = 102;
  70. ItemSellResponse itemSellRsp = 103;
  71. PlayerRechargeResponse playerRechargeResp = 105;
  72. StrengthBuyResponse strengthBuyResp = 106;
  73. RedDotUpdateResponse redDotUpdateResp = 107;
  74. GameAnnouncementGetResponse gameAnnouncementGetResp = 108;
  75. HeroUpgradeResponse heroUpgradeResp = 210;
  76. HeroAwakenResponse heroAwakenResp = 211;
  77. MainStageEnterResponse mainStageEnterResp = 220;
  78. StageTrapCompleteResponse stageTrapCompleteResp = 221;
  79. StageTrapNodeCompleteResponse stageTrapNodeCompleteResp = 222;
  80. MainStageQuitResponse mainStageQuitResp = 223;
  81. MainStagePreviewResponse mainStagePreviewResp = 224;
  82. ChapterRewardResponse chapterRewardResp = 225;
  83. StageResurrectResponse stageResurrectResponse = 226;
  84. EquipmentUpgradeResponse equipmentUpgradeResp = 230;
  85. RuneUpgradeResponse runeUpgradeResp = 245;
  86. WeaponUpgradeResponse weaponUpgradeResp = 250;
  87. WeaponAwakenResponse weaponAwakenResp = 251;
  88. FetterUpResponse fetterRes = 260;
  89. FetterAwardResponse fetterAwardResp = 261;
  90. CombatStartResponse combatStartResp = 271;
  91. CombatFinishResponse combatFinishResp = 272;
  92. TeamPresetEditResponse teamPresetEditResp = 280;
  93. TeamPresetUseResponse teamPresetUseResp = 281;
  94. TeamPresetFindResponse teamPresetFindResp = 282;
  95. TeamPresetSpecialResponse teamPresetSpecialResponse = 283;
  96. TeamPresetSpecialOpenResponse teamPresetSpecialOpenResponse = 284;
  97. SummonOpenResponse summonOpenResp = 291;
  98. SummonResponse summonResp = 292;
  99. SummonRecordGetResponse summonRecordGetResp = 293;
  100. ShopOpenResponse shopOpenResp = 300;
  101. ShopItemGetResponse shopItemGetResp = 301;
  102. ShopItemBuyResponse shopItemBuyResp = 302;
  103. ShopRefreshResponse shopRefreshResp = 303;
  104. ShopGiftItemBuyResponse shopGiftItemBuyResp = 304;
  105. ShopGiftItemBuyNotify shopGiftItemBuyNotify = 305;
  106. DuplicateOpenResponse duplicateOpenResp = 310;
  107. DuplicateAutoFightResponse duplicateAutoFightResp = 311;
  108. DuplicateEnterResponse duplicateEnterResp = 312;
  109. DuplicateQuitResponse duplicateQuitResp = 313;
  110. ExploreTaskOpenResponse exploreTaskOpenResp = 320;
  111. ExploreTaskStartResponse exploreTaskStartResp = 321;
  112. ExploreTaskAwardResponse exploreTaskAwardResp = 322;
  113. ExploreTaskAcceptResponse exploreTaskAcceptResp = 323;
  114. ExploreLvUpResponse ExploreUpsResponse = 324;
  115. MallBuildingGetDataResponse mallBuildingGetDataResp = 330;
  116. MallBuildingSetWorkHeroResponse mallBuildingSetWorkHeroResponse = 331;
  117. MallBuildingGetWorkAwardResponse mallBuildingGetWorkAwardResponse = 332;
  118. WorkDataGetResponse workDataGetResp = 333;
  119. WorkHeroSetResponse workHeroSetResp = 334;
  120. WorkHeroSetAllResponse workHeroSetAllResp = 335;
  121. WorkAwardGetResponse workAwardGetResp = 336;
  122. WorkBuffBuyResponse WorkBuffBuyResp = 337;
  123. WarriorOpenResponse warriorOpenResp = 340;
  124. WarriorOpenRankListResponse warriorOpenRankListResp = 341;
  125. AchievementOpenResponse achievementOpenResp = 350;
  126. AchievementAwardResponse achievementAwardResp = 351;
  127. GetLikeHeroListResponse getLikeHeroListResponse = 360;
  128. RelicUpGradeResponse relicUpGradeResponse = 370;
  129. RelicUpStarResponse relicUpStarResponse = 371;
  130. GeneralLockResponse generalLockResponse = 372;
  131. RelicEquipResponse relicEquipResponse = 373;
  132. RelicComposeResponse relicComposeResponse = 374;
  133. ForgeOpenResponse forgeOpenResponse = 390;
  134. ForgeResearchResponse forgeResearchResponse = 391;
  135. ForgeMakeResponse forgeMakeResponse = 392;
  136. ForgeSpeedUpResponse forgeSpeedUpResponse = 393;
  137. ForgeAdviceResponse forgeAdviceResponse = 394;
  138. ForgeSlotInfoResponse forgeSlotInfoResponse = 395;
  139. ForgeLvUpResponse forgeLvUpsResponse = 396;
  140. ForgeRemoveResponse forgeRemoveResponse = 397;
  141. TowerOpenResponse towerOpenResponse = 401;
  142. TowerUnLockResponse towerUnLockResponse = 402;
  143. TowerLockHeroResponse towerLockHeroResponse = 403;
  144. TowerRewardStarResponse towerRewardStarResponse = 404;
  145. TowerResetLvResponse towerResetLvResponse = 405;
  146. RogueLikeOpenResponse rogueLikeOpenResponse = 420;
  147. RogueLikeEnterResponse rogueLikeEnterResponse = 421;
  148. RogueLikeChangeNodeResponse rogueLikeChangeNodeResponse = 422;
  149. RogueLikeQuitResponse rogueLikeQuitResponse = 423;
  150. RogueLikeResurrectionResponse rogueLikeResurrectionResponse = 424;
  151. RogueLikeAchieveOpenResponse rogueLikeAchieveOpenResponse = 425;
  152. RogueLikeAchieveAwardResponse rogueLikeAchieveAwardResponse = 426;
  153. RogueLikeMimicryOpenResponse rogueLikeMimicryOpenResponse = 427;
  154. RogueLikeMimicryLvResponse rogueLikeMimicryLvResponse = 428;
  155. RogueLikeMimicryResetResponse rogueLikeMimicryResetResponse = 429;
  156. TaskOpenResponse taskOpenResp = 430;
  157. TaskAwardResponse taskAwardResp = 431;
  158. TaskScoreAwardResponse taskScoreAwardResp = 432;
  159. TaskNewOpenResponse taskNewOpenResponse = 440;
  160. TaskNewScoreAwardResponse taskNewScoreAwardResponse = 441;
  161. MedalOpenResponse medalOpenResponse = 450;
  162. MedalAwardResponse medalAwardResponse = 451;
  163. TitleOpenResponse titleOpenResp = 460;
  164. IconFrameOpenResponse iconFrameOpenResp = 465;
  165. MailBoxOpenResponse mailBoxOpenResp = 470;
  166. MailDetailResponse mailDetailResp = 471;
  167. MailAwardResponse mailAwardResp = 472;
  168. MailAwardRecordResponse mailAwardRecordResp = 473;
  169. GuideSaveResponse guideSaveResp = 480;
  170. BattlePassOpenResponse battlePassOpenResp = 490;
  171. BattlePassAwardResponse battlePassAwardResp = 491;
  172. ContractOpenResponse contractOpenResp = 495;
  173. ContractAwardResponse contractAwardResp = 496;
  174. SignedResponse signedResponse = 500;
  175. CircularOpenResponse circularOpenResponse = 505;
  176. CircularAwardResponse circularAwardResponse = 506;
  177. ActivityOpenResponse activityOpenResp = 510;
  178. ActivityDetailResponse activityDetailResp = 511;
  179. ActivityRushResponse activityRushResp = 512;
  180. ActivityWorldBossResponse worldBossResp = 513;
  181. ActivityTMSupportResponse activityTMSupportResp = 514;
  182. ActivityTMSupportAwardResponse activityTMSupportAwardResp = 515;
  183. WorldBossRankResponse WorldBossRankResponse = 516;
  184. DecomposeResponse decomposeResponse = 520;
  185. /********************************************************/
  186. /************* Chat服消息响应,分段号:1001~1100 ************/
  187. /********************************************************/
  188. ChatEnterResponse chatEnterResp = 1001;
  189. SwitchPublicChannelResponse switchPublicChannelResp = 1002;
  190. SpeakWordsRecordResponse speakWordsRecordResp = 1003;
  191. GetPublicChannelResponse getPublicChannelResp = 1004;
  192. JoinGuildChannelResponse joinGuildChannelResp = 1005;
  193. PublicWordsNotify publicWordNotify = 1006;
  194. GuildWordsNotify guildWordsNotify = 1007;
  195. PrivateWordsNotify privateWordsNotify = 1008;
  196. RoomWordsNotify roomWordsNotify = 1009;
  197. ChatChannelJoinResponse chatChannelJoinResp = 1010;
  198. ChatMessageNotify chatMessageNotify = 1011;
  199. /********************************************************/
  200. /*********** Cross服消息响应,分段号:1101~1500 ***********/
  201. /********************************************************/
  202. TreasureMapOpenResponse treasureMapOpenResp = 1101;
  203. TreasureMapRefreshResponse treasureMapRefreshResp = 1102;
  204. TreasureMapAwardResponse treasureMapAwardResp = 1103;
  205. TreasureMapRecordResponse treasureMapRecordResp = 1104;
  206. TreasureMapRecordDetailResponse treasureMapRecordDetailResp = 1105;
  207. TreasureRoomEnterResponse treasureRoomEnterResp = 1106;
  208. TreasureRoomRefreshResponse treasureRoomRefreshResp = 1107;
  209. TreasureAreaEnterResponse treasureAreaEnterResp = 1108;
  210. TreasureAreaQuitResponse treasureAreaQuitResp = 1109;
  211. TreasureMapInviteCodeResponse treasureMapInviteCodeResp = 1110;
  212. TreasureAreaLockResponse treasureAreaLockResp = 1111;
  213. TreasureCardNotify treasureCardNotify = 1112;
  214. TreasureAreaSelectCardResponse treasureAreaSelectCardResp = 1113;
  215. TreasureAncientRankResponse treasureAncientRankResp = 1114;
  216. FriendOpenResponse friendOpenResp = 1120;
  217. FriendRecommendResponse friendRecommendResp = 1121;
  218. FriendReqOpenResponse friendReqOpenResp = 1122;
  219. FindPlayerInfoResponse findPlayerInfoResp = 1130;
  220. CombatResurrectionResponse combatResurrectionResp = 1131;
  221. GuildCreateResponse guildCreateResp = 1140;
  222. GuildSearchResponse guildSearchResp = 1141;
  223. GuildRefreshResponse guildRefreshResp = 1142;
  224. GuildMemberResponse guildMemberResp = 1143;
  225. GuildLogResponse guildLogResp = 1144;
  226. GuildApplyListResponse guildApplyListResp = 1145;
  227. GuildDetailResponse guildDetailResp = 1146;
  228. GuildInfoGetResponse guildInfoGetResp = 1147;
  229. GuildApplyResponse guildApplyResp = 1148;
  230. GuildApplyConfirmResponse guildApplyConfirmResp = 1149;
  231. GuildActivityRankResponse guildActivityRankResp = 1150;
  232. GuildActivityResponse guildActivityResp = 1151;
  233. GuildInfoNotify guildInfoNotify = 1152;
  234. FightTogetherEnterRoomResponse fightTogetherEnterRoomResp = 1167;
  235. FightTogetherCreateRoomResponse fightTogetherCreateRoomResp = 1168;
  236. FightTogetherStateAlterNotify fightTogetherStateAlterNotify = 1169;
  237. FightTogetherStartNotify fightTogetherStartNotify = 1170;
  238. FightTogetherMatchRoomNotify fightTogetherMatchRoomNotify = 1171;
  239. FightTogetherTeamAlterNotify fightTogetherTeamAlterNotify = 1172;
  240. FightTogetherPlayerInfoNotify fightTogetherPlayerInfoNotify = 1173;
  241. FightTogetherGetPlayerInfoResponse fightTogetherGetPlayerInfoResp = 1174;
  242. FightTogetherBuffAlterNotify fightTogetherBuffAlterNotify = 1175;
  243. FightTogetherFinishNotify fightTogetherFinishNotify = 1176;
  244. FightTogetherOpenResponse fightTogetherOpenResp = 1177;
  245. FightTogetherLeaveNotify fightTogetherLeaveNotify = 1178;
  246. FightTogetherSearchResponse fightTogetherSearchResp = 1179;
  247. FightTogetherGroupOpenResponse fightTogetherGroupOpenResp = 1180;
  248. FightTogetherAllReadyNotify fightTogetherAllReadyNotify = 1181;
  249. }
  250. /* 游客用户注册响应 */
  251. message VisitorUserRegisterResponse {
  252. // 账号ID
  253. int64 accountId = 1;
  254. // 账号密码
  255. string password = 2;
  256. // 最近登录的游戏服信息
  257. GameServer lastGameSvr = 3;
  258. // 登录token
  259. string loginToken = 4;
  260. // 登录时间
  261. int64 loginTime = 5;
  262. // 聊天服信息
  263. ChatServer chatSvr = 6;
  264. // 是否是测试版本
  265. bool isTestVersion = 7;
  266. // 公告内容
  267. string content = 8;
  268. // 是否可以进游戏
  269. bool canEnter = 9;
  270. // 公告持续时间,单位:秒
  271. int32 durationTime = 10;
  272. // 重置次数
  273. int32 resetCount = 11;
  274. // 合服游戏服信息列表
  275. repeated GameServer mergeGameSvrs = 12;
  276. // 玩家账号id
  277. string playerId = 13;
  278. // 是否是白名单
  279. bool isWhite = 14;
  280. // 账号封禁时间
  281. int32 bannedTime = 15;
  282. // 账号封禁理由
  283. string bannedReason = 16;
  284. // 是否实名认证
  285. bool isRealName = 17;
  286. // 会话ID
  287. int64 sessionId = 18;
  288. }
  289. /* 游客用户登录响应 */
  290. message VisitorUserLoginResponse {
  291. // 最近登录的角色ID
  292. int64 lastRoleId = 1;
  293. // 最近登录的游戏服信息
  294. GameServer lastGameSvr = 2;
  295. // 登录token
  296. string loginToken = 3;
  297. // 登录时间
  298. int64 loginTime = 4;
  299. // 绑定的googleUserId
  300. string googleUserId = 5;
  301. // 绑定的facebookUserId
  302. string facebookUserId = 6;
  303. // 绑定的appleUserId
  304. string appleUserId = 7;
  305. // 聊天服信息
  306. ChatServer chatSvr = 8;
  307. // 是否是测试版本
  308. bool isTestVersion = 9;
  309. // 公告内容
  310. string content = 10;
  311. // 是否可以进游戏
  312. bool canEnter = 11;
  313. // 公告持续时间,单位:秒
  314. int32 durationTime = 12;
  315. // 重置次数
  316. int32 resetCount = 13;
  317. // 合服游戏服信息列表
  318. repeated GameServer mergeGameSvrs = 14;
  319. // 是否是白名单
  320. bool isWhite = 15;
  321. // 是否实名认证
  322. bool isRealName = 18;
  323. // 账号ID
  324. int64 accountId = 19;
  325. // 玩家年龄
  326. int32 age = 20;
  327. // 会话ID
  328. int64 sessionId = 21;
  329. }
  330. /* 平台用户注册响应 */
  331. message PlatformUserRegisterResponse {
  332. // 账号ID
  333. int64 accountId = 1;
  334. // 最近登录的角色ID
  335. int64 lastRoleId = 2;
  336. // 最近登录的游戏服信息
  337. GameServer lastGameSvr = 3;
  338. // 登录token
  339. string loginToken = 4;
  340. // 聊天服信息
  341. ChatServer chatSvr = 5;
  342. }
  343. /* 平台用户登录响应 */
  344. message PlatformUserLoginResponse {
  345. // 最近登录的角色ID
  346. int64 lastRoleId = 1;
  347. // 最近登录的游戏服信息
  348. GameServer lastGameSvr = 2;
  349. // 登录token
  350. string loginToken = 3;
  351. // 登录时间
  352. int64 loginTime = 4;
  353. // 绑定的googleUserId
  354. string googleUserId = 5;
  355. // 绑定的facebookUserId
  356. string facebookUserId = 6;
  357. // 绑定的appleUserId
  358. string appleUserId = 7;
  359. // 账号ID
  360. int64 accountId = 8;
  361. // 账号密码
  362. string password = 9;
  363. // 聊天服信息
  364. ChatServer chatSvr = 10;
  365. // 是否是测试版本
  366. bool isTestVersion = 11;
  367. // 公告内容
  368. string content = 12;
  369. // 是否可以进游戏
  370. bool canEnter = 13;
  371. // 公告持续时间,单位:秒
  372. int32 durationTime = 14;
  373. // 合服游戏服信息列表
  374. repeated GameServer mergeGameSvrs = 15;
  375. // 角色等级
  376. int32 roleLv = 16;
  377. // 是否新角色
  378. bool newRole = 17;
  379. // 名字
  380. string roleName = 18;
  381. // 是否实名认证
  382. bool isRealName = 19;
  383. // 玩家年龄
  384. int32 age = 20;
  385. // 会话ID
  386. int64 sessionId = 21;
  387. }
  388. /* 平台用户绑定响应 */
  389. message PlatformUserBindResponse {
  390. // ...
  391. }
  392. /* 客户端配置获取响应 */
  393. message ClientConfigGetResponse {
  394. // 资源地址
  395. string assetsUrl = 1;
  396. // 大版本号
  397. int32 apkVer = 2;
  398. // 资源版本号
  399. int32 assetsVer = 3;
  400. // 协议版本号
  401. int32 protocolVer = 4;
  402. }
  403. /* 公告获取响应 */
  404. message AnnouncementGetResponse {
  405. // 公告信息列表
  406. repeated Announcement announcements = 1;
  407. }
  408. /* 服务器列表获取响应 */
  409. message ServerListGetResponse {
  410. // 绑定的角色信息列表
  411. repeated RoleSimpleInfo roles = 1;
  412. // 全部游戏服信息列表
  413. repeated GameServer gameSvrs = 2;
  414. }
  415. /* 游戏服登录响应 */
  416. message GameEnterResponse {
  417. // 玩家ID
  418. int64 playerId = 1;
  419. // 玩家名字
  420. string name = 2;
  421. // 玩家头像
  422. int32 icon = 3;
  423. // 玩家等级
  424. int32 level = 4;
  425. // 是否是新角色
  426. bool isNewRole = 5;
  427. // 解锁的关卡列表
  428. repeated int32 unlockStages = 6;
  429. // 关卡信息
  430. repeated Stage stages = 8;
  431. // 英雄数据
  432. repeated Hero heroes = 9;
  433. // 秘石列表
  434. repeated Gem gems = 10;
  435. // 武器数据
  436. repeated Weapon weapons = 11;
  437. // 道具数据
  438. repeated Item items = 12;
  439. // 任务信息
  440. repeated Task tasks = 13;
  441. // 羁绊送礼次数
  442. int32 GiveCount = 14;
  443. // 羁绊下一次刷新时间
  444. int64 NextRefreshTime = 15;
  445. // 符文列表
  446. repeated int32 runes = 16;
  447. // 总充值
  448. int32 totalRecharge = 17;
  449. // 解锁的选拔赛进度
  450. int32 unlockWarriorFinalistProgress = 18;
  451. // 公会ID
  452. int32 guildId = 19;
  453. // 遗物列表
  454. repeated Relic relics = 20;
  455. // 图纸列表
  456. repeated BluePrintInfo bluePrints = 21;
  457. // 已领取的章节奖励ID列表
  458. repeated int32 chapterRewards = 23;
  459. // 每日经验上限 今日已获得经验
  460. int32 GainedExpToday = 24;
  461. // 铁匠铺等级
  462. int32 forgeLv = 25;
  463. // 当前通关章节
  464. repeated int32 mainChapter = 26;
  465. // 已开服天数
  466. int32 openSrvDay = 27;
  467. // 当日零点时间戳
  468. int64 zeroTimestamp = 28;
  469. // 图鉴信息
  470. repeated Medal medals = 29;
  471. // 新手任务 当前套
  472. int32 newPlayerOder = 30;
  473. // 新手任务 当前套是否领取
  474. bool newPlayerOrderAward = 31;
  475. // 选择的称号ID
  476. int32 titleSelectId = 32;
  477. // 新手引导信息列表
  478. repeated Guide guides = 33;
  479. // 通关塔
  480. repeated int32 finishTower = 34;
  481. // 塔对应解锁状态
  482. repeated TowerChapter towerChapter = 35;
  483. // 选择的头像框ID
  484. int32 iconFrameSelectId = 36;
  485. // 最大解锁英雄等级
  486. int32 maxHeroLv = 37;
  487. // 铁匠铺研发次数
  488. int32 forgeResearchCount = 38;
  489. // 喜欢的英雄列表
  490. repeated int32 likeHeroes = 39;
  491. // 签到信息
  492. repeated Signed signed = 40;
  493. // 当前战令信息
  494. BattlePass battlePass = 41;
  495. // 铁匠铺升级剩余时间
  496. int64 forgeLvUpTime = 42;
  497. // 会话ID
  498. int64 sessionId = 43;
  499. // 公告信息列表
  500. repeated Announcement announcements = 44;
  501. // 月卡信息
  502. repeated Circular circulars = 45;
  503. // 月卡购买ID表
  504. repeated int32 circularIds = 46;
  505. // 活动信息列表
  506. repeated Activity activities = 47;
  507. }
  508. /* 游戏公告获取响应 */
  509. message GameAnnouncementGetResponse {
  510. // 公告信息列表
  511. repeated Announcement announcements = 1;
  512. }
  513. /* 英雄升级响应 */
  514. message HeroUpgradeResponse {
  515. // 当前等级
  516. int32 currLv = 1;
  517. // 当前经验值
  518. int32 currExp = 2;
  519. }
  520. /* 英雄觉醒响应 */
  521. message HeroAwakenResponse {
  522. // 当前觉醒等级
  523. int32 currAwakenLv = 1;
  524. }
  525. /* 道具使用响应 */
  526. message ItemUseResponse {
  527. // repeated Item items = 1;
  528. // 获得关卡Buff
  529. repeated StageBuff buffs = 2;
  530. }
  531. /* 道具出售响应 */
  532. message ItemSellResponse {
  533. // repeated Item items = 1;
  534. }
  535. /* 恢复体力值 */
  536. message PlayerRechargeResponse{
  537. // 当前体力值
  538. int32 strength = 1;
  539. // 下次恢复体力时间
  540. int64 nextRechargeTime = 2;
  541. }
  542. /* 体力购买响应 */
  543. message StrengthBuyResponse {
  544. // 获得道具
  545. // repeated Item items = 1;
  546. }
  547. /* 小红点更新响应 */
  548. message RedDotUpdateResponse {
  549. // 小红点信息
  550. RedDot redDot = 1;
  551. }
  552. /* 主线关卡进入响应 */
  553. message MainStageEnterResponse {
  554. // 关卡信息
  555. Stage stage = 1;
  556. }
  557. /* 完成关卡机关响应 */
  558. message StageTrapCompleteResponse {
  559. // ...
  560. }
  561. /* 完成关卡机关节点响应 */
  562. message StageTrapNodeCompleteResponse {
  563. // 获得道具
  564. repeated Item items = 1;
  565. // 随机机关ID
  566. int32 randomTrapId = 2;
  567. // 同步关卡任务信息
  568. repeated StageTask stageTasks = 3;
  569. // 解锁的关卡列表
  570. repeated int32 unlockStages = 4;
  571. // 获得临时道具
  572. // repeated Item tempItems = 6;
  573. // 获得关卡Buff
  574. repeated StageBuff stageBuffs = 7;
  575. // 机关信息
  576. repeated Trap traps = 8;
  577. // 机关节点信息
  578. TrapNode trapNode = 9;
  579. // 英雄属性改变
  580. repeated StageHeroChange heroChanges = 11;
  581. // 生命次数
  582. int32 liftCnt = 12;
  583. // 任务完成获得道具
  584. repeated Item taskAwardItems = 13;
  585. // 通关章节
  586. repeated int32 mainChapter = 14;
  587. // 复活英雄id
  588. int32 resurrectionHeroId = 15;
  589. // 移除buffID
  590. repeated int32 removeBuffId = 16;
  591. // 战斗英雄属性改变
  592. repeated StageHeroChange combatHeroChanges = 17;
  593. // 塔对应解锁状态
  594. repeated TowerChapter towerChapter = 18;
  595. // 最大解锁英雄等级
  596. int32 maxHeroLv = 19;
  597. // rogue强制退出
  598. bool rogueForceQuit = 20;
  599. // 是否死亡
  600. bool isDead = 21;
  601. }
  602. /* 主线关卡退出响应 */
  603. message MainStageQuitResponse {
  604. // 关卡星星数
  605. repeated int32 star = 1;
  606. // 解锁的关卡列表
  607. repeated int32 unlockStages = 2;
  608. // 收集完成数量
  609. int32 collectCompleteCnt = 3;
  610. // 收集总数量
  611. int32 collectTotalCnt = 4;
  612. // 任务完成数量
  613. int32 taskCompleteCnt = 5;
  614. // 任务总数量
  615. int32 taskTotalCnt = 6;
  616. }
  617. /* 主线关卡预览响应 */
  618. message MainStagePreviewResponse {
  619. // 关卡信息
  620. Stage stage = 1;
  621. }
  622. /* 章节奖励领取响应 */
  623. message ChapterRewardResponse {
  624. // 奖励道具
  625. // repeated Item items = 1;
  626. }
  627. /* 主动复活相应 */
  628. message StageResurrectResponse{
  629. Stage stage = 1;
  630. // 剩余复活次数
  631. int32 liftCnt = 2;
  632. }
  633. /* 装备强化响应 */
  634. message EquipmentUpgradeResponse {
  635. // 进阶装备ID
  636. int32 equipmentId = 1;
  637. }
  638. /* 武器强化响应 */
  639. message WeaponUpgradeResponse {
  640. // 当前等级
  641. int32 currLv = 1;
  642. }
  643. /* 武器升星响应 */
  644. message WeaponAwakenResponse {
  645. // 当前星级
  646. int32 currStar = 1;
  647. }
  648. /* 遗物升级响应 */
  649. message RelicUpGradeResponse
  650. {
  651. Relic relic = 1;
  652. /*// 等级
  653. int32 relicLv = 1;
  654. // exp
  655. int64 exp = 2;
  656. // pid
  657. int32 pid = 3;*/
  658. }
  659. /* 遗物升星响应 */
  660. message RelicUpStarResponse
  661. {
  662. }
  663. /* 遗物上锁响应 */
  664. message GeneralLockResponse{
  665. bool isLock = 1;
  666. // 上锁类型 1:武器 2:迷失 3:遗物
  667. int32 type = 2;
  668. }
  669. /* 遗物装备响应 */
  670. message RelicEquipResponse
  671. {
  672. // 是否成功
  673. bool result = 1;
  674. // 替换的遗物Id
  675. int32 relicId = 2;
  676. }
  677. /* 遗物合成响应 */
  678. message RelicComposeResponse{
  679. Relic info = 1;
  680. }
  681. /* 铁匠铺打开响应 */
  682. message ForgeOpenResponse{
  683. // 铁匠铺等级
  684. int32 forgeLv = 1;
  685. // 加速时间戳
  686. int64 speedUpTime = 2;
  687. // 制造次数
  688. int32 makeCount = 3;
  689. // 研发次数
  690. int32 researchCount = 4;
  691. // 槽位信息
  692. repeated ForgeSlot forgeSlots = 5;
  693. // 加速标志位
  694. bool speedUp = 6;
  695. // 当前道具剩余时间
  696. int64 speedItemTime = 7;
  697. // 已研发完成图纸
  698. repeated int32 completeResearchs = 8;
  699. // 铁匠铺id
  700. int32 forgeId = 9;
  701. // 铁匠铺升级结束时间
  702. int64 buildUpLVEndTime = 10;
  703. // 图纸信息
  704. repeated BluePrintInfo blueInfos = 11;
  705. }
  706. /* 铁匠铺研发响应 */
  707. message ForgeResearchResponse{
  708. // 槽位id
  709. int32 slotId = 1;
  710. // 槽位新加任务信息
  711. // ForgeSlotTask task = 2;
  712. // 图纸信息
  713. repeated BluePrintInfo blue = 2;
  714. }
  715. /* 铁匠铺制造响应 */
  716. message ForgeMakeResponse{
  717. // 制造类型 1武器 2秘石
  718. int32 makeType = 1;
  719. // 武器
  720. Weapon weapon = 2;
  721. // 秘石
  722. Gem gem = 3;
  723. }
  724. /* 铁匠铺加速响应 */
  725. message ForgeSpeedUpResponse{
  726. }
  727. /* 铁匠铺任务完成通知响应 */
  728. message ForgeAdviceResponse{
  729. // 完成研发图纸
  730. repeated int32 finishBluePrint = 1;
  731. // 当前槽位信息
  732. ForgeSlot forgeSlot = 2;
  733. }
  734. /* 铁匠铺槽位任务信息响应 */
  735. message ForgeSlotInfoResponse{
  736. // 槽位信息
  737. ForgeSlot forgeSlot = 1;
  738. }
  739. /* 铁匠铺升级响应 */
  740. message ForgeLvUpResponse{
  741. // 升级需要时间
  742. int64 endTime = 1;
  743. }
  744. /* 铁匠铺移除队列任务响应 */
  745. message ForgeRemoveResponse{
  746. // 移除返回道具
  747. repeated int32 returnItems = 1;
  748. // 移除返回道具数量
  749. repeated int32 returnItemsCount = 2;
  750. // 移除后最后的图纸id
  751. int32 removeLastId = 3;
  752. }
  753. /* 试炼之塔打开响应 */
  754. message TowerOpenResponse{
  755. //试炼之塔信息
  756. repeated TowerData towerData = 1;
  757. // 排位剩余时间
  758. int32 remainTime = 2;
  759. // 当前赛季
  760. int32 currentRank = 3;
  761. // 赛季信息 (角色排名、排名列表)
  762. TowerRank towerRank = 4;
  763. // 赛季奖励道具
  764. // repeated Item rewardItem = 5;
  765. }
  766. /* 试炼之塔解锁塔响应 */
  767. message TowerUnLockResponse{
  768. // 解锁标志位
  769. bool flag = 1;
  770. // 解锁图纸信息
  771. BluePrintInfo bluePrintInfo = 2;
  772. // 解锁塔信息
  773. Tower unLockTower = 3;
  774. }
  775. /* 试炼之塔锁英雄响应 */
  776. message TowerLockHeroResponse{
  777. TowerLevel towerLv = 1;
  778. }
  779. /* 试炼之塔解领取星级奖励 */
  780. message TowerRewardStarResponse{
  781. // 已领取的星级奖励
  782. repeated int32 rewardStar = 1;
  783. // 本次领取获得奖励
  784. // repeated Item items = 2;
  785. }
  786. /* 试炼之塔清除关卡信息 */
  787. message TowerResetLvResponse{
  788. // 清除标志位
  789. bool flag = 1;
  790. }
  791. /* 符文升级响应 */
  792. message RuneUpgradeResponse {
  793. // 当前符文ID
  794. int32 currRuneId = 1;
  795. }
  796. /* 聊天服进入响应 */
  797. message ChatEnterResponse
  798. {
  799. // 已进入的公共频道信息(世界、语言、公会频道)
  800. repeated PublicChannel publicChannels = 1;
  801. // 最近收到的发言信息(世界、语言、公会频道、私聊)
  802. repeated SpeakWords lastSpeakWords = 2;
  803. // UDP主机
  804. string udpHost = 3;
  805. // UDP端口
  806. int32 udpPort = 4;
  807. }
  808. /* 切换公共频道响应 */
  809. message SwitchPublicChannelResponse
  810. {
  811. // 最近发言信息
  812. repeated SpeakWords words = 1;
  813. }
  814. /* 发言信息记录响应 */
  815. message SpeakWordsRecordResponse
  816. {
  817. // 频道ID
  818. int32 chanId = 1;
  819. // 发言信息记录
  820. repeated SpeakWords words = 2;
  821. }
  822. /* 取得公共频道信息响应 */
  823. message GetPublicChannelResponse
  824. {
  825. // 公共频道信息
  826. repeated PublicChannel publicChannels = 1;
  827. }
  828. /* 加入公会频道响应 */
  829. message JoinGuildChannelResponse
  830. {
  831. // 公会频道最近发言信息
  832. repeated SpeakWords guildWords = 1;
  833. }
  834. /* 聊天频道加入响应 */
  835. message ChatChannelJoinResponse
  836. {
  837. // 频道信息
  838. PublicChannel publicChannel = 1;
  839. // 频道最近发言信息列表
  840. repeated SpeakWords lastSpeakWords = 2;
  841. }
  842. /*羁绊升级响应*/
  843. message FetterUpResponse{
  844. //羁绊等级
  845. int32 fetterLv = 1;
  846. //羁绊经验
  847. int32 exp = 2;
  848. //英雄id
  849. int32 heroId = 3;
  850. //发现喜欢物品的id
  851. repeated int32 loveItems = 4;
  852. //发现讨厌物品的id
  853. repeated int32 hateItems = 5;
  854. //下一次领取奖励刷新时间
  855. int64 NextRefreshTime = 6;
  856. //送礼次数
  857. int32 GiveCount = 7;
  858. }
  859. /*羁绊奖励领取响应*/
  860. message FetterAwardResponse{
  861. // 英雄id
  862. int32 heroId = 1;
  863. // 奖励领取情况
  864. repeated int32 lastReadTimes = 3;
  865. // 获得道具
  866. // repeated Item items = 4;
  867. // //发现喜欢物品的id
  868. // repeated int32 loveItems = 4;
  869. // //发现讨厌物品的id
  870. // repeated int32 hateItems = 5;
  871. }
  872. /* 藏宝图打开响应 */
  873. message TreasureMapOpenResponse
  874. {
  875. // 藏宝图信息
  876. repeated TreasureMap maps = 1;
  877. // 藏宝图星星领奖信息
  878. repeated TreasureStarAward starAwards = 2;
  879. }
  880. /* 藏宝图刷新响应 */
  881. message TreasureMapRefreshResponse
  882. {
  883. // 藏宝图信息
  884. repeated TreasureMap maps = 1;
  885. // 藏宝图信息
  886. repeated RoleSimpleInfo creatorPlayerInfos = 2;
  887. // 藏宝图星星领奖信息
  888. repeated TreasureStarAward starAwards = 3;
  889. }
  890. /* 藏宝图领奖响应 */
  891. message TreasureMapAwardResponse
  892. {
  893. // 奖励道具
  894. // repeated Item items = 1;
  895. // 是否有特殊奖励
  896. bool awardHasSpecial = 2;
  897. // 藏宝图星星领奖记录
  898. TreasureStarAward starAward = 3;
  899. }
  900. /* 藏宝图历史记录响应 */
  901. message TreasureMapRecordResponse
  902. {
  903. // 藏宝图信息
  904. repeated TreasureMap maps = 1;
  905. }
  906. /* 藏宝图记录详情响应 */
  907. message TreasureMapRecordDetailResponse
  908. {
  909. // 角色领奖信息
  910. repeated RoleSimpleInfo roleInfos = 1;
  911. }
  912. /* 藏宝图房间进入响应 */
  913. message TreasureRoomEnterResponse
  914. {
  915. // 藏宝图信息
  916. TreasureMap map = 1;
  917. }
  918. /* 主线关卡进入响应 */
  919. message TreasureAreaEnterResponse {
  920. // 关卡信息
  921. Stage stage = 1;
  922. }
  923. /* 主线关卡退出响应 */
  924. message TreasureAreaQuitResponse {
  925. // 道具信息
  926. // repeated Item items = 1;
  927. // 获得buff卡
  928. repeated int32 buffCards = 2;
  929. // 任务奖励索引,从1开始
  930. int32 taskRewardIndex = 3;
  931. // 古代物品价值
  932. int32 ancientValue = 4;
  933. }
  934. /* 藏宝图获取邀请码响应 */
  935. message TreasureMapInviteCodeResponse {
  936. // 邀请码
  937. int32 inviteCode = 1;
  938. }
  939. /* 藏宝图房间刷新响应 */
  940. message TreasureRoomRefreshResponse
  941. {
  942. // 藏宝图信息
  943. TreasureMap map = 1;
  944. }
  945. /* 藏宝图区域锁定响应 */
  946. message TreasureAreaLockResponse
  947. {
  948. // 藏宝图信息
  949. TreasureMap map = 1;
  950. }
  951. /* 藏宝图区域锁定响应 */
  952. message TreasureAreaSelectCardResponse
  953. {
  954. // 新增关卡Buff道具
  955. // repeated Item buffItems = 1;
  956. }
  957. /* 藏宝图古代物品排行榜响应 */
  958. message TreasureAncientRankResponse
  959. {
  960. // 自己古代遗物价值
  961. int32 myAncientValue = 1;
  962. // 排行榜玩家信息
  963. repeated RoleSimpleInfo rankRoleInfo = 2;
  964. // 排行奖励组ID
  965. int32 rewardGroupId = 3;
  966. }
  967. // 好友打开
  968. message FriendOpenResponse {
  969. repeated RoleSimpleInfo roleInfos = 1;
  970. }
  971. // 好友推荐
  972. message FriendRecommendResponse {
  973. repeated RoleSimpleInfo roleInfos = 1;
  974. }
  975. // 好友申请打开
  976. message FriendReqOpenResponse {
  977. repeated RoleSimpleInfo roleInfos = 1;
  978. }
  979. // 查询玩家信息
  980. message FindPlayerInfoResponse {
  981. RoleSimpleInfo roleInfo = 1;
  982. }
  983. /*玩家消耗体力响应*/
  984. message PlayerExpendEnergyResponse
  985. {
  986. //当前玩家体力
  987. int32 curPlayerEnergy = 1;
  988. //错误代码 0 是成功 1是体力不足
  989. int32 errorCode = 2;
  990. //是否升级
  991. bool isLevelUp = 3;
  992. //当前飞艇等级
  993. int32 curAirShipLevel = 4;
  994. //当前经验
  995. int64 curEX = 5;
  996. }
  997. /*玩家改名相应 */
  998. message PlayerReNameResponse
  999. {
  1000. string newPlayerName = 1;
  1001. //错误代码 0 是成功 1是钻石不足
  1002. int32 errorCode = 2;
  1003. }
  1004. //战斗数据返回,返回玩家对应的战斗英雄数据
  1005. message CombatStartResponse
  1006. {
  1007. //自己的英雄数据,规避下以后成长系统带来的bug,开发模式需要客户端的数据和服务器的数据对比,如有异常需要排查
  1008. repeated HeroData myHeroData = 1;
  1009. //敌人的英雄数据(PVE可能目前不需要,暂时可以不用赋值)
  1010. repeated HeroData enemyHeroData = 2;
  1011. // 勇者排位赛BattleId
  1012. int32 rankBattleId = 3;
  1013. // 战斗随机数种子
  1014. int32 combatSeed = 4;
  1015. // 战斗ID
  1016. int64 combatId = 5;
  1017. }
  1018. //战斗完成的回调,更具不同的战斗类型赋值不同的战斗数据
  1019. message CombatFinishResponse
  1020. {
  1021. // repeated Item items = 1;
  1022. // 生命次数
  1023. int32 liftCnt = 2;
  1024. // 当前关卡信息
  1025. Stage currStage = 3;
  1026. // 解锁的关卡列表
  1027. repeated int32 unlockStages = 6;
  1028. // 战斗剩余时间(单位:秒)
  1029. int32 remainTime = 7;
  1030. // 存活英雄数量
  1031. int32 remainHeroCnt = 8;
  1032. // 通关主线章节
  1033. repeated int32 mainChapter = 9;
  1034. // 当前层信息
  1035. TowerLevel towerLv = 10;
  1036. // 塔对应解锁状态
  1037. repeated TowerChapter towerChapter = 11;
  1038. // 最大解锁英雄等级
  1039. int32 maxHeroLv = 12;
  1040. // 关卡分数
  1041. WorldBossScore worldBossScore = 13;
  1042. // 通关难度
  1043. repeated int32 passDiff = 14;
  1044. // 藏宝图战斗丢失古代物品
  1045. repeated Item lossItems = 15;
  1046. }
  1047. /* 编辑阵容响应 */
  1048. message TeamPresetEditResponse
  1049. {
  1050. // 阵容ID
  1051. int32 presetId = 1;
  1052. }
  1053. /* 应用阵容响应 */
  1054. message TeamPresetUseResponse
  1055. {
  1056. // 关卡调整阵型计数
  1057. int32 stageFormationCnt = 1;
  1058. TeamPreset useTeamPreset = 2;
  1059. }
  1060. /* 阵容获取响应 */
  1061. message TeamPresetFindResponse
  1062. {
  1063. // 预设队伍信息
  1064. repeated TeamPreset teamPresets = 1;
  1065. // 队伍应用信息
  1066. TeamPreset useTeamPreset = 2;
  1067. // 队伍长度
  1068. int32 type = 3;
  1069. }
  1070. /* 特殊玩法布阵响应 */
  1071. message TeamPresetSpecialResponse{
  1072. // 布阵
  1073. repeated TeamPreset teamPresets = 1;
  1074. }
  1075. /**
  1076. 特殊玩法打开响应
  1077. */
  1078. message TeamPresetSpecialOpenResponse{
  1079. repeated TeamSpecial teamSpecials = 1;
  1080. }
  1081. /* 招募打开响应 */
  1082. message SummonOpenResponse
  1083. {
  1084. // 招募信息列表
  1085. repeated Summon summons = 1;
  1086. // 招募刷新时间
  1087. int32 summonRefreshTime = 2;
  1088. }
  1089. /* 招募英雄和抽取武器响应 */
  1090. message SummonResponse {
  1091. // 道具信息
  1092. // repeated Item items = 1;
  1093. // 招募信息
  1094. Summon summon = 2;
  1095. }
  1096. /* 招募记录获取响应 */
  1097. message SummonRecordGetResponse {
  1098. // 招募记录信息
  1099. repeated SummonRecord summonRecords = 1;
  1100. // 总页数
  1101. int32 totalPage = 2;
  1102. }
  1103. /* 商城打开响应 */
  1104. message ShopOpenResponse {
  1105. // 商店信息
  1106. repeated Shop shops = 1;
  1107. // 首充双倍列表
  1108. repeated int32 firstChargeDouble = 2;
  1109. }
  1110. /* 商店商品取得响应 */
  1111. message ShopItemGetResponse {
  1112. // 商店信息
  1113. Shop shop = 1;
  1114. }
  1115. /* 商店商品购买响应 */
  1116. message ShopItemBuyResponse {
  1117. // 获得的道具
  1118. // repeated Item items = 1;
  1119. }
  1120. /* 商店礼包购买响应 */
  1121. message ShopGiftItemBuyResponse {
  1122. // 订单ID
  1123. string orderId = 1;
  1124. }
  1125. /* 商店刷新响应 */
  1126. message ShopRefreshResponse {
  1127. // 商店信息
  1128. Shop shop = 1;
  1129. }
  1130. /* 基础副本打开响应 */
  1131. message DuplicateOpenResponse{
  1132. // 副本信息
  1133. repeated Duplicate duplicates = 1;
  1134. }
  1135. /* 副本打开(带地图) */
  1136. message DuplicateEnterResponse{
  1137. // 副本信息
  1138. repeated Duplicate duplicates = 1;
  1139. //机关信息
  1140. Stage stage = 2;
  1141. }
  1142. /* 资源副本退出(带地图) */
  1143. message DuplicateQuitResponse{
  1144. // 副本信息
  1145. repeated Duplicate duplicates = 1;
  1146. //得到道具
  1147. // repeated Item items = 2;
  1148. }
  1149. // 副本自动战斗响应
  1150. message DuplicateAutoFightResponse {
  1151. }
  1152. /* 所有探索任务 */
  1153. message ExploreTaskOpenResponse
  1154. {
  1155. //所有任务信息
  1156. repeated ExploreTask exploreTasks = 1;
  1157. //酒馆等级
  1158. int32 exploreLv = 2;
  1159. //酒馆升级时间
  1160. int64 exploreUpTime = 3;
  1161. //酒馆任务完成次数
  1162. int32 taskOverCount = 4;
  1163. }
  1164. /* 探索任务开始响应 */
  1165. message ExploreTaskStartResponse
  1166. {
  1167. //任务信息
  1168. ExploreTask exploreTask = 1;
  1169. }
  1170. /*获取任务领奖响应*/
  1171. message ExploreTaskAwardResponse
  1172. {
  1173. // 任务奖励
  1174. repeated Item items = 1;
  1175. // 大成功奖励
  1176. repeated Item bigSuccessItems = 2;
  1177. }
  1178. /*探索任务接受响应*/
  1179. message ExploreTaskAcceptResponse
  1180. {
  1181. }
  1182. /*酒馆升级响应*/
  1183. message ExploreLvUpResponse
  1184. {
  1185. int64 upOverTime = 1;
  1186. }
  1187. /*获取商业建筑的数据响应*/
  1188. message MallBuildingGetDataResponse
  1189. {
  1190. //对应的建筑数据
  1191. repeated MallBuildingData mallBuildingDatas = 1;
  1192. }
  1193. message MallBuildingSetWorkHeroResponse
  1194. {
  1195. MallBuildingData mallBuildingData = 1;
  1196. }
  1197. /*获取商业建筑打工奖励响应*/
  1198. message MallBuildingGetWorkAwardResponse
  1199. {
  1200. //工作奖励
  1201. // repeated Item workAward = 1;
  1202. MallBuildingData mallBuildingData = 2;
  1203. }
  1204. /* 打工数据获取响应 */
  1205. message WorkDataGetResponse {
  1206. // 打工建筑信息
  1207. repeated WorkBuilding workBuildings = 1;
  1208. // 打工Buff信息
  1209. repeated WorkBuff workBuffs = 2;
  1210. // 存储的道具
  1211. repeated Item storageItems = 3;
  1212. // 存储的时间
  1213. int32 storageTime = 4;
  1214. }
  1215. /* 打工英雄设置响应 */
  1216. message WorkHeroSetResponse {
  1217. // 设置英雄的建筑信息
  1218. WorkBuilding workBuilding = 1;
  1219. }
  1220. /* 打工英雄一键设置响应 */
  1221. message WorkHeroSetAllResponse {
  1222. // 打工建筑信息
  1223. repeated WorkBuilding workBuildings = 1;
  1224. }
  1225. /* 打工奖励获取响应 */
  1226. message WorkAwardGetResponse {
  1227. // 奖励道具
  1228. // repeated Item items = 1;
  1229. }
  1230. /* 打工Buff兑换响应 */
  1231. message WorkBuffBuyResponse {
  1232. // 兑换的Buff
  1233. WorkBuff workBuff = 1;
  1234. // 打工建筑信息
  1235. repeated WorkBuilding workBuildings = 2;
  1236. }
  1237. /*
  1238. 战斗复活
  1239. */
  1240. message CombatResurrectionResponse
  1241. {
  1242. bool isOk = 1;
  1243. }
  1244. // 成就打开响应
  1245. message AchievementOpenResponse
  1246. {
  1247. // 成就已领奖的列表
  1248. repeated int32 achievementAwardIds = 1;
  1249. }
  1250. // 成就领取响应
  1251. message AchievementAwardResponse
  1252. {
  1253. // repeated Item items = 1;
  1254. }
  1255. // 勇士选拔赛打开界面
  1256. message WarriorOpenResponse
  1257. {
  1258. int32 progress = 1; //入围赛进度
  1259. int32 rankSeason = 2; //第几赛季
  1260. int32 refreshTime = 3; //刷新时间
  1261. int32 rankNumber = 4; //排名
  1262. int32 rankScore = 5; //分数
  1263. repeated WarriorRankData allRankLayers = 6;//排位赛所有信息
  1264. int32 lastRankLayer = 7; //上次排位赛层数
  1265. int64 playerEnergy = 8; //玩家体力
  1266. }
  1267. // 勇士选拔赛打开排行榜界面
  1268. message WarriorOpenRankListResponse
  1269. {
  1270. repeated RoleSimpleInfo allPlayerInfos = 1;
  1271. int32 myScore = 2;
  1272. int32 myRankNumber = 3;
  1273. }
  1274. /* 获取喜欢英雄列表响应*/
  1275. message GetLikeHeroListResponse
  1276. {
  1277. //英雄列表
  1278. repeated int32 heroIds = 1;
  1279. }
  1280. /* 公会创建响应 */
  1281. message GuildCreateResponse
  1282. {
  1283. // 公会信息
  1284. GuildInfo guildInfo = 1;
  1285. // 公会成员信息
  1286. MemberInfo memberInfo = 2;
  1287. }
  1288. /* 公会搜索响应 */
  1289. message GuildSearchResponse
  1290. {
  1291. // 公会信息列表
  1292. repeated GuildInfo guildInfos = 1;
  1293. }
  1294. /* 公会刷新响应 */
  1295. message GuildRefreshResponse
  1296. {
  1297. // 公会信息列表
  1298. repeated GuildInfo guildInfos = 1;
  1299. }
  1300. /* 公会详细信息响应 */
  1301. message GuildDetailResponse
  1302. {
  1303. // 公会详细信息
  1304. GuildInfo guildInfo = 1;
  1305. // 公会成员列表
  1306. repeated MemberInfo memberInfos = 2;
  1307. }
  1308. /* 公会成员响应 */
  1309. message GuildMemberResponse
  1310. {
  1311. // 公会成员列表
  1312. repeated MemberInfo memberInfos = 1;
  1313. }
  1314. /* 公会日志响应 */
  1315. message GuildLogResponse
  1316. {
  1317. // 公会日志列表
  1318. repeated GuildLog guildLogs = 1;
  1319. // 总页数
  1320. int32 totalPage = 2;
  1321. }
  1322. /* 公会申请列表响应 */
  1323. message GuildApplyListResponse
  1324. {
  1325. // 公会申请角色信息列表
  1326. repeated RoleSimpleInfo roleInfos = 1;
  1327. }
  1328. /* 公会信息取得响应 */
  1329. message GuildInfoGetResponse
  1330. {
  1331. // 公会信息
  1332. GuildInfo guildInfo = 1;
  1333. // 公会成员信息
  1334. repeated MemberInfo memberInfos = 2;
  1335. }
  1336. /* 公会申请响应 */
  1337. message GuildApplyResponse
  1338. {
  1339. // 如果公会自由加入,返回公会信息
  1340. GuildInfo guildInfo = 1;
  1341. }
  1342. /* 公会申请确认响应 */
  1343. message GuildApplyConfirmResponse
  1344. {
  1345. // 成功的申请ID列表
  1346. repeated int64 okApplyIds = 1;
  1347. }
  1348. /* 公会活动排行榜信息 */
  1349. message GuildActivityRankResponse{
  1350. int32 guildRank = 1;
  1351. int32 guildGold = 2;
  1352. int32 guildSilver = 3;
  1353. int32 guildBronze = 4;
  1354. repeated RoleSimpleInfo roleSimples = 5;
  1355. }
  1356. /* 公会活动信息 */
  1357. message GuildActivityResponse{
  1358. repeated int32 activityIds = 1;
  1359. }
  1360. /* 共斗进入房间响应 */
  1361. message FightTogetherEnterRoomResponse
  1362. {
  1363. // 房间ID
  1364. int32 roomId = 1;
  1365. // 房间内玩家信息
  1366. repeated FightTogetherPlayerInfo FightTogetherPlayerInfo = 2;
  1367. // 房间进入限制 1=私密房间 2=公开房间 4=好友可见 8=公会成员可见
  1368. int32 limit = 3;
  1369. // 房主玩家ID
  1370. int64 ownerPlayerId = 4;
  1371. }
  1372. /* 共斗创建房间响应 */
  1373. message FightTogetherCreateRoomResponse
  1374. {
  1375. // 房间ID
  1376. int32 roomId = 1;
  1377. }
  1378. /* 共斗获取玩家信息响应 */
  1379. message FightTogetherGetPlayerInfoResponse
  1380. {
  1381. FightTogetherPlayerInfo fightTogetherPlayerInfo = 1;
  1382. }
  1383. /* 共斗界面打开响应 */
  1384. message FightTogetherOpenResponse
  1385. {
  1386. // 共斗信息
  1387. repeated FightTogether fightTogether = 1;
  1388. }
  1389. /* 共斗房间搜索响应 */
  1390. message FightTogetherSearchResponse
  1391. {
  1392. // 共斗房间信息
  1393. repeated FightTogetherRoom rooms = 1;
  1394. // 房主角色信息
  1395. repeated RoleSimpleInfo ownerPlayerInfo = 2;
  1396. }
  1397. /* 共斗BOSS组打开响应 */
  1398. message FightTogetherGroupOpenResponse
  1399. {
  1400. // 各个BOSS在线人数
  1401. repeated int32 onlineNums = 1;
  1402. }
  1403. /* 单人训练打开响应 */
  1404. message RogueLikeOpenResponse{
  1405. repeated RogueLike rogueLikes = 1;
  1406. // 当前赛季
  1407. int32 currentSeason = 2;
  1408. // 本赛季剩余时间
  1409. int64 remainder = 3;
  1410. // 本期已获取代币数量
  1411. repeated int32 currentToken = 4;
  1412. // 排行榜信息
  1413. RogueRank rogueRank = 5;
  1414. // 当前周
  1415. repeated int32 rogueRankWeekId = 6;
  1416. // 本期道具刷新时间剩余
  1417. int64 remainTimeWeek = 7;
  1418. }
  1419. /* 单人训练开始响应 */
  1420. message RogueLikeEnterResponse{
  1421. // mapId
  1422. int32 mapId = 1;
  1423. // 英雄属性
  1424. int32 rogueMapId = 2;
  1425. // 关卡信息
  1426. Stage stage = 3;
  1427. // 节点地图池组
  1428. repeated int32 randomNode = 4;
  1429. // 下张地图
  1430. repeated int32 nextMapId = 5;
  1431. // 复活次数
  1432. int32 riseCnt = 6;
  1433. // 随机种子
  1434. int32 randomSeed = 7;
  1435. // 是否刷新周期 标准
  1436. bool isRefresh = 8;
  1437. // 当前节点id
  1438. int32 currentNodeId = 9;
  1439. }
  1440. /* 单人训练节点切换 */
  1441. message RogueLikeChangeNodeResponse{
  1442. Stage stage = 1;
  1443. // mapId
  1444. int32 mapId = 2;
  1445. // 英雄属性
  1446. int32 rogueMapId = 3;
  1447. // 下个节点地图ID信息
  1448. repeated int32 nextRogueMapId = 4;
  1449. // 节点地图池组
  1450. repeated int32 randomNode = 5;
  1451. // 复活次数
  1452. int32 reliveCount = 6;
  1453. // 营地数量
  1454. int32 campsiteCount = 7;
  1455. // 当前节点Order
  1456. int32 currentOrder = 8;
  1457. }
  1458. /* 单人训练退出响应 */
  1459. message RogueLikeQuitResponse{
  1460. // 获得道具
  1461. // repeated Item items = 1;
  1462. // 完成节点值
  1463. int32 finishNode = 2;
  1464. // 勋章数量
  1465. int32 medalNum = 3;
  1466. // 赛季指标
  1467. int32 indexSeason = 4;
  1468. // 宝箱数量
  1469. int32 boxNum = 5;
  1470. // 营地数量
  1471. int32 campsiteCount = 6;
  1472. // 退出时最大等级
  1473. int32 quitMaxLv = 7;
  1474. }
  1475. /* 单人训练打开复活响应 */
  1476. message RogueLikeResurrectionResponse{
  1477. // 英雄复活属性
  1478. repeated StageHeroChange stageHeroChanges = 1;
  1479. }
  1480. /* 单人训练成就打开请求 */
  1481. message RogueLikeAchieveOpenResponse{
  1482. repeated Task tasks = 1;
  1483. repeated int32 achieveWard = 2;
  1484. }
  1485. /* 单人训练成就领取奖励 */
  1486. message RogueLikeAchieveAwardResponse{
  1487. // 成就奖励
  1488. // repeated Item items = 1;
  1489. }
  1490. /* 拟态科技打开 */
  1491. message RogueLikeMimicryOpenResponse{
  1492. // 已购买skill
  1493. repeated RogueMimicry rogueMimicries = 1;
  1494. // 上限
  1495. int32 limitValue = 2;
  1496. }
  1497. /* 单人训练重置拟态 */
  1498. message RogueLikeMimicryResetResponse{
  1499. // 降级返回的道具
  1500. // repeated Item addItem = 1;
  1501. }
  1502. /* 单人训练重置拟态升级降级 */
  1503. message RogueLikeMimicryLvResponse{
  1504. // 降级返回的道具
  1505. // repeated Item addItem = 1;
  1506. RogueMimicry rogueMimicry = 2;
  1507. }
  1508. /* 任务打开响应 */
  1509. message TaskOpenResponse {
  1510. // 积分领奖信息
  1511. repeated TaskScoreAward scoreAwards = 1;
  1512. // 日常刷新时间
  1513. int32 taskDailyRefreshTime = 2;
  1514. // 周常刷新时间
  1515. int32 taskWeeklyRefreshTime = 3;
  1516. }
  1517. /* 任务领奖响应 */
  1518. message TaskAwardResponse {
  1519. // 奖励道具
  1520. // repeated Item items = 1;
  1521. // 领奖的任务ID
  1522. repeated int32 awardTaskId = 2;
  1523. // 新手任务翻页 页数
  1524. int32 nextPage = 3;
  1525. }
  1526. /* 任务积分领奖响应 */
  1527. message TaskScoreAwardResponse {
  1528. // 奖励道具
  1529. // repeated Item items = 1;
  1530. }
  1531. /* 新手任务打开响应 */
  1532. message TaskNewOpenResponse{
  1533. // 新手任务
  1534. repeated NewTaskDay newTaskDays = 1;
  1535. // 当前天
  1536. int32 currentDay = 2;
  1537. // 领取大奖资格
  1538. bool grandPrize = 3;
  1539. // 刷新时间
  1540. int64 refreshTime = 4;
  1541. }
  1542. /* 新手任务积分领取奖励响应 */
  1543. message TaskNewScoreAwardResponse{
  1544. // 奖励道具
  1545. // repeated Item items = 1;
  1546. // 是否解锁下页(解锁才会返回)
  1547. int32 unlockPage = 2;
  1548. // 该套完成
  1549. bool orderFinish = 3;
  1550. // 领取大奖资格
  1551. bool grandPrize = 4;
  1552. }
  1553. /* 图鉴打开响应 */
  1554. message MedalOpenResponse{
  1555. repeated Medal medal = 1;
  1556. }
  1557. /* 图鉴领取响应 */
  1558. message MedalAwardResponse{
  1559. // 图鉴ID
  1560. int32 id = 1;
  1561. // 领取后图鉴等级
  1562. int32 level = 2;
  1563. // 领取后经验
  1564. int32 exp = 3;
  1565. // 领取后分类完成条目总数量
  1566. int32 doneCnt = 4;
  1567. // 领取条目ID
  1568. repeated PicGroup picGroup = 5;
  1569. // 已领取羁绊
  1570. repeated Trammels awardTrammel = 6;
  1571. // 该分页领取后数量
  1572. int32 awardCnt = 7;
  1573. // 奖励道具
  1574. // repeated Item items = 8;
  1575. // 该类领取后的所有条目
  1576. repeated int32 isAwardList = 9;
  1577. }
  1578. /* 称号打开响应 */
  1579. message TitleOpenResponse {
  1580. // 称号信息列表
  1581. repeated Title titles = 1;
  1582. }
  1583. /* 头像框打开响应 */
  1584. message IconFrameOpenResponse {
  1585. // 头像框信息列表
  1586. repeated IconFrame iconFrames = 1;
  1587. }
  1588. /* 邮箱打开响应 */
  1589. message MailBoxOpenResponse {
  1590. // 邮件信息列表
  1591. repeated Mail mails = 1;
  1592. }
  1593. /* 邮件详细响应 */
  1594. message MailDetailResponse {
  1595. // 邮件信息
  1596. Mail mails = 1;
  1597. }
  1598. /* 邮箱领奖响应 */
  1599. message MailAwardResponse {
  1600. // 奖励道具
  1601. // repeated Item items = 1;
  1602. // 领奖的邮件ID列表
  1603. repeated int64 awardMailIds = 2;
  1604. }
  1605. /* 邮箱领奖记录响应 */
  1606. message MailAwardRecordResponse {
  1607. // 邮件信息列表
  1608. repeated Mail mails = 1;
  1609. }
  1610. /* 新手引导保存响应 */
  1611. message GuideSaveResponse {
  1612. // 奖励道具
  1613. // repeated Item items = 1;
  1614. }
  1615. /* 战令打开响应 */
  1616. message BattlePassOpenResponse {
  1617. // 当前战令信息
  1618. BattlePass battlePass = 1;
  1619. }
  1620. /* 战令领奖响应 */
  1621. message BattlePassAwardResponse {
  1622. // 领取奖励
  1623. // repeated Item items = 1;
  1624. }
  1625. /* 契约打开请求 */
  1626. message ContractOpenResponse{
  1627. // 所有的契约信息列表
  1628. repeated Contract contract = 1;
  1629. }
  1630. /* 契约奖励领取 */
  1631. message ContractAwardResponse{
  1632. }
  1633. /* 签到响应 */
  1634. message SignedResponse{
  1635. Signed signed = 1;
  1636. }
  1637. /* 月卡打开请求 */
  1638. message CircularOpenResponse{
  1639. repeated Circular circular = 2;
  1640. }
  1641. /* 月卡领取 */
  1642. message CircularAwardResponse{
  1643. Circular circular = 1;
  1644. }
  1645. /* 活动打开响应 */
  1646. message ActivityOpenResponse{
  1647. // 活动信息列表
  1648. repeated Activity activities = 1;
  1649. }
  1650. /* 活动详细信息响应 */
  1651. message ActivityDetailResponse{
  1652. // 活动详细信息
  1653. Activity activity = 1;
  1654. }
  1655. /* 活动冲刺响应 */
  1656. message ActivityRushResponse{
  1657. // 活动冲刺
  1658. repeated ActivityRush activityRush = 1;
  1659. }
  1660. /* 世界boss踢榜 */
  1661. message ActivityWorldBossResponse{
  1662. // 世界boss
  1663. WorldBoss worldBoss = 1;
  1664. }
  1665. /* 活动藏宝图赞助响应 */
  1666. message ActivityTMSupportResponse {
  1667. // 赞助信息
  1668. TMSupport support = 1;
  1669. }
  1670. /* 活动藏宝图赞助领奖响应 */
  1671. message ActivityTMSupportAwardResponse {
  1672. // 已领奖等级
  1673. int32 hasAwardLv = 1;
  1674. }
  1675. message WorldBossRankResponse{
  1676. WorldBossRank worldBossRank = 1;
  1677. WorldBossGuildRank worldGuildRank = 2;
  1678. GuildRank beforeGuildRank = 3;
  1679. GuildRank guildRank = 4;
  1680. }
  1681. /* 遗物分解请求 */
  1682. message DecomposeResponse{
  1683. }