generated from VLADIMIR/template_frontend
add cover
This commit is contained in:
+25
-18
@@ -576,7 +576,7 @@ service EveningDetectiveServer {
|
||||
rpc GetGameMap(GetGameMapReq) returns (GetGameMapRsp) {
|
||||
option (google.api.http) = { get: "/api/games/{gameId}/map" };
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
tags: "Экраны";
|
||||
tags : "Экраны";
|
||||
summary: "Получить карту игры";
|
||||
};
|
||||
}
|
||||
@@ -587,7 +587,7 @@ service EveningDetectiveServer {
|
||||
body: "*"
|
||||
};
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
tags: "Экраны";
|
||||
tags : "Экраны";
|
||||
summary: "Изменить объект карты игры";
|
||||
};
|
||||
}
|
||||
@@ -1316,6 +1316,8 @@ message ScreenState {
|
||||
string error = 6;
|
||||
int64 state_version = 7;
|
||||
int64 position_ms = 8;
|
||||
string game_name = 9;
|
||||
string cover_image = 10;
|
||||
}
|
||||
|
||||
message CreateScreenSessionReq {}
|
||||
@@ -1374,29 +1376,34 @@ message SetScreenSoundRsp {
|
||||
}
|
||||
|
||||
message MapItem {
|
||||
string kind = 1;
|
||||
int32 item_id = 2;
|
||||
string label = 3;
|
||||
int32 x = 4;
|
||||
int32 y = 5;
|
||||
bool hidden = 6;
|
||||
string status = 7;
|
||||
bool sound_enabled = 8;
|
||||
string kind = 1;
|
||||
int32 item_id = 2;
|
||||
string label = 3;
|
||||
int32 x = 4;
|
||||
int32 y = 5;
|
||||
bool hidden = 6;
|
||||
string status = 7;
|
||||
bool sound_enabled = 8;
|
||||
}
|
||||
|
||||
message GetGameMapReq {
|
||||
int32 gameId = 1;
|
||||
}
|
||||
|
||||
message GetGameMapReq { int32 gameId = 1; }
|
||||
message GetGameMapRsp {
|
||||
string error = 1;
|
||||
string error = 1;
|
||||
repeated MapItem items = 2;
|
||||
}
|
||||
|
||||
message UpdateGameMapItemReq {
|
||||
int32 gameId = 1;
|
||||
string kind = 2;
|
||||
int32 itemId = 3;
|
||||
int32 x = 4;
|
||||
int32 y = 5;
|
||||
bool hidden = 6;
|
||||
int32 gameId = 1;
|
||||
string kind = 2;
|
||||
int32 itemId = 3;
|
||||
int32 x = 4;
|
||||
int32 y = 5;
|
||||
bool hidden = 6;
|
||||
}
|
||||
|
||||
message UpdateGameMapItemRsp { string error = 1; }
|
||||
|
||||
message SetScreenModeReq {
|
||||
|
||||
Reference in New Issue
Block a user