|
@@ -0,0 +1,1926 @@
|
|
|
+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{
|
|
|
+
|
|
|
+}
|