123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926 |
- syntax = "proto3";
- import "MsgEnum.proto";
- import "MsgStruct.proto";
- import "MsgNotify.proto";
- import "CombatDataStruct.proto";
- package com.fort23.protocol.protobuf;
- // option java_outer_classname = "MsgResponse";
- // option java_multiple_files = true;
- /* 响应消息,把所有的XxxResponse消息全部集合在一起 */
- message Response
- {
- // 消息类型
- MsgType msgType = 1;
- // 返回类型
- ReturnType returnType = 2;
- // 错误信息
- string errorMsg = 3;
- // 服务器时间毫秒
- int64 serverTime = 4;
- // 账号封禁时间
- int32 bannedTime = 5;
- // 账号封禁理由
- string bannedReason = 6;
- // 扩展参数
- ExtraParam extraParam = 7;
- // 错误信息参数
- repeated string errorParams = 8;
- // 同步数值道具信息
- repeated Item syncItems = 9;
- // 同步任务信息
- repeated Task syncTasks = 10;
- // 禁言时间
- int32 shutUpTime = 11;
- // 禁言理由
- string shutUpReason = 12;
- // 同步玩家等级
- int32 syncPlayerLv = 13;
- // 获得道具
- repeated Item gainItems = 14;
- // 获得图纸
- repeated BluePrintInfo bluePrints = 15;
- // 今日体力经验
- int32 GainedExpToday = 16;
- // 同步玩家战令等级
- int32 syncBattlePassLv = 17;
- // 小红点信息
- repeated RedDot redDots = 18;
- // 同步玩家战令ID
- int32 syncBattlePassId = 19;
- /********************************************************/
- /************* gateway服消息响应,分段号:21~40 **************/
- /********************************************************/
- // ...
- /********************************************************/
- /************* login服消息响应,分段号:41~100 **************/
- /********************************************************/
- PlatformUserRegisterResponse platformUserRegisterResp = 41;
- VisitorUserRegisterResponse visitorUserRegisterResp = 42;
- VisitorUserLoginResponse visitorUserLoginResp = 43;
- PlatformUserLoginResponse platformUserLoginResp = 44;
- PlatformUserBindResponse platformUserBindResp = 45;
- ClientConfigGetResponse clientConfigGetResp = 46;
- AnnouncementGetResponse announcementGetResp = 47;
- ServerListGetResponse serverListGetResp = 48;
- /********************************************************/
- /************* Game服消息响应,分段号:101~1000 *************/
- /********************************************************/
- GameEnterResponse gameEnterResp = 101;
- ItemUseResponse itemUseResp = 102;
- ItemSellResponse itemSellRsp = 103;
- PlayerRechargeResponse playerRechargeResp = 105;
- StrengthBuyResponse strengthBuyResp = 106;
- RedDotUpdateResponse redDotUpdateResp = 107;
- GameAnnouncementGetResponse gameAnnouncementGetResp = 108;
- HeroUpgradeResponse heroUpgradeResp = 210;
- HeroAwakenResponse heroAwakenResp = 211;
- MainStageEnterResponse mainStageEnterResp = 220;
- StageTrapCompleteResponse stageTrapCompleteResp = 221;
- StageTrapNodeCompleteResponse stageTrapNodeCompleteResp = 222;
- MainStageQuitResponse mainStageQuitResp = 223;
- MainStagePreviewResponse mainStagePreviewResp = 224;
- ChapterRewardResponse chapterRewardResp = 225;
- StageResurrectResponse stageResurrectResponse = 226;
- EquipmentUpgradeResponse equipmentUpgradeResp = 230;
- RuneUpgradeResponse runeUpgradeResp = 245;
- WeaponUpgradeResponse weaponUpgradeResp = 250;
- WeaponAwakenResponse weaponAwakenResp = 251;
- FetterUpResponse fetterRes = 260;
- FetterAwardResponse fetterAwardResp = 261;
- CombatStartResponse combatStartResp = 271;
- CombatFinishResponse combatFinishResp = 272;
- TeamPresetEditResponse teamPresetEditResp = 280;
- TeamPresetUseResponse teamPresetUseResp = 281;
- TeamPresetFindResponse teamPresetFindResp = 282;
- TeamPresetSpecialResponse teamPresetSpecialResponse = 283;
- TeamPresetSpecialOpenResponse teamPresetSpecialOpenResponse = 284;
- SummonOpenResponse summonOpenResp = 291;
- SummonResponse summonResp = 292;
- SummonRecordGetResponse summonRecordGetResp = 293;
- ShopOpenResponse shopOpenResp = 300;
- ShopItemGetResponse shopItemGetResp = 301;
- ShopItemBuyResponse shopItemBuyResp = 302;
- ShopRefreshResponse shopRefreshResp = 303;
- ShopGiftItemBuyResponse shopGiftItemBuyResp = 304;
- ShopGiftItemBuyNotify shopGiftItemBuyNotify = 305;
- DuplicateOpenResponse duplicateOpenResp = 310;
- DuplicateAutoFightResponse duplicateAutoFightResp = 311;
- DuplicateEnterResponse duplicateEnterResp = 312;
- DuplicateQuitResponse duplicateQuitResp = 313;
- ExploreTaskOpenResponse exploreTaskOpenResp = 320;
- ExploreTaskStartResponse exploreTaskStartResp = 321;
- ExploreTaskAwardResponse exploreTaskAwardResp = 322;
- ExploreTaskAcceptResponse exploreTaskAcceptResp = 323;
- ExploreLvUpResponse ExploreUpsResponse = 324;
- MallBuildingGetDataResponse mallBuildingGetDataResp = 330;
- MallBuildingSetWorkHeroResponse mallBuildingSetWorkHeroResponse = 331;
- MallBuildingGetWorkAwardResponse mallBuildingGetWorkAwardResponse = 332;
- WorkDataGetResponse workDataGetResp = 333;
- WorkHeroSetResponse workHeroSetResp = 334;
- WorkHeroSetAllResponse workHeroSetAllResp = 335;
- WorkAwardGetResponse workAwardGetResp = 336;
- WorkBuffBuyResponse WorkBuffBuyResp = 337;
- WarriorOpenResponse warriorOpenResp = 340;
- WarriorOpenRankListResponse warriorOpenRankListResp = 341;
- AchievementOpenResponse achievementOpenResp = 350;
- AchievementAwardResponse achievementAwardResp = 351;
- GetLikeHeroListResponse getLikeHeroListResponse = 360;
- RelicUpGradeResponse relicUpGradeResponse = 370;
- RelicUpStarResponse relicUpStarResponse = 371;
- GeneralLockResponse generalLockResponse = 372;
- RelicEquipResponse relicEquipResponse = 373;
- RelicComposeResponse relicComposeResponse = 374;
- ForgeOpenResponse forgeOpenResponse = 390;
- ForgeResearchResponse forgeResearchResponse = 391;
- ForgeMakeResponse forgeMakeResponse = 392;
- ForgeSpeedUpResponse forgeSpeedUpResponse = 393;
- ForgeAdviceResponse forgeAdviceResponse = 394;
- ForgeSlotInfoResponse forgeSlotInfoResponse = 395;
- ForgeLvUpResponse forgeLvUpsResponse = 396;
- ForgeRemoveResponse forgeRemoveResponse = 397;
- TowerOpenResponse towerOpenResponse = 401;
- TowerUnLockResponse towerUnLockResponse = 402;
- TowerLockHeroResponse towerLockHeroResponse = 403;
- TowerRewardStarResponse towerRewardStarResponse = 404;
- TowerResetLvResponse towerResetLvResponse = 405;
- RogueLikeOpenResponse rogueLikeOpenResponse = 420;
- RogueLikeEnterResponse rogueLikeEnterResponse = 421;
- RogueLikeChangeNodeResponse rogueLikeChangeNodeResponse = 422;
- RogueLikeQuitResponse rogueLikeQuitResponse = 423;
- RogueLikeResurrectionResponse rogueLikeResurrectionResponse = 424;
- RogueLikeAchieveOpenResponse rogueLikeAchieveOpenResponse = 425;
- RogueLikeAchieveAwardResponse rogueLikeAchieveAwardResponse = 426;
- RogueLikeMimicryOpenResponse rogueLikeMimicryOpenResponse = 427;
- RogueLikeMimicryLvResponse rogueLikeMimicryLvResponse = 428;
- RogueLikeMimicryResetResponse rogueLikeMimicryResetResponse = 429;
- TaskOpenResponse taskOpenResp = 430;
- TaskAwardResponse taskAwardResp = 431;
- TaskScoreAwardResponse taskScoreAwardResp = 432;
- TaskNewOpenResponse taskNewOpenResponse = 440;
- TaskNewScoreAwardResponse taskNewScoreAwardResponse = 441;
- MedalOpenResponse medalOpenResponse = 450;
- MedalAwardResponse medalAwardResponse = 451;
- TitleOpenResponse titleOpenResp = 460;
- IconFrameOpenResponse iconFrameOpenResp = 465;
- MailBoxOpenResponse mailBoxOpenResp = 470;
- MailDetailResponse mailDetailResp = 471;
- MailAwardResponse mailAwardResp = 472;
- MailAwardRecordResponse mailAwardRecordResp = 473;
- GuideSaveResponse guideSaveResp = 480;
- BattlePassOpenResponse battlePassOpenResp = 490;
- BattlePassAwardResponse battlePassAwardResp = 491;
- ContractOpenResponse contractOpenResp = 495;
- ContractAwardResponse contractAwardResp = 496;
- SignedResponse signedResponse = 500;
- CircularOpenResponse circularOpenResponse = 505;
- CircularAwardResponse circularAwardResponse = 506;
- ActivityOpenResponse activityOpenResp = 510;
- ActivityDetailResponse activityDetailResp = 511;
- ActivityRushResponse activityRushResp = 512;
- ActivityWorldBossResponse worldBossResp = 513;
- ActivityTMSupportResponse activityTMSupportResp = 514;
- ActivityTMSupportAwardResponse activityTMSupportAwardResp = 515;
- WorldBossRankResponse WorldBossRankResponse = 516;
- DecomposeResponse decomposeResponse = 520;
- /********************************************************/
- /************* Chat服消息响应,分段号:1001~1100 ************/
- /********************************************************/
- ChatEnterResponse chatEnterResp = 1001;
- SwitchPublicChannelResponse switchPublicChannelResp = 1002;
- SpeakWordsRecordResponse speakWordsRecordResp = 1003;
- GetPublicChannelResponse getPublicChannelResp = 1004;
- JoinGuildChannelResponse joinGuildChannelResp = 1005;
- PublicWordsNotify publicWordNotify = 1006;
- GuildWordsNotify guildWordsNotify = 1007;
- PrivateWordsNotify privateWordsNotify = 1008;
- RoomWordsNotify roomWordsNotify = 1009;
- ChatChannelJoinResponse chatChannelJoinResp = 1010;
- ChatMessageNotify chatMessageNotify = 1011;
- /********************************************************/
- /*********** Cross服消息响应,分段号:1101~1500 ***********/
- /********************************************************/
- TreasureMapOpenResponse treasureMapOpenResp = 1101;
- TreasureMapRefreshResponse treasureMapRefreshResp = 1102;
- TreasureMapAwardResponse treasureMapAwardResp = 1103;
- TreasureMapRecordResponse treasureMapRecordResp = 1104;
- TreasureMapRecordDetailResponse treasureMapRecordDetailResp = 1105;
- TreasureRoomEnterResponse treasureRoomEnterResp = 1106;
- TreasureRoomRefreshResponse treasureRoomRefreshResp = 1107;
- TreasureAreaEnterResponse treasureAreaEnterResp = 1108;
- TreasureAreaQuitResponse treasureAreaQuitResp = 1109;
- TreasureMapInviteCodeResponse treasureMapInviteCodeResp = 1110;
- TreasureAreaLockResponse treasureAreaLockResp = 1111;
- TreasureCardNotify treasureCardNotify = 1112;
- TreasureAreaSelectCardResponse treasureAreaSelectCardResp = 1113;
- TreasureAncientRankResponse treasureAncientRankResp = 1114;
- FriendOpenResponse friendOpenResp = 1120;
- FriendRecommendResponse friendRecommendResp = 1121;
- FriendReqOpenResponse friendReqOpenResp = 1122;
- FindPlayerInfoResponse findPlayerInfoResp = 1130;
- CombatResurrectionResponse combatResurrectionResp = 1131;
- GuildCreateResponse guildCreateResp = 1140;
- GuildSearchResponse guildSearchResp = 1141;
- GuildRefreshResponse guildRefreshResp = 1142;
- GuildMemberResponse guildMemberResp = 1143;
- GuildLogResponse guildLogResp = 1144;
- GuildApplyListResponse guildApplyListResp = 1145;
- GuildDetailResponse guildDetailResp = 1146;
- GuildInfoGetResponse guildInfoGetResp = 1147;
- GuildApplyResponse guildApplyResp = 1148;
- GuildApplyConfirmResponse guildApplyConfirmResp = 1149;
- GuildActivityRankResponse guildActivityRankResp = 1150;
- GuildActivityResponse guildActivityResp = 1151;
- GuildInfoNotify guildInfoNotify = 1152;
- FightTogetherEnterRoomResponse fightTogetherEnterRoomResp = 1167;
- FightTogetherCreateRoomResponse fightTogetherCreateRoomResp = 1168;
- FightTogetherStateAlterNotify fightTogetherStateAlterNotify = 1169;
- FightTogetherStartNotify fightTogetherStartNotify = 1170;
- FightTogetherMatchRoomNotify fightTogetherMatchRoomNotify = 1171;
- FightTogetherTeamAlterNotify fightTogetherTeamAlterNotify = 1172;
- FightTogetherPlayerInfoNotify fightTogetherPlayerInfoNotify = 1173;
- FightTogetherGetPlayerInfoResponse fightTogetherGetPlayerInfoResp = 1174;
- FightTogetherBuffAlterNotify fightTogetherBuffAlterNotify = 1175;
- FightTogetherFinishNotify fightTogetherFinishNotify = 1176;
- FightTogetherOpenResponse fightTogetherOpenResp = 1177;
- FightTogetherLeaveNotify fightTogetherLeaveNotify = 1178;
- FightTogetherSearchResponse fightTogetherSearchResp = 1179;
- FightTogetherGroupOpenResponse fightTogetherGroupOpenResp = 1180;
- FightTogetherAllReadyNotify fightTogetherAllReadyNotify = 1181;
- }
- /* 游客用户注册响应 */
- message VisitorUserRegisterResponse {
- // 账号ID
- int64 accountId = 1;
- // 账号密码
- string password = 2;
- // 最近登录的游戏服信息
- GameServer lastGameSvr = 3;
- // 登录token
- string loginToken = 4;
- // 登录时间
- int64 loginTime = 5;
- // 聊天服信息
- ChatServer chatSvr = 6;
- // 是否是测试版本
- bool isTestVersion = 7;
- // 公告内容
- string content = 8;
- // 是否可以进游戏
- bool canEnter = 9;
- // 公告持续时间,单位:秒
- int32 durationTime = 10;
- // 重置次数
- int32 resetCount = 11;
- // 合服游戏服信息列表
- repeated GameServer mergeGameSvrs = 12;
- // 玩家账号id
- string playerId = 13;
- // 是否是白名单
- bool isWhite = 14;
- // 账号封禁时间
- int32 bannedTime = 15;
- // 账号封禁理由
- string bannedReason = 16;
- // 是否实名认证
- bool isRealName = 17;
- // 会话ID
- int64 sessionId = 18;
- }
- /* 游客用户登录响应 */
- message VisitorUserLoginResponse {
- // 最近登录的角色ID
- int64 lastRoleId = 1;
- // 最近登录的游戏服信息
- GameServer lastGameSvr = 2;
- // 登录token
- string loginToken = 3;
- // 登录时间
- int64 loginTime = 4;
- // 绑定的googleUserId
- string googleUserId = 5;
- // 绑定的facebookUserId
- string facebookUserId = 6;
- // 绑定的appleUserId
- string appleUserId = 7;
- // 聊天服信息
- ChatServer chatSvr = 8;
- // 是否是测试版本
- bool isTestVersion = 9;
- // 公告内容
- string content = 10;
- // 是否可以进游戏
- bool canEnter = 11;
- // 公告持续时间,单位:秒
- int32 durationTime = 12;
- // 重置次数
- int32 resetCount = 13;
- // 合服游戏服信息列表
- repeated GameServer mergeGameSvrs = 14;
- // 是否是白名单
- bool isWhite = 15;
- // 是否实名认证
- bool isRealName = 18;
- // 账号ID
- int64 accountId = 19;
- // 玩家年龄
- int32 age = 20;
- // 会话ID
- int64 sessionId = 21;
- }
- /* 平台用户注册响应 */
- message PlatformUserRegisterResponse {
- // 账号ID
- int64 accountId = 1;
- // 最近登录的角色ID
- int64 lastRoleId = 2;
- // 最近登录的游戏服信息
- GameServer lastGameSvr = 3;
- // 登录token
- string loginToken = 4;
- // 聊天服信息
- ChatServer chatSvr = 5;
- }
- /* 平台用户登录响应 */
- message PlatformUserLoginResponse {
- // 最近登录的角色ID
- int64 lastRoleId = 1;
- // 最近登录的游戏服信息
- GameServer lastGameSvr = 2;
- // 登录token
- string loginToken = 3;
- // 登录时间
- int64 loginTime = 4;
- // 绑定的googleUserId
- string googleUserId = 5;
- // 绑定的facebookUserId
- string facebookUserId = 6;
- // 绑定的appleUserId
- string appleUserId = 7;
- // 账号ID
- int64 accountId = 8;
- // 账号密码
- string password = 9;
- // 聊天服信息
- ChatServer chatSvr = 10;
- // 是否是测试版本
- bool isTestVersion = 11;
- // 公告内容
- string content = 12;
- // 是否可以进游戏
- bool canEnter = 13;
- // 公告持续时间,单位:秒
- int32 durationTime = 14;
- // 合服游戏服信息列表
- repeated GameServer mergeGameSvrs = 15;
- // 角色等级
- int32 roleLv = 16;
- // 是否新角色
- bool newRole = 17;
- // 名字
- string roleName = 18;
- // 是否实名认证
- bool isRealName = 19;
- // 玩家年龄
- int32 age = 20;
- // 会话ID
- int64 sessionId = 21;
- }
- /* 平台用户绑定响应 */
- message PlatformUserBindResponse {
- // ...
- }
- /* 客户端配置获取响应 */
- message ClientConfigGetResponse {
- // 资源地址
- string assetsUrl = 1;
- // 大版本号
- int32 apkVer = 2;
- // 资源版本号
- int32 assetsVer = 3;
- // 协议版本号
- int32 protocolVer = 4;
- }
- /* 公告获取响应 */
- message AnnouncementGetResponse {
- // 公告信息列表
- repeated Announcement announcements = 1;
- }
- /* 服务器列表获取响应 */
- message ServerListGetResponse {
- // 绑定的角色信息列表
- repeated RoleSimpleInfo roles = 1;
- // 全部游戏服信息列表
- repeated GameServer gameSvrs = 2;
- }
- /* 游戏服登录响应 */
- message GameEnterResponse {
- // 玩家ID
- int64 playerId = 1;
- // 玩家名字
- string name = 2;
- // 玩家头像
- int32 icon = 3;
- // 玩家等级
- int32 level = 4;
- // 是否是新角色
- bool isNewRole = 5;
- // 解锁的关卡列表
- repeated int32 unlockStages = 6;
- // 关卡信息
- repeated Stage stages = 8;
- // 英雄数据
- repeated Hero heroes = 9;
- // 秘石列表
- repeated Gem gems = 10;
- // 武器数据
- repeated Weapon weapons = 11;
- // 道具数据
- repeated Item items = 12;
- // 任务信息
- repeated Task tasks = 13;
- // 羁绊送礼次数
- int32 GiveCount = 14;
- // 羁绊下一次刷新时间
- int64 NextRefreshTime = 15;
- // 符文列表
- repeated int32 runes = 16;
- // 总充值
- int32 totalRecharge = 17;
- // 解锁的选拔赛进度
- int32 unlockWarriorFinalistProgress = 18;
- // 公会ID
- int32 guildId = 19;
- // 遗物列表
- repeated Relic relics = 20;
- // 图纸列表
- repeated BluePrintInfo bluePrints = 21;
- // 已领取的章节奖励ID列表
- repeated int32 chapterRewards = 23;
- // 每日经验上限 今日已获得经验
- int32 GainedExpToday = 24;
- // 铁匠铺等级
- int32 forgeLv = 25;
- // 当前通关章节
- repeated int32 mainChapter = 26;
- // 已开服天数
- int32 openSrvDay = 27;
- // 当日零点时间戳
- int64 zeroTimestamp = 28;
- // 图鉴信息
- repeated Medal medals = 29;
- // 新手任务 当前套
- int32 newPlayerOder = 30;
- // 新手任务 当前套是否领取
- bool newPlayerOrderAward = 31;
- // 选择的称号ID
- int32 titleSelectId = 32;
- // 新手引导信息列表
- repeated Guide guides = 33;
- // 通关塔
- repeated int32 finishTower = 34;
- // 塔对应解锁状态
- repeated TowerChapter towerChapter = 35;
- // 选择的头像框ID
- int32 iconFrameSelectId = 36;
- // 最大解锁英雄等级
- int32 maxHeroLv = 37;
- // 铁匠铺研发次数
- int32 forgeResearchCount = 38;
- // 喜欢的英雄列表
- repeated int32 likeHeroes = 39;
- // 签到信息
- repeated Signed signed = 40;
- // 当前战令信息
- BattlePass battlePass = 41;
- // 铁匠铺升级剩余时间
- int64 forgeLvUpTime = 42;
- // 会话ID
- int64 sessionId = 43;
- // 公告信息列表
- repeated Announcement announcements = 44;
- // 月卡信息
- repeated Circular circulars = 45;
- // 月卡购买ID表
- repeated int32 circularIds = 46;
- // 活动信息列表
- repeated Activity activities = 47;
- }
- /* 游戏公告获取响应 */
- message GameAnnouncementGetResponse {
- // 公告信息列表
- repeated Announcement announcements = 1;
- }
- /* 英雄升级响应 */
- message HeroUpgradeResponse {
- // 当前等级
- int32 currLv = 1;
- // 当前经验值
- int32 currExp = 2;
- }
- /* 英雄觉醒响应 */
- message HeroAwakenResponse {
- // 当前觉醒等级
- int32 currAwakenLv = 1;
- }
- /* 道具使用响应 */
- message ItemUseResponse {
- // repeated Item items = 1;
- // 获得关卡Buff
- repeated StageBuff buffs = 2;
- }
- /* 道具出售响应 */
- message ItemSellResponse {
- // repeated Item items = 1;
- }
- /* 恢复体力值 */
- message PlayerRechargeResponse{
- // 当前体力值
- int32 strength = 1;
- // 下次恢复体力时间
- int64 nextRechargeTime = 2;
- }
- /* 体力购买响应 */
- message StrengthBuyResponse {
- // 获得道具
- // repeated Item items = 1;
- }
- /* 小红点更新响应 */
- message RedDotUpdateResponse {
- // 小红点信息
- RedDot redDot = 1;
- }
- /* 主线关卡进入响应 */
- message MainStageEnterResponse {
- // 关卡信息
- Stage stage = 1;
- }
- /* 完成关卡机关响应 */
- message StageTrapCompleteResponse {
- // ...
- }
- /* 完成关卡机关节点响应 */
- message StageTrapNodeCompleteResponse {
- // 获得道具
- repeated Item items = 1;
- // 随机机关ID
- int32 randomTrapId = 2;
- // 同步关卡任务信息
- repeated StageTask stageTasks = 3;
- // 解锁的关卡列表
- repeated int32 unlockStages = 4;
- // 获得临时道具
- // repeated Item tempItems = 6;
- // 获得关卡Buff
- repeated StageBuff stageBuffs = 7;
- // 机关信息
- repeated Trap traps = 8;
- // 机关节点信息
- TrapNode trapNode = 9;
- // 英雄属性改变
- repeated StageHeroChange heroChanges = 11;
- // 生命次数
- int32 liftCnt = 12;
- // 任务完成获得道具
- repeated Item taskAwardItems = 13;
- // 通关章节
- repeated int32 mainChapter = 14;
- // 复活英雄id
- int32 resurrectionHeroId = 15;
- // 移除buffID
- repeated int32 removeBuffId = 16;
- // 战斗英雄属性改变
- repeated StageHeroChange combatHeroChanges = 17;
- // 塔对应解锁状态
- repeated TowerChapter towerChapter = 18;
- // 最大解锁英雄等级
- int32 maxHeroLv = 19;
- // rogue强制退出
- bool rogueForceQuit = 20;
- // 是否死亡
- bool isDead = 21;
- }
- /* 主线关卡退出响应 */
- message MainStageQuitResponse {
- // 关卡星星数
- repeated int32 star = 1;
- // 解锁的关卡列表
- repeated int32 unlockStages = 2;
- // 收集完成数量
- int32 collectCompleteCnt = 3;
- // 收集总数量
- int32 collectTotalCnt = 4;
- // 任务完成数量
- int32 taskCompleteCnt = 5;
- // 任务总数量
- int32 taskTotalCnt = 6;
- }
- /* 主线关卡预览响应 */
- message MainStagePreviewResponse {
- // 关卡信息
- Stage stage = 1;
- }
- /* 章节奖励领取响应 */
- message ChapterRewardResponse {
- // 奖励道具
- // repeated Item items = 1;
- }
- /* 主动复活相应 */
- message StageResurrectResponse{
- Stage stage = 1;
- // 剩余复活次数
- int32 liftCnt = 2;
- }
- /* 装备强化响应 */
- message EquipmentUpgradeResponse {
- // 进阶装备ID
- int32 equipmentId = 1;
- }
- /* 武器强化响应 */
- message WeaponUpgradeResponse {
- // 当前等级
- int32 currLv = 1;
- }
- /* 武器升星响应 */
- message WeaponAwakenResponse {
- // 当前星级
- int32 currStar = 1;
- }
- /* 遗物升级响应 */
- message RelicUpGradeResponse
- {
- Relic relic = 1;
- /*// 等级
- int32 relicLv = 1;
- // exp
- int64 exp = 2;
- // pid
- int32 pid = 3;*/
- }
- /* 遗物升星响应 */
- message RelicUpStarResponse
- {
- }
- /* 遗物上锁响应 */
- message GeneralLockResponse{
- bool isLock = 1;
- // 上锁类型 1:武器 2:迷失 3:遗物
- int32 type = 2;
- }
- /* 遗物装备响应 */
- message RelicEquipResponse
- {
- // 是否成功
- bool result = 1;
- // 替换的遗物Id
- int32 relicId = 2;
- }
- /* 遗物合成响应 */
- message RelicComposeResponse{
- Relic info = 1;
- }
- /* 铁匠铺打开响应 */
- message ForgeOpenResponse{
- // 铁匠铺等级
- int32 forgeLv = 1;
- // 加速时间戳
- int64 speedUpTime = 2;
- // 制造次数
- int32 makeCount = 3;
- // 研发次数
- int32 researchCount = 4;
- // 槽位信息
- repeated ForgeSlot forgeSlots = 5;
- // 加速标志位
- bool speedUp = 6;
- // 当前道具剩余时间
- int64 speedItemTime = 7;
- // 已研发完成图纸
- repeated int32 completeResearchs = 8;
- // 铁匠铺id
- int32 forgeId = 9;
- // 铁匠铺升级结束时间
- int64 buildUpLVEndTime = 10;
- // 图纸信息
- repeated BluePrintInfo blueInfos = 11;
- }
- /* 铁匠铺研发响应 */
- message ForgeResearchResponse{
- // 槽位id
- int32 slotId = 1;
- // 槽位新加任务信息
- // ForgeSlotTask task = 2;
- // 图纸信息
- repeated BluePrintInfo blue = 2;
- }
- /* 铁匠铺制造响应 */
- message ForgeMakeResponse{
- // 制造类型 1武器 2秘石
- int32 makeType = 1;
- // 武器
- Weapon weapon = 2;
- // 秘石
- Gem gem = 3;
- }
- /* 铁匠铺加速响应 */
- message ForgeSpeedUpResponse{
- }
- /* 铁匠铺任务完成通知响应 */
- message ForgeAdviceResponse{
- // 完成研发图纸
- repeated int32 finishBluePrint = 1;
- // 当前槽位信息
- ForgeSlot forgeSlot = 2;
- }
- /* 铁匠铺槽位任务信息响应 */
- message ForgeSlotInfoResponse{
- // 槽位信息
- ForgeSlot forgeSlot = 1;
- }
- /* 铁匠铺升级响应 */
- message ForgeLvUpResponse{
- // 升级需要时间
- int64 endTime = 1;
- }
- /* 铁匠铺移除队列任务响应 */
- message ForgeRemoveResponse{
- // 移除返回道具
- repeated int32 returnItems = 1;
- // 移除返回道具数量
- repeated int32 returnItemsCount = 2;
- // 移除后最后的图纸id
- int32 removeLastId = 3;
- }
- /* 试炼之塔打开响应 */
- message TowerOpenResponse{
- //试炼之塔信息
- repeated TowerData towerData = 1;
- // 排位剩余时间
- int32 remainTime = 2;
- // 当前赛季
- int32 currentRank = 3;
- // 赛季信息 (角色排名、排名列表)
- TowerRank towerRank = 4;
- // 赛季奖励道具
- // repeated Item rewardItem = 5;
- }
- /* 试炼之塔解锁塔响应 */
- message TowerUnLockResponse{
- // 解锁标志位
- bool flag = 1;
- // 解锁图纸信息
- BluePrintInfo bluePrintInfo = 2;
- // 解锁塔信息
- Tower unLockTower = 3;
- }
- /* 试炼之塔锁英雄响应 */
- message TowerLockHeroResponse{
- TowerLevel towerLv = 1;
- }
- /* 试炼之塔解领取星级奖励 */
- message TowerRewardStarResponse{
- // 已领取的星级奖励
- repeated int32 rewardStar = 1;
- // 本次领取获得奖励
- // repeated Item items = 2;
- }
- /* 试炼之塔清除关卡信息 */
- message TowerResetLvResponse{
- // 清除标志位
- bool flag = 1;
- }
- /* 符文升级响应 */
- message RuneUpgradeResponse {
- // 当前符文ID
- int32 currRuneId = 1;
- }
- /* 聊天服进入响应 */
- message ChatEnterResponse
- {
- // 已进入的公共频道信息(世界、语言、公会频道)
- repeated PublicChannel publicChannels = 1;
- // 最近收到的发言信息(世界、语言、公会频道、私聊)
- repeated SpeakWords lastSpeakWords = 2;
- // UDP主机
- string udpHost = 3;
- // UDP端口
- int32 udpPort = 4;
- }
- /* 切换公共频道响应 */
- message SwitchPublicChannelResponse
- {
- // 最近发言信息
- repeated SpeakWords words = 1;
- }
- /* 发言信息记录响应 */
- message SpeakWordsRecordResponse
- {
- // 频道ID
- int32 chanId = 1;
- // 发言信息记录
- repeated SpeakWords words = 2;
- }
- /* 取得公共频道信息响应 */
- message GetPublicChannelResponse
- {
- // 公共频道信息
- repeated PublicChannel publicChannels = 1;
- }
- /* 加入公会频道响应 */
- message JoinGuildChannelResponse
- {
- // 公会频道最近发言信息
- repeated SpeakWords guildWords = 1;
- }
- /* 聊天频道加入响应 */
- message ChatChannelJoinResponse
- {
- // 频道信息
- PublicChannel publicChannel = 1;
- // 频道最近发言信息列表
- repeated SpeakWords lastSpeakWords = 2;
- }
- /*羁绊升级响应*/
- message FetterUpResponse{
- //羁绊等级
- int32 fetterLv = 1;
- //羁绊经验
- int32 exp = 2;
- //英雄id
- int32 heroId = 3;
- //发现喜欢物品的id
- repeated int32 loveItems = 4;
- //发现讨厌物品的id
- repeated int32 hateItems = 5;
- //下一次领取奖励刷新时间
- int64 NextRefreshTime = 6;
- //送礼次数
- int32 GiveCount = 7;
- }
- /*羁绊奖励领取响应*/
- message FetterAwardResponse{
- // 英雄id
- int32 heroId = 1;
- // 奖励领取情况
- repeated int32 lastReadTimes = 3;
- // 获得道具
- // repeated Item items = 4;
- // //发现喜欢物品的id
- // repeated int32 loveItems = 4;
- // //发现讨厌物品的id
- // repeated int32 hateItems = 5;
- }
- /* 藏宝图打开响应 */
- message TreasureMapOpenResponse
- {
- // 藏宝图信息
- repeated TreasureMap maps = 1;
- // 藏宝图星星领奖信息
- repeated TreasureStarAward starAwards = 2;
- }
- /* 藏宝图刷新响应 */
- message TreasureMapRefreshResponse
- {
- // 藏宝图信息
- repeated TreasureMap maps = 1;
- // 藏宝图信息
- repeated RoleSimpleInfo creatorPlayerInfos = 2;
- // 藏宝图星星领奖信息
- repeated TreasureStarAward starAwards = 3;
- }
- /* 藏宝图领奖响应 */
- message TreasureMapAwardResponse
- {
- // 奖励道具
- // repeated Item items = 1;
- // 是否有特殊奖励
- bool awardHasSpecial = 2;
- // 藏宝图星星领奖记录
- TreasureStarAward starAward = 3;
- }
- /* 藏宝图历史记录响应 */
- message TreasureMapRecordResponse
- {
- // 藏宝图信息
- repeated TreasureMap maps = 1;
- }
- /* 藏宝图记录详情响应 */
- message TreasureMapRecordDetailResponse
- {
- // 角色领奖信息
- repeated RoleSimpleInfo roleInfos = 1;
- }
- /* 藏宝图房间进入响应 */
- message TreasureRoomEnterResponse
- {
- // 藏宝图信息
- TreasureMap map = 1;
- }
- /* 主线关卡进入响应 */
- message TreasureAreaEnterResponse {
- // 关卡信息
- Stage stage = 1;
- }
- /* 主线关卡退出响应 */
- message TreasureAreaQuitResponse {
- // 道具信息
- // repeated Item items = 1;
- // 获得buff卡
- repeated int32 buffCards = 2;
- // 任务奖励索引,从1开始
- int32 taskRewardIndex = 3;
- // 古代物品价值
- int32 ancientValue = 4;
- }
- /* 藏宝图获取邀请码响应 */
- message TreasureMapInviteCodeResponse {
- // 邀请码
- int32 inviteCode = 1;
- }
- /* 藏宝图房间刷新响应 */
- message TreasureRoomRefreshResponse
- {
- // 藏宝图信息
- TreasureMap map = 1;
- }
- /* 藏宝图区域锁定响应 */
- message TreasureAreaLockResponse
- {
- // 藏宝图信息
- TreasureMap map = 1;
- }
- /* 藏宝图区域锁定响应 */
- message TreasureAreaSelectCardResponse
- {
- // 新增关卡Buff道具
- // repeated Item buffItems = 1;
- }
- /* 藏宝图古代物品排行榜响应 */
- message TreasureAncientRankResponse
- {
- // 自己古代遗物价值
- int32 myAncientValue = 1;
- // 排行榜玩家信息
- repeated RoleSimpleInfo rankRoleInfo = 2;
- // 排行奖励组ID
- int32 rewardGroupId = 3;
- }
- // 好友打开
- message FriendOpenResponse {
- repeated RoleSimpleInfo roleInfos = 1;
- }
- // 好友推荐
- message FriendRecommendResponse {
- repeated RoleSimpleInfo roleInfos = 1;
- }
- // 好友申请打开
- message FriendReqOpenResponse {
- repeated RoleSimpleInfo roleInfos = 1;
- }
- // 查询玩家信息
- message FindPlayerInfoResponse {
- RoleSimpleInfo roleInfo = 1;
- }
- /*玩家消耗体力响应*/
- message PlayerExpendEnergyResponse
- {
- //当前玩家体力
- int32 curPlayerEnergy = 1;
- //错误代码 0 是成功 1是体力不足
- int32 errorCode = 2;
- //是否升级
- bool isLevelUp = 3;
- //当前飞艇等级
- int32 curAirShipLevel = 4;
- //当前经验
- int64 curEX = 5;
- }
- /*玩家改名相应 */
- message PlayerReNameResponse
- {
- string newPlayerName = 1;
- //错误代码 0 是成功 1是钻石不足
- int32 errorCode = 2;
- }
- //战斗数据返回,返回玩家对应的战斗英雄数据
- message CombatStartResponse
- {
- //自己的英雄数据,规避下以后成长系统带来的bug,开发模式需要客户端的数据和服务器的数据对比,如有异常需要排查
- repeated HeroData myHeroData = 1;
- //敌人的英雄数据(PVE可能目前不需要,暂时可以不用赋值)
- repeated HeroData enemyHeroData = 2;
- // 勇者排位赛BattleId
- int32 rankBattleId = 3;
- // 战斗随机数种子
- int32 combatSeed = 4;
- // 战斗ID
- int64 combatId = 5;
- }
- //战斗完成的回调,更具不同的战斗类型赋值不同的战斗数据
- message CombatFinishResponse
- {
- // repeated Item items = 1;
- // 生命次数
- int32 liftCnt = 2;
- // 当前关卡信息
- Stage currStage = 3;
- // 解锁的关卡列表
- repeated int32 unlockStages = 6;
- // 战斗剩余时间(单位:秒)
- int32 remainTime = 7;
- // 存活英雄数量
- int32 remainHeroCnt = 8;
- // 通关主线章节
- repeated int32 mainChapter = 9;
- // 当前层信息
- TowerLevel towerLv = 10;
- // 塔对应解锁状态
- repeated TowerChapter towerChapter = 11;
- // 最大解锁英雄等级
- int32 maxHeroLv = 12;
- // 关卡分数
- WorldBossScore worldBossScore = 13;
- // 通关难度
- repeated int32 passDiff = 14;
- // 藏宝图战斗丢失古代物品
- repeated Item lossItems = 15;
- }
- /* 编辑阵容响应 */
- message TeamPresetEditResponse
- {
- // 阵容ID
- int32 presetId = 1;
- }
- /* 应用阵容响应 */
- message TeamPresetUseResponse
- {
- // 关卡调整阵型计数
- int32 stageFormationCnt = 1;
- TeamPreset useTeamPreset = 2;
- }
- /* 阵容获取响应 */
- message TeamPresetFindResponse
- {
- // 预设队伍信息
- repeated TeamPreset teamPresets = 1;
- // 队伍应用信息
- TeamPreset useTeamPreset = 2;
- // 队伍长度
- int32 type = 3;
- }
- /* 特殊玩法布阵响应 */
- message TeamPresetSpecialResponse{
- // 布阵
- repeated TeamPreset teamPresets = 1;
- }
- /**
- 特殊玩法打开响应
- */
- message TeamPresetSpecialOpenResponse{
- repeated TeamSpecial teamSpecials = 1;
- }
- /* 招募打开响应 */
- message SummonOpenResponse
- {
- // 招募信息列表
- repeated Summon summons = 1;
- // 招募刷新时间
- int32 summonRefreshTime = 2;
- }
- /* 招募英雄和抽取武器响应 */
- message SummonResponse {
- // 道具信息
- // repeated Item items = 1;
- // 招募信息
- Summon summon = 2;
- }
- /* 招募记录获取响应 */
- message SummonRecordGetResponse {
- // 招募记录信息
- repeated SummonRecord summonRecords = 1;
- // 总页数
- int32 totalPage = 2;
- }
- /* 商城打开响应 */
- message ShopOpenResponse {
- // 商店信息
- repeated Shop shops = 1;
- // 首充双倍列表
- repeated int32 firstChargeDouble = 2;
- }
- /* 商店商品取得响应 */
- message ShopItemGetResponse {
- // 商店信息
- Shop shop = 1;
- }
- /* 商店商品购买响应 */
- message ShopItemBuyResponse {
- // 获得的道具
- // repeated Item items = 1;
- }
- /* 商店礼包购买响应 */
- message ShopGiftItemBuyResponse {
- // 订单ID
- string orderId = 1;
- }
- /* 商店刷新响应 */
- message ShopRefreshResponse {
- // 商店信息
- Shop shop = 1;
- }
- /* 基础副本打开响应 */
- message DuplicateOpenResponse{
- // 副本信息
- repeated Duplicate duplicates = 1;
- }
- /* 副本打开(带地图) */
- message DuplicateEnterResponse{
- // 副本信息
- repeated Duplicate duplicates = 1;
- //机关信息
- Stage stage = 2;
- }
- /* 资源副本退出(带地图) */
- message DuplicateQuitResponse{
- // 副本信息
- repeated Duplicate duplicates = 1;
- //得到道具
- // repeated Item items = 2;
- }
- // 副本自动战斗响应
- message DuplicateAutoFightResponse {
- }
- /* 所有探索任务 */
- message ExploreTaskOpenResponse
- {
- //所有任务信息
- repeated ExploreTask exploreTasks = 1;
- //酒馆等级
- int32 exploreLv = 2;
- //酒馆升级时间
- int64 exploreUpTime = 3;
- //酒馆任务完成次数
- int32 taskOverCount = 4;
- }
- /* 探索任务开始响应 */
- message ExploreTaskStartResponse
- {
- //任务信息
- ExploreTask exploreTask = 1;
- }
- /*获取任务领奖响应*/
- message ExploreTaskAwardResponse
- {
- // 任务奖励
- repeated Item items = 1;
- // 大成功奖励
- repeated Item bigSuccessItems = 2;
- }
- /*探索任务接受响应*/
- message ExploreTaskAcceptResponse
- {
- }
- /*酒馆升级响应*/
- message ExploreLvUpResponse
- {
- int64 upOverTime = 1;
- }
- /*获取商业建筑的数据响应*/
- message MallBuildingGetDataResponse
- {
- //对应的建筑数据
- repeated MallBuildingData mallBuildingDatas = 1;
- }
- message MallBuildingSetWorkHeroResponse
- {
- MallBuildingData mallBuildingData = 1;
- }
- /*获取商业建筑打工奖励响应*/
- message MallBuildingGetWorkAwardResponse
- {
- //工作奖励
- // repeated Item workAward = 1;
- MallBuildingData mallBuildingData = 2;
- }
- /* 打工数据获取响应 */
- message WorkDataGetResponse {
- // 打工建筑信息
- repeated WorkBuilding workBuildings = 1;
- // 打工Buff信息
- repeated WorkBuff workBuffs = 2;
- // 存储的道具
- repeated Item storageItems = 3;
- // 存储的时间
- int32 storageTime = 4;
- }
- /* 打工英雄设置响应 */
- message WorkHeroSetResponse {
- // 设置英雄的建筑信息
- WorkBuilding workBuilding = 1;
- }
- /* 打工英雄一键设置响应 */
- message WorkHeroSetAllResponse {
- // 打工建筑信息
- repeated WorkBuilding workBuildings = 1;
- }
- /* 打工奖励获取响应 */
- message WorkAwardGetResponse {
- // 奖励道具
- // repeated Item items = 1;
- }
- /* 打工Buff兑换响应 */
- message WorkBuffBuyResponse {
- // 兑换的Buff
- WorkBuff workBuff = 1;
- // 打工建筑信息
- repeated WorkBuilding workBuildings = 2;
- }
- /*
- 战斗复活
- */
- message CombatResurrectionResponse
- {
- bool isOk = 1;
- }
- // 成就打开响应
- message AchievementOpenResponse
- {
- // 成就已领奖的列表
- repeated int32 achievementAwardIds = 1;
- }
- // 成就领取响应
- message AchievementAwardResponse
- {
- // repeated Item items = 1;
- }
- // 勇士选拔赛打开界面
- message WarriorOpenResponse
- {
- int32 progress = 1; //入围赛进度
- int32 rankSeason = 2; //第几赛季
- int32 refreshTime = 3; //刷新时间
- int32 rankNumber = 4; //排名
- int32 rankScore = 5; //分数
- repeated WarriorRankData allRankLayers = 6;//排位赛所有信息
- int32 lastRankLayer = 7; //上次排位赛层数
- int64 playerEnergy = 8; //玩家体力
- }
- // 勇士选拔赛打开排行榜界面
- message WarriorOpenRankListResponse
- {
- repeated RoleSimpleInfo allPlayerInfos = 1;
- int32 myScore = 2;
- int32 myRankNumber = 3;
- }
- /* 获取喜欢英雄列表响应*/
- message GetLikeHeroListResponse
- {
- //英雄列表
- repeated int32 heroIds = 1;
- }
- /* 公会创建响应 */
- message GuildCreateResponse
- {
- // 公会信息
- GuildInfo guildInfo = 1;
- // 公会成员信息
- MemberInfo memberInfo = 2;
- }
- /* 公会搜索响应 */
- message GuildSearchResponse
- {
- // 公会信息列表
- repeated GuildInfo guildInfos = 1;
- }
- /* 公会刷新响应 */
- message GuildRefreshResponse
- {
- // 公会信息列表
- repeated GuildInfo guildInfos = 1;
- }
- /* 公会详细信息响应 */
- message GuildDetailResponse
- {
- // 公会详细信息
- GuildInfo guildInfo = 1;
- // 公会成员列表
- repeated MemberInfo memberInfos = 2;
- }
- /* 公会成员响应 */
- message GuildMemberResponse
- {
- // 公会成员列表
- repeated MemberInfo memberInfos = 1;
- }
- /* 公会日志响应 */
- message GuildLogResponse
- {
- // 公会日志列表
- repeated GuildLog guildLogs = 1;
- // 总页数
- int32 totalPage = 2;
- }
- /* 公会申请列表响应 */
- message GuildApplyListResponse
- {
- // 公会申请角色信息列表
- repeated RoleSimpleInfo roleInfos = 1;
- }
- /* 公会信息取得响应 */
- message GuildInfoGetResponse
- {
- // 公会信息
- GuildInfo guildInfo = 1;
- // 公会成员信息
- repeated MemberInfo memberInfos = 2;
- }
- /* 公会申请响应 */
- message GuildApplyResponse
- {
- // 如果公会自由加入,返回公会信息
- GuildInfo guildInfo = 1;
- }
- /* 公会申请确认响应 */
- message GuildApplyConfirmResponse
- {
- // 成功的申请ID列表
- repeated int64 okApplyIds = 1;
- }
- /* 公会活动排行榜信息 */
- message GuildActivityRankResponse{
- int32 guildRank = 1;
- int32 guildGold = 2;
- int32 guildSilver = 3;
- int32 guildBronze = 4;
- repeated RoleSimpleInfo roleSimples = 5;
- }
- /* 公会活动信息 */
- message GuildActivityResponse{
- repeated int32 activityIds = 1;
- }
- /* 共斗进入房间响应 */
- message FightTogetherEnterRoomResponse
- {
- // 房间ID
- int32 roomId = 1;
- // 房间内玩家信息
- repeated FightTogetherPlayerInfo FightTogetherPlayerInfo = 2;
- // 房间进入限制 1=私密房间 2=公开房间 4=好友可见 8=公会成员可见
- int32 limit = 3;
- // 房主玩家ID
- int64 ownerPlayerId = 4;
- }
- /* 共斗创建房间响应 */
- message FightTogetherCreateRoomResponse
- {
- // 房间ID
- int32 roomId = 1;
- }
- /* 共斗获取玩家信息响应 */
- message FightTogetherGetPlayerInfoResponse
- {
- FightTogetherPlayerInfo fightTogetherPlayerInfo = 1;
- }
- /* 共斗界面打开响应 */
- message FightTogetherOpenResponse
- {
- // 共斗信息
- repeated FightTogether fightTogether = 1;
- }
- /* 共斗房间搜索响应 */
- message FightTogetherSearchResponse
- {
- // 共斗房间信息
- repeated FightTogetherRoom rooms = 1;
- // 房主角色信息
- repeated RoleSimpleInfo ownerPlayerInfo = 2;
- }
- /* 共斗BOSS组打开响应 */
- message FightTogetherGroupOpenResponse
- {
- // 各个BOSS在线人数
- repeated int32 onlineNums = 1;
- }
- /* 单人训练打开响应 */
- message RogueLikeOpenResponse{
- repeated RogueLike rogueLikes = 1;
- // 当前赛季
- int32 currentSeason = 2;
- // 本赛季剩余时间
- int64 remainder = 3;
- // 本期已获取代币数量
- repeated int32 currentToken = 4;
- // 排行榜信息
- RogueRank rogueRank = 5;
- // 当前周
- repeated int32 rogueRankWeekId = 6;
- // 本期道具刷新时间剩余
- int64 remainTimeWeek = 7;
- }
- /* 单人训练开始响应 */
- message RogueLikeEnterResponse{
- // mapId
- int32 mapId = 1;
- // 英雄属性
- int32 rogueMapId = 2;
- // 关卡信息
- Stage stage = 3;
- // 节点地图池组
- repeated int32 randomNode = 4;
- // 下张地图
- repeated int32 nextMapId = 5;
- // 复活次数
- int32 riseCnt = 6;
- // 随机种子
- int32 randomSeed = 7;
- // 是否刷新周期 标准
- bool isRefresh = 8;
- // 当前节点id
- int32 currentNodeId = 9;
- }
- /* 单人训练节点切换 */
- message RogueLikeChangeNodeResponse{
- Stage stage = 1;
- // mapId
- int32 mapId = 2;
- // 英雄属性
- int32 rogueMapId = 3;
- // 下个节点地图ID信息
- repeated int32 nextRogueMapId = 4;
- // 节点地图池组
- repeated int32 randomNode = 5;
- // 复活次数
- int32 reliveCount = 6;
- // 营地数量
- int32 campsiteCount = 7;
- // 当前节点Order
- int32 currentOrder = 8;
- }
- /* 单人训练退出响应 */
- message RogueLikeQuitResponse{
- // 获得道具
- // repeated Item items = 1;
- // 完成节点值
- int32 finishNode = 2;
- // 勋章数量
- int32 medalNum = 3;
- // 赛季指标
- int32 indexSeason = 4;
- // 宝箱数量
- int32 boxNum = 5;
- // 营地数量
- int32 campsiteCount = 6;
- // 退出时最大等级
- int32 quitMaxLv = 7;
- }
- /* 单人训练打开复活响应 */
- message RogueLikeResurrectionResponse{
- // 英雄复活属性
- repeated StageHeroChange stageHeroChanges = 1;
- }
- /* 单人训练成就打开请求 */
- message RogueLikeAchieveOpenResponse{
- repeated Task tasks = 1;
- repeated int32 achieveWard = 2;
- }
- /* 单人训练成就领取奖励 */
- message RogueLikeAchieveAwardResponse{
- // 成就奖励
- // repeated Item items = 1;
- }
- /* 拟态科技打开 */
- message RogueLikeMimicryOpenResponse{
- // 已购买skill
- repeated RogueMimicry rogueMimicries = 1;
- // 上限
- int32 limitValue = 2;
- }
- /* 单人训练重置拟态 */
- message RogueLikeMimicryResetResponse{
- // 降级返回的道具
- // repeated Item addItem = 1;
- }
- /* 单人训练重置拟态升级降级 */
- message RogueLikeMimicryLvResponse{
- // 降级返回的道具
- // repeated Item addItem = 1;
- RogueMimicry rogueMimicry = 2;
- }
- /* 任务打开响应 */
- message TaskOpenResponse {
- // 积分领奖信息
- repeated TaskScoreAward scoreAwards = 1;
- // 日常刷新时间
- int32 taskDailyRefreshTime = 2;
- // 周常刷新时间
- int32 taskWeeklyRefreshTime = 3;
- }
- /* 任务领奖响应 */
- message TaskAwardResponse {
- // 奖励道具
- // repeated Item items = 1;
- // 领奖的任务ID
- repeated int32 awardTaskId = 2;
- // 新手任务翻页 页数
- int32 nextPage = 3;
- }
- /* 任务积分领奖响应 */
- message TaskScoreAwardResponse {
- // 奖励道具
- // repeated Item items = 1;
- }
- /* 新手任务打开响应 */
- message TaskNewOpenResponse{
- // 新手任务
- repeated NewTaskDay newTaskDays = 1;
- // 当前天
- int32 currentDay = 2;
- // 领取大奖资格
- bool grandPrize = 3;
- // 刷新时间
- int64 refreshTime = 4;
- }
- /* 新手任务积分领取奖励响应 */
- message TaskNewScoreAwardResponse{
- // 奖励道具
- // repeated Item items = 1;
- // 是否解锁下页(解锁才会返回)
- int32 unlockPage = 2;
- // 该套完成
- bool orderFinish = 3;
- // 领取大奖资格
- bool grandPrize = 4;
- }
- /* 图鉴打开响应 */
- message MedalOpenResponse{
- repeated Medal medal = 1;
- }
- /* 图鉴领取响应 */
- message MedalAwardResponse{
- // 图鉴ID
- int32 id = 1;
- // 领取后图鉴等级
- int32 level = 2;
- // 领取后经验
- int32 exp = 3;
- // 领取后分类完成条目总数量
- int32 doneCnt = 4;
- // 领取条目ID
- repeated PicGroup picGroup = 5;
- // 已领取羁绊
- repeated Trammels awardTrammel = 6;
- // 该分页领取后数量
- int32 awardCnt = 7;
- // 奖励道具
- // repeated Item items = 8;
- // 该类领取后的所有条目
- repeated int32 isAwardList = 9;
- }
- /* 称号打开响应 */
- message TitleOpenResponse {
- // 称号信息列表
- repeated Title titles = 1;
- }
- /* 头像框打开响应 */
- message IconFrameOpenResponse {
- // 头像框信息列表
- repeated IconFrame iconFrames = 1;
- }
- /* 邮箱打开响应 */
- message MailBoxOpenResponse {
- // 邮件信息列表
- repeated Mail mails = 1;
- }
- /* 邮件详细响应 */
- message MailDetailResponse {
- // 邮件信息
- Mail mails = 1;
- }
- /* 邮箱领奖响应 */
- message MailAwardResponse {
- // 奖励道具
- // repeated Item items = 1;
- // 领奖的邮件ID列表
- repeated int64 awardMailIds = 2;
- }
- /* 邮箱领奖记录响应 */
- message MailAwardRecordResponse {
- // 邮件信息列表
- repeated Mail mails = 1;
- }
- /* 新手引导保存响应 */
- message GuideSaveResponse {
- // 奖励道具
- // repeated Item items = 1;
- }
- /* 战令打开响应 */
- message BattlePassOpenResponse {
- // 当前战令信息
- BattlePass battlePass = 1;
- }
- /* 战令领奖响应 */
- message BattlePassAwardResponse {
- // 领取奖励
- // repeated Item items = 1;
- }
- /* 契约打开请求 */
- message ContractOpenResponse{
- // 所有的契约信息列表
- repeated Contract contract = 1;
- }
- /* 契约奖励领取 */
- message ContractAwardResponse{
- }
- /* 签到响应 */
- message SignedResponse{
- Signed signed = 1;
- }
- /* 月卡打开请求 */
- message CircularOpenResponse{
- repeated Circular circular = 2;
- }
- /* 月卡领取 */
- message CircularAwardResponse{
- Circular circular = 1;
- }
- /* 活动打开响应 */
- message ActivityOpenResponse{
- // 活动信息列表
- repeated Activity activities = 1;
- }
- /* 活动详细信息响应 */
- message ActivityDetailResponse{
- // 活动详细信息
- Activity activity = 1;
- }
- /* 活动冲刺响应 */
- message ActivityRushResponse{
- // 活动冲刺
- repeated ActivityRush activityRush = 1;
- }
- /* 世界boss踢榜 */
- message ActivityWorldBossResponse{
- // 世界boss
- WorldBoss worldBoss = 1;
- }
- /* 活动藏宝图赞助响应 */
- message ActivityTMSupportResponse {
- // 赞助信息
- TMSupport support = 1;
- }
- /* 活动藏宝图赞助领奖响应 */
- message ActivityTMSupportAwardResponse {
- // 已领奖等级
- int32 hasAwardLv = 1;
- }
- message WorldBossRankResponse{
- WorldBossRank worldBossRank = 1;
- WorldBossGuildRank worldGuildRank = 2;
- GuildRank beforeGuildRank = 3;
- GuildRank guildRank = 4;
- }
- /* 遗物分解请求 */
- message DecomposeResponse{
- }
|