This commit is contained in:
2026-10-11 16:00:18 +07:00
parent 504b49f7cc
commit 030ca56900
77 changed files with 793 additions and 638 deletions
+17 -17
View File
@@ -1875,7 +1875,7 @@ message SetScreenSoundRsp {
message MapItem {
string kind = 1;
int32 itemID = 2;
string itemID = 2;
string label = 3;
int32 x = 4;
int32 y = 5;
@@ -1895,7 +1895,7 @@ message GetGameMapRsp {
message UpdateGameMapItemReq {
int32 gameID = 1;
string kind = 2;
int32 itemID = 3;
string itemID = 3;
int32 x = 4;
int32 y = 5;
bool hidden = 6;
@@ -2008,7 +2008,7 @@ message ParticipationRsp {
}
message Team {
int32 ID = 1;
string ID = 1;
string name = 2;
string status = 3;
string password = 4;
@@ -2076,7 +2076,7 @@ message GetGameResultsRsp {
message GameReview {
int32 ID = 1;
int32 gameID = 2;
int32 teamID = 3;
string teamID = 3;
string team_name = 4;
int32 rating = 5;
string text = 6;
@@ -2088,7 +2088,7 @@ message GameReview {
message CreateGameReviewReq {
int32 gameID = 1;
int32 teamID = 2;
string teamID = 2;
string password = 3;
int32 rating = 4;
string text = 5;
@@ -2187,12 +2187,12 @@ message AddTeamReq {
}
message AddTeamRsp {
int32 ID = 1;
string ID = 1;
string password = 2;
}
message UpdateTeamReq {
int32 ID = 1;
string ID = 1;
string name = 2;
}
@@ -2200,14 +2200,14 @@ message UpdateTeamRsp {
}
message DeleteTeamReq {
int64 ID = 1;
string ID = 1;
}
message DeleteTeamRsp {
}
message GiveTeamApplicationsReq {
int64 ID = 1;
string ID = 1;
string name = 2;
}
@@ -2215,7 +2215,7 @@ message GiveTeamApplicationsRsp {
}
message GetTeamStoryReq {
int64 ID = 1;
string ID = 1;
string password = 2;
}
@@ -2231,7 +2231,7 @@ message TeamAction {
}
message AddTeamActionReq {
int64 ID = 1;
string ID = 1;
string password = 2;
string code = 3;
}
@@ -2240,14 +2240,14 @@ message AddTeamActionRsp {
}
message DeleteLastTeamActionReq {
int64 ID = 1;
string ID = 1;
}
message DeleteLastTeamActionRsp {
}
message GetTeamAnswersReq {
int64 ID = 1;
string ID = 1;
string password = 2;
}
@@ -2256,7 +2256,7 @@ message GetTeamAnswersRsp {
}
message SubmitTeamAnswersReq {
int64 ID = 1;
string ID = 1;
string password = 2;
repeated Answer answers = 3;
}
@@ -2265,7 +2265,7 @@ message SubmitTeamAnswersRsp {
}
message SetTeamAnswerScoreReq {
int64 ID = 1;
string ID = 1;
string questionCode = 2;
// Балл; отсутствует — сбросить выставленный балл
optional int32 score = 3;
@@ -2404,7 +2404,7 @@ message DeviceHeartbeatReq {
string deviceID = 1;
string connectionID = 2;
optional int32 organizerGameID = 3;
optional int32 teamID = 4;
optional string teamID = 4;
string password = 5;
string screenID = 6;
string accessToken = 7;
@@ -2439,7 +2439,7 @@ message DeviceConnection {
string userAgent = 5;
bool connected = 6;
optional int32 gameID = 7;
optional int32 teamID = 8;
optional string teamID = 8;
optional int32 screenID = 9;
string kind = 10; // browser, organizer, team, screen
}