实现血战到底服务器端代码时,修改协议

master_huanxiang
王永芳 2019-06-14 13:38:03 +08:00
parent 1895a22fe9
commit db35c69068
3 changed files with 7 additions and 4 deletions

View File

@ -262,7 +262,7 @@ enum MessageType{
ROOM_GAME_START_REQUEST = 11722; //
ROOM_GAME_START_RESPONSE = 11723;
ROOMGAME_END_INDICATION = 11724; //
ROOM_GAME_END_INDICATION = 11724; //
ROOM_SYNC_MYSELF_MOVE_REQUEST = 11726; //
ROOM_SYNC_MYSELF_MOVE_RESPONSE = 11727;

View File

@ -33,12 +33,14 @@ import "CommonProto.proto";
//
optional Drop temporaryItems = 8;
}
message RoomGameEndIndication{
optional int32 roomId = 1;
}
message RoomSyncMyselfMoveRequest{
optional int64 clientTimestamp = 1; //
optional int32 tartXY = 2;
repeated int32 tartXYs = 2; //
}
message RoomSyncMyselfMoveResponse{
optional int64 clientTimestamp = 1; //
@ -47,7 +49,8 @@ import "CommonProto.proto";
message RoomSyncOtherMoveIndiction{
optional int32 uid = 1;
optional int32 tartXY = 2;
//
repeated int32 tartXYs = 2;
}
message RoomTriggerFightIndication{

View File

@ -35,7 +35,7 @@ import "CommonProto.proto";
message RoomStartGameReadyRequest{
optional int32 type = 1; //type 1
}
//
//
message RoomStartGameReadyResponse{
optional int32 type = 1; //type 1
}