Merge branch 'master' of http://60.1.1.230/backend/jieling_protocol
commit
2f6b8aa833
|
@ -16,6 +16,7 @@ option optimize_for = SPEED;
|
|||
optional int64 gold = 8;
|
||||
optional int32 gem = 9;
|
||||
optional int32 chargeGem = 10;
|
||||
optional int32 curMapId = 11;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -22,3 +22,12 @@ import "CommonProto.proto";
|
|||
message DrawHeroResponse{
|
||||
repeated Hero heroList = 1;
|
||||
}
|
||||
|
||||
message HeroRandRequest{
|
||||
optional int32 type =1; //抽卡类型
|
||||
}
|
||||
|
||||
message HeroRandResponse{
|
||||
repeated Hero heroList = 1;
|
||||
repeated Item itemList = 2;
|
||||
}
|
||||
|
|
|
@ -4,12 +4,7 @@ option optimize_for = SPEED;
|
|||
|
||||
import "CommonProto.proto";
|
||||
|
||||
// 登录获取地图信息
|
||||
message MapGetInfoResponse{
|
||||
// 当前所在地图id
|
||||
optional int32 mapId = 1;
|
||||
}
|
||||
|
||||
message MapInfo{
|
||||
// 进入地图
|
||||
message MapEnterRequest{
|
||||
// 需要进入的地图id
|
||||
|
@ -20,4 +15,6 @@ import "CommonProto.proto";
|
|||
repeated Cell mapList = 1;
|
||||
// 当前所在坐标
|
||||
optional int32 curXY = 2;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -40,6 +40,8 @@ enum MessageType{
|
|||
|
||||
|
||||
// H 10700
|
||||
HERO_RAND_REQQUEST = 10701;
|
||||
HERO_RAND_RESPONSE = 10702;
|
||||
// I 10800
|
||||
// J 10900
|
||||
// K 11000
|
||||
|
|
Loading…
Reference in New Issue