逍遥游 购买,战斗,协议提交

master_huanxiang
lvxinran 2020-10-15 12:15:47 +08:00
parent d9e61bdac8
commit 0d56d8a7cf
3 changed files with 28 additions and 6 deletions

View File

@ -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{

View File

@ -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;
}

View File

@ -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