[proto] added GameRequest and GameResponse

This commit is contained in:
2018-05-17 17:45:02 +03:00
parent 33b0693a4e
commit 007621c48c
8 changed files with 60 additions and 15 deletions

View File

@@ -65,6 +65,13 @@ message StartGameResponse {
ru.m.tankz.proto.core.GameInfoProto game = 1;
}
// Game
message GameRequest {}
message GameResponse {
ru.m.tankz.proto.core.GameProto game = 1;
}
// Game Update
message GameUpdateRequest {
ru.m.tankz.proto.game.GameActionTypeProto type = 1;
@@ -86,7 +93,8 @@ message Request {
JoinGameRequest joinGame = 5;
LeaveGameRequest leaveGame = 6;
StartGameRequest startGame = 7;
GameUpdateRequest updateGame = 8;
GameRequest game = 8;
GameUpdateRequest updateGame = 9;
}
}
@@ -100,6 +108,7 @@ message Response {
JoinGameResponse joinGame = 5;
LeaveGameResponse leaveGame = 6;
StartGameResponse startGame = 7;
GameUpdateResponse updateGame = 8;
GameResponse game = 8;
GameUpdateResponse updateGame = 9;
}
}