From cb44c2f3cfdca26149520e9d62ff566b57efe2f4 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Fri, 24 Apr 2020 14:12:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=B8=B8=E5=89=AF=E6=9C=AC=20?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 4 ++-- protos/MessageTypeProto.proto | 4 ++++ protos/PlayerInfoProto.proto | 10 ++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index e399f93..a1b5507 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -69,11 +69,11 @@ option optimize_for = SPEED; optional int32 equipId = 2; optional SpecialEffects mainAttribute = 3; repeated SpecialEffects secondAttribute = 4; - optional int32 rebuildLevel = 5; //重铸等级 + optional int32 rebuildLevel = 5; //重铸等级(对应宝器精炼等级) optional int32 createTime = 6;//入手时间 optional int32 skillId = 7;//装备附带技能 optional int32 isLocked = 8; //是否被锁定 1:被锁定 0:未锁定 - optional int32 exp = 9; //字段可选 魂印传入经验 + optional int32 exp = 9; //字段可选 魂印传入经验(对应宝器强化等级) } message SoulPos{ diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 8cfddba..d5cbad4 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -166,6 +166,10 @@ enum MessageType{ DIRECT_BUY_GOODS_INDICATION = 10306; //道具直购 + DAILT_CHALLENGE_REQUEST = 10307;//日常挑战 + DAILT_CHALLENGE_RESPONSE = 10308; + + // E 10400 ERROR_CODE_INDICATION = 10400; diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 59bc084..feb7818 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -66,6 +66,7 @@ import "CommonProto.proto"; optional int32 vipDaily = 27;//特权每日礼包是否领取 0 未领 >0vip 等级 optional int32 missingRefreshCount = 28;//迷宫寻宝妖精刷新次数 repeated MonthCardInfo monthinfos = 29;//月卡 + repeated int32 dailyChallengeInfo = 30;//每日挑战信息 } @@ -701,6 +702,15 @@ import "CommonProto.proto"; message TakeMothDilyResponse{ optional Drop drop =1; } + message DailyChallengeRequest{ + optional int32 id = 1; + optional int32 type = 2;//1为挑战 2为扫荡 + } + message DailyChallengeResponse{ + optional Drop drop = 1; + optional FightData fightData = 2; + } +