miduo_protocol/protos/MapInfoProto.proto

20 lines
348 B
Protocol Buffer
Raw Normal View History

2019-01-04 15:08:41 +08:00
package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
import "CommonProto.proto";
message MapInfo{
2019-01-07 20:03:29 +08:00
// 进入地图
message MapEnterRequest{
// 需要进入的地图id
optional int32 mapId = 1;
}
message MapEnterResponse{
// 地图信息
2019-01-18 17:05:34 +08:00
repeated Cell mapList = 1;
2019-01-07 20:03:29 +08:00
// 当前所在坐标
optional int32 curXY = 2;
2019-01-04 15:08:41 +08:00
}
}