格子索引添加
parent
1799b57e46
commit
8131b8c6ba
|
@ -842,5 +842,13 @@ option optimize_for = SPEED;
|
|||
optional int32 goodsId = 1;
|
||||
optional int32 remainTime = 2;
|
||||
}
|
||||
// 地图每个格子的信息
|
||||
message JourneyCell{
|
||||
// 格子id
|
||||
optional int32 cellId = 1;
|
||||
// mapPointConfig id
|
||||
optional int32 pointId = 2;
|
||||
optional int32 cellIndex = 3;
|
||||
}
|
||||
|
||||
|
|
@ -375,7 +375,7 @@ import "CommonProto.proto";
|
|||
optional int32 mapId = 1;//逍遥游数据
|
||||
}
|
||||
message JourneyGetOneInfoResponse{
|
||||
repeated Cell cell = 1;//所有格子信息
|
||||
repeated JourneyCell cell = 1;//所有格子信息
|
||||
optional int32 location = 2;//当前位置
|
||||
optional int32 diceNum = 3;//骰子个数
|
||||
repeated int32 randomItem = 4;//转盘信息
|
||||
|
@ -401,3 +401,4 @@ import "CommonProto.proto";
|
|||
optional int32 monsterIndex = 3;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue