diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index a038a2e..f2df6bc 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -841,7 +841,8 @@ option optimize_for = SPEED; } message JourneyGoodsInfo{ optional int32 goodsId = 1; - optional int32 remainTime = 2; + optional int32 goodsIndex = 2; + optional int32 remainTime = 3; } // 地图每个格子的信息 message JourneyCell{ diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index 2e93045..73c8ebe 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -396,18 +396,29 @@ import "CommonProto.proto"; repeated int32 random = 6;//转盘事件奖励组 optional int32 overTime = 7;//所有事件时间 } + + message JourneyFightRequest{ + optional int32 monsterIndex = 1; + optional int32 mapId = 2; + } + message JourneyFightResponse{ + optional FightData fightData = 1;//战斗数据 + optional JourneyMonsterInfo monster = 2;//战斗之后的怪物信息 + } + message JourneyRandomRequest{ + optional int32 mapId = 1; + } message JourneyRandomResponse{ optional int32 location = 1; optional Drop drop = 2; repeated int32 nextRandom = 3;//下次转盘奖励组 optional int32 count = 4;//剩余次数 } - message JourneyFightRequest{ - optional int32 monsterIndex = 1; + message JourneyBuyRequest{ + optional int32 mapId = 1; } - message JourneyFightResponse{ - optional FightData fightData = 1;//战斗数据 - optional JourneyMonsterInfo monster = 2;//战斗之后的怪物信息 + message JourneyBuyResponse{ + optional Drop drop = 1; } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index faa1e55..76321c4 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -551,6 +551,16 @@ enum MessageType{ JOURNEY_DO_REQUEST = 10923;//摇骰子 JOURNEY_DO_RESPONSE = 10924; + + JOURNEY_FIGHT_REQUEST = 10925;//逍遥游挑战boss + JOURNEY_FIGHT_RESPONSE = 10926; + + JOURNEY_RANDOM_REQUEST = 10927;//逍遥游转盘 + JOURNEY_RANDOM_RESPONSE = 10928; + + JOURNEY_BUY_REQUEST = 10929;//逍遥游购买物品 + JOURNEY_BUY_RESPONSE = 10930; + // K 11000 // L 11100