diff --git a/protos/ActivityProto.proto b/protos/ActivityProto.proto index da3f944..2a064d5 100644 --- a/protos/ActivityProto.proto +++ b/protos/ActivityProto.proto @@ -110,6 +110,7 @@ import "CommonProto.proto"; // 奇门遁甲/玲珑棋局 message qiMenDunJiaDrawRequest{ optional int32 activityId = 1; + optional int32 num = 2;//1:单抽,10:十连抽 } message qiMenDunJiaDrawResponse{ diff --git a/protos/ArenaInfoProto.proto b/protos/ArenaInfoProto.proto index 64be21d..e7d6428 100644 --- a/protos/ArenaInfoProto.proto +++ b/protos/ArenaInfoProto.proto @@ -147,8 +147,85 @@ import "CommonProto.proto"; message TakeArenaBattleRewardResponse{ optional Drop drop = 1; } + //玉虚论道面板数据 + message CrossYuXuLunDaoGetInfoRequest{ + } + message CrossYuXuLunDaoGetInfoResponse{ + optional bool isFirst= 1;//是否赛季第一次请求 + repeated ArenaPersonInfo arenaEnemys = 2; //新的一批对手信息 + optional int32 oldMyscore = 3; //被挑战前积分 + optional int32 newMyscore = 4; //被挑战后积分 + optional int32 oldLevelId = 5; //被挑战前段位 + optional int32 newLevelId = 6; //被挑战后段位 + optional int32 myRank = 7 ;// 我的排名 + repeated Drop drop =8 ;//赛季重置奖励 + repeated int32 dailyRewardState =9;//日常奖励状态 + optional int32 changedTimes = 10 ;// 今日已挑战次数 + repeated Drop updrop =11 ;//升段奖励 + } - + //玉虚论道挑战前双方面板数据 + message CrossYuXuLunDaoChallengeBeforeRequest{ + optional int32 playerId = 1; + optional int32 defId = 2; + } + message CrossYuXuLunDaoChallengeBeforeResponse{ + optional TeamOneInfo myTeamInfo = 1;//己方面板数据 + optional TeamOneInfo defTeamInfo = 2;//对方面板数据 + } + //玉虚论道挑战 + message CrossYuXuLunDaoChallengeRequest{ + repeated int32 teamId = 1; //本人进攻队伍一id 队伍二id 队伍三id + optional int32 challengeUid = 2 ;// 对手uid + optional int32 challengeType = 3 ;// 0免费挑战|1消耗物品挑战 + } + message CrossYuXuLunDaoChallengeResponse{ + optional int32 myScore = 1 ; //我的分数值 +25 + optional int32 defScore =2; // 对手分数值 -25 + repeated ArenaPersonInfo arenaEnemys = 3; //新的一批对手信息 + repeated FightData fightData =4; // 战斗数据 + repeated int32 fightResult = 5 ;// 战斗结果 + repeated Drop drop = 6; + optional int32 myRank =7 ;// 我的排名 + optional int32 changedTimes = 8 ;// 今日已挑战次数 + optional int32 myNewScore = 9; // 我的最新分数值 + } + + //玉虚论道换一批 + message CrossYuXuLunDaoChangeEnemyInfoRequest{ + } + message CrossYuXuLunDaoChangeEnemyInfoResponse{ + repeated ArenaPersonInfo arenaEnemys = 1; //新的一批对手信息 + } + //玉虚论道领取日常奖励 + message CrossYuXuLunDaoGetDailyRewardRequest{ + optional int32 type = 1; //第几个宝箱 从0开始 + } + message CrossYuXuLunDaoGetDailyRewardResponse{ + optional bool isSuccess = 1 ;//是否领取成功 + optional Drop drop = 2 ;//日常奖励 + } + //玉虚论道战斗回放列表 + message CrossYuXuLunDaoBattleRecordRequest{ + optional int32 uid =1 ; + } + message CrossYuXuLunDaoBattleRecordResponse{ + repeated crossYxldPlayerRecordInfo recordData = 1;//没有队伍,战斗数据 + } + //玉虚论道战斗回放详情 + message CrossYuXuLunDaoBattleDetailRecordRequest{ + optional int32 uid =1 ; + optional int32 num =2 ;//第几条数据 从1开始 + } + message CrossYuXuLunDaoBattleDetailRecordResponse{ + optional crossYxldPlayerRecordInfo recordData = 1; + } + + + + + + diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index e766389..e47d84e 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -488,7 +488,8 @@ option optimize_for = SPEED; optional int32 userTitle = 13; optional int32 userMount = 14; optional int32 practiceLevel = 15;//修行等级 - optional int32 firstOrMini = 16;//四灵试炼,0:首通,1:最低战力 + optional int32 crossScore = 16; //玉虚论道积分 + optional int32 firstOrMini = 17;//四灵试炼,0:首通,1:最低战力 } @@ -677,7 +678,9 @@ option optimize_for = SPEED; optional int32 isApplyed = 8;//是否已经申请过 optional int32 userTitle = 9; optional int32 practiceLevel = 10;//修行等级 - repeated TeamOneTeamInfo crossTeam = 11;//跨服玉虚论道 三队伍 + repeated TeamOneTeamInfo crossTeam = 11;//跨服玉虚论道 三队伍 + optional int32 crossTeamScore = 12;//跨服玉虚论道积分 + optional string serverName = 13; //服务器名称 } //妖兽排行 @@ -1025,6 +1028,42 @@ option optimize_for = SPEED; optional string windowLink = 3;//素材链接 } + //玉虚论道战斗回放信息 + message crossYxldPlayerRecordInfo{ + optional int32 uid = 1; + optional int32 level = 2; + optional int32 head = 3; + optional string userName = 4; + optional int32 headFrame = 5;//头像框 + optional int32 time = 6; + optional FightData fightData1 = 7;//第一个队伍的战斗回放 + optional FightData fightData2 = 8;//第二个队伍的战斗回放 + optional FightData fightData3 = 9;//第三个队伍的战斗回放 + optional int32 power = 10; //总战力 + optional int32 type = 11; //战斗类行 1:进攻成功 2:进攻失败 3:防守成功 4:防守失败 + optional int32 practiceLevel = 12; //修行的等级 + optional int32 myScoreChange = 13; //我的积分变化情况 + repeated int32 resultList = 14;//战斗结果集合 + optional int32 score = 15; //当前玩家的积分 + optional string serverName = 16; //服务器名称 + repeated int32 result = 17; //战斗结果 + optional string myServerName = 18; //我的服务器名称 + } + + + //四象心法屬性結果 + message SixiangxinfaPropertyInfo{ + optional int32 propertyId = 1;//屬性id + optional int32 propertyNum=2;//屬性值 + } + + //四象心法信息 + message SixiangxinfaInfo{ + optional int32 professionId = 1;//职业id + optional int32 level = 2;//对应职业进阶等级 + repeated SixiangxinfaPropertyInfo propertyInfoList=3;//属性信息列表 + } + // 四灵试炼信息 message FourChallengeInfo{ optional int32 type = 1;//四灵类型 @@ -1045,4 +1084,10 @@ option optimize_for = SPEED; optional int32 treeLevel = 8;//神树等级 optional int32 fourTotal = 9;//四灵总层数 } + + // 七界试炼,遗物信息 + message Relic{ + optional int32 id = 1;//遗物id + optional int32 status = 2;//遗物状态,0:未激活,1:已激活 + } \ No newline at end of file diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index fe60fe5..2ca0bb5 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -420,7 +420,30 @@ import "CommonProto.proto"; repeated beautyBagCardInfo infoList = 1; } + + //四象心法强化协议 + message SixiangUpRequest{ + optional int32 professionId = 1; + } + message SixiangUpResponse{ + repeated SixiangxinfaPropertyInfo infoList = 1; + + } + + //四象心法进阶协议 + message SixiangUpStarRequest{ + optional int32 professionId = 1; + } + + message SixiangUpStarResponse{ + optional int32 starLv = 1; + repeated SixiangxinfaPropertyInfo infoList = 2; + + } + + + diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index ef4388c..6a298cf 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1100,6 +1100,12 @@ enum MessageType{ //20111 - 20200 装备、 EQUIP_COMPLEX_REQUEST = 20111;//合成装备 EQUIP_COMPLEX_RESPONSE = 20112; + + SIXIANG_UP_REQUEST = 20201;//四象心法强化 + SIXIANG_UP_RESPONSE = 20202; + + SIXIANG_UP_STAR_REQUEST = 20203;//四象心法进阶 + SIXIANG_UP_STAR_RESPONSE = 20204; @@ -1286,7 +1292,7 @@ enum MessageType{ qiMenDunJiaHitListResponse = 3040113; -// 乾坤宝盒-许愿魂印 + // 乾坤宝盒-许愿魂印 beautyBagCardIndication = 3040126; beautyBagWishEquipRequest = 3040127; @@ -1294,6 +1300,21 @@ enum MessageType{ beautyBagWishEquipResponse = 3040128; + // 七界试炼协议 + // 七界,界面信息 + SevenWorldInfoRequest = 3050001; + SevenWorldInfoResponse = 3050002; + SevenWorldInfoIndication = 3050003; + + // 七界,获取遗物信息 + SevenWorldRelicRequest = 3050004; + SevenWorldRelicResponse = 3050005; + + // 七界,挑战 + SevenWorldChallengeRequest = 3050010; + SevenWorldChallengeResponse = 3050011; + + //800000起为global 协议 @@ -1315,8 +1336,7 @@ enum MessageType{ //跨服天梯挑战与被挑战 战斗记录 GetWorldArenaRecordInfoRequest= 900007; GetWorldArenaRecordInfoResponse= 900008; - - + //gs --》word GetGSUserArenaInfoRequest = 900009; GetGSUserArenaInfoResponse = 900010; @@ -1343,13 +1363,36 @@ enum MessageType{ ArenaClearInfoRequest = 900021; GetWorldArenaInfoIndication = 900022; + //跨服玉虚论道 + CrossYuXuLunDaoGetInfoRequest = 900023; + CrossYuXuLunDaoGetInfoResponse = 900024; + CrossYuXuLunDaoChallengeRequest = 900025; + CrossYuXuLunDaoChallengeResponse = 900026; + CrossYuXuLunDaoChangeEnemyInfoRequest = 900027; + CrossYuXuLunDaoChangeEnemyInfoResponse = 900028; + CrossYuXuLunDaoGetDailyRewardRequest = 900029; + CrossYuXuLunDaoGetDailyRewardResponse = 900030; + GetPlayerCrossYxldOneTeamInfoRequest = 900031; + GetPlayerCrossYxldOneTeamInfoResponse = 900032; + CrossYuXuLunDaoChallengeBeforeRequest = 900033; + CrossYuXuLunDaoChallengeBeforeResponse = 900034; + CrossYuXuLunDaoBattleRecordRequest= 900035; + CrossYuXuLunDaoBattleRecordResponse= 900036; + CrossYuXuLunDaoBattleDetailRecordRequest =900037; + CrossYuXuLunDaoBattleDetailRecordResponse =900038; + ReplayWorldArenaRequest = 9000023; ReplayWorldArenaResponse = 9000024; + IsCrossRequert = 9000025; IsCrossResponse = 9000026; IsCrossIndication = 9000027; + + + + } diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 08006a7..35861ab 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -84,7 +84,8 @@ import "CommonProto.proto"; optional int32 randomCount = 43;//抽卡剩余必出 repeated randomTypeNum drawTimes = 44;//类型抽卡总次数 repeated HelpFightList helpFightList = 45;//已选取的助战信息 - optional int32 serverOpenTime = 46; // 服务器开服时间 + repeated SixiangxinfaInfo sixiangInfos = 46;//四象心法数据 + optional int32 serverOpenTime = 47; // 服务器开服时间 } @@ -521,7 +522,6 @@ import "CommonProto.proto"; optional int32 playerId = 1; optional int32 teamId = 2; optional int32 serverId = 3; - repeated int32 crossteamId = 4;//跨服玉虚论道的teamId } message GetPlayerOneTeamInfoResponse{ optional TeamOneInfo teamInfo = 1; @@ -972,22 +972,63 @@ import "CommonProto.proto"; optional int32 isCross = 1;// 0:否,1:是 } - message CheckBuyGoodsRequest{ - optional int32 goodsId = 1; - } - message CheckBuyGoodsResponse{ - optional string orderId = 1; + message CheckBuyGoodsRequest{ + optional int32 goodsId = 1; + } + message CheckBuyGoodsResponse{ + optional string orderId = 1; } message XunBaoMiZongEnterRequest{ - } - message XunBaoMiZongEnterResponse{ - optional bool isEnter = 1; + } + message XunBaoMiZongEnterResponse{ + optional bool isEnter = 1; } //太初密卷 message TaiChuSecretvolumeRequest{ - } + } message TaiChuSecretvolumeResponse{ repeated taiChuSecretvolume secretvolume = 1; - } - + } + //玉虚论道获取编队信息 + message GetPlayerCrossYxldOneTeamInfoRequest{ + optional int32 playerId = 1; + optional int32 serverId = 2; + } + message GetPlayerCrossYxldOneTeamInfoResponse{ + optional TeamOneInfo teamInfo = 1; + } + + // 七界试炼 + message SevenWorldInfoRequest{ + optional int32 tierId = 1;//层数id + } + + message SevenWorldInfoResponse{ + optional int32 id = 1; //层数id + optional int32 ranking = 2; //排名 + optional int32 integral = 3; //积分 + optional int32 totalTier = 4; //总层数 + } + + message SevenWorldRelicRequest{ + optional int32 relicId = 1;//遗物id + } + + message SevenWorldRelicResponse{ + repeated Relic info = 1;//遗物信息,只有已解锁的 + } + + message SevenWorldChallengeRequest{ + optional int32 tierId = 1;// 层数id + optional int32 privilageTypeId = 2;//特权id + } + + message SevenWorldChallengeResponse{ + optional int32 result = 1;//战斗结果 + optional FightData fightData = 2;// 战斗数据 + optional Drop drop = 3;// 获得道具 + repeated int32 teamBuffIds = 4;//队伍加成id列表 + repeated int32 relicIds = 5;//遗物加成id列表 + optional int32 round = 6;//回合数,计算加成 + } \ No newline at end of file