streamline maps
This commit is contained in:
20
maps.proto
20
maps.proto
@@ -21,41 +21,21 @@ message IdMessage {
|
||||
int64 ID = 1;
|
||||
}
|
||||
|
||||
message MapEmbeddedResponse {
|
||||
int64 ID = 1;
|
||||
string DisplayName = 2;
|
||||
int32 GameID = 3;
|
||||
}
|
||||
|
||||
message MapResponse {
|
||||
int64 ID = 1;
|
||||
string DisplayName = 2;
|
||||
string Creator = 3;
|
||||
int32 GameID = 4;
|
||||
int64 Date = 5;
|
||||
int64 CreatedAt = 6;
|
||||
int64 UpdatedAt = 7;
|
||||
int64 Submitter = 8;
|
||||
int64 Thumbnail = 9;
|
||||
int64 AssetVersion = 10;
|
||||
int32 LoadCount = 11;
|
||||
int32 Modes = 12;
|
||||
}
|
||||
|
||||
message MapRequest {
|
||||
int64 ID = 1;
|
||||
optional string DisplayName = 2;
|
||||
optional string Creator = 3;
|
||||
optional int32 GameID = 4;
|
||||
optional int64 Date = 5;
|
||||
optional int64 Submitter = 6;
|
||||
}
|
||||
|
||||
message MapFilter {
|
||||
optional string DisplayName = 2;
|
||||
optional string Creator = 3;
|
||||
optional int32 GameID = 4;
|
||||
optional int64 Submitter = 5;
|
||||
}
|
||||
|
||||
message MapList {
|
||||
|
||||
@@ -43,10 +43,10 @@ message ServerItem {
|
||||
string VipServerID = 4;
|
||||
users.UserResponse User = 5;
|
||||
int32 GameID = 6;
|
||||
maps.MapResponse Map = 7;
|
||||
int64 MapDate = 8;
|
||||
repeated int64 PlayerList = 9;
|
||||
int64 LastUpdate = 10;
|
||||
maps.MapEmbeddedResponse Map = 11;
|
||||
}
|
||||
|
||||
message ServerUpdate {
|
||||
@@ -77,4 +77,4 @@ message ServerListRequest {
|
||||
|
||||
message NullResponse {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -45,12 +45,12 @@ message TimeResponse {
|
||||
int64 ID = 1;
|
||||
int64 Time = 2;
|
||||
users.UserResponse User = 3;
|
||||
maps.MapResponse Map = 4;
|
||||
optional bots.BotResponse Bot = 5;
|
||||
int64 Date = 6;
|
||||
int32 StyleID = 7;
|
||||
int32 ModeID = 8;
|
||||
int32 GameID = 9;
|
||||
maps.MapEmbeddedResponse Map = 10;
|
||||
}
|
||||
|
||||
message IdMessage {
|
||||
@@ -100,4 +100,4 @@ message Pagination {
|
||||
|
||||
message NullResponse {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user