2024-02-20 04:54:41 +00:00
|
|
|
// @generated
|
2024-07-14 00:40:26 +00:00
|
|
|
// This file is @generated by prost-build.
|
2024-02-20 04:54:41 +00:00
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ServerList {
|
|
|
|
#[prost(message, repeated, tag="1")]
|
|
|
|
pub servers: ::prost::alloc::vec::Vec<ServerItem>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct IdMessage {
|
|
|
|
#[prost(string, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub id: ::prost::alloc::string::String,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ServerCreate {
|
|
|
|
#[prost(string, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub id: ::prost::alloc::string::String,
|
|
|
|
#[prost(int64, tag="2")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "PlaceID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub place_id: i64,
|
|
|
|
#[prost(int64, tag="3")]
|
|
|
|
pub start_time: i64,
|
|
|
|
#[prost(string, tag="4")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "VipServerID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub vip_server_id: ::prost::alloc::string::String,
|
|
|
|
#[prost(int64, tag="5")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "UserID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub user_id: i64,
|
|
|
|
#[prost(int32, tag="6")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: i32,
|
|
|
|
#[prost(int64, tag="7")]
|
2024-07-18 22:12:09 +00:00
|
|
|
#[serde(rename = "MapID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub map_id: i64,
|
|
|
|
#[prost(int64, tag="8")]
|
|
|
|
pub map_date: i64,
|
|
|
|
#[prost(int64, repeated, tag="9")]
|
|
|
|
pub player_list: ::prost::alloc::vec::Vec<i64>,
|
|
|
|
#[prost(int64, tag="10")]
|
|
|
|
pub last_update: i64,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ServerItem {
|
|
|
|
#[prost(string, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub id: ::prost::alloc::string::String,
|
|
|
|
#[prost(int64, tag="2")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "PlaceID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub place_id: i64,
|
|
|
|
#[prost(int64, tag="3")]
|
|
|
|
pub start_time: i64,
|
|
|
|
#[prost(string, tag="4")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "VipServerID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub vip_server_id: ::prost::alloc::string::String,
|
|
|
|
#[prost(message, optional, tag="5")]
|
|
|
|
pub user: ::core::option::Option<super::users::UserResponse>,
|
|
|
|
#[prost(int32, tag="6")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: i32,
|
|
|
|
#[prost(message, optional, tag="7")]
|
|
|
|
pub map: ::core::option::Option<super::maps::MapResponse>,
|
|
|
|
#[prost(int64, tag="8")]
|
|
|
|
pub map_date: i64,
|
|
|
|
#[prost(int64, repeated, tag="9")]
|
|
|
|
pub player_list: ::prost::alloc::vec::Vec<i64>,
|
|
|
|
#[prost(int64, tag="10")]
|
|
|
|
pub last_update: i64,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ServerUpdate {
|
|
|
|
#[prost(string, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub id: ::prost::alloc::string::String,
|
|
|
|
#[prost(int64, optional, tag="2")]
|
2024-07-18 22:12:09 +00:00
|
|
|
#[serde(rename = "MapID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub map_id: ::core::option::Option<i64>,
|
|
|
|
#[prost(int64, optional, tag="3")]
|
|
|
|
pub map_date: ::core::option::Option<i64>,
|
|
|
|
#[prost(int64, repeated, tag="4")]
|
|
|
|
pub player_list: ::prost::alloc::vec::Vec<i64>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ServerFilter {
|
|
|
|
#[prost(string, optional, tag="1")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "ID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub id: ::core::option::Option<::prost::alloc::string::String>,
|
|
|
|
#[prost(int64, optional, tag="2")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "PlaceID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub place_id: ::core::option::Option<i64>,
|
|
|
|
#[prost(string, optional, tag="4")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "VipServerID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub vip_server_id: ::core::option::Option<::prost::alloc::string::String>,
|
|
|
|
#[prost(int64, optional, tag="5")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "UserID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub user_id: ::core::option::Option<i64>,
|
|
|
|
#[prost(int32, optional, tag="6")]
|
2024-07-17 23:21:55 +00:00
|
|
|
#[serde(rename = "GameID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub game_id: ::core::option::Option<i32>,
|
|
|
|
#[prost(int64, optional, tag="7")]
|
2024-07-18 22:12:09 +00:00
|
|
|
#[serde(rename = "MapID")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub map_id: ::core::option::Option<i64>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct Pagination {
|
|
|
|
#[prost(int32, tag="1")]
|
|
|
|
pub size: i32,
|
|
|
|
#[prost(int32, tag="2")]
|
|
|
|
pub number: i32,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct ServerListRequest {
|
|
|
|
#[prost(message, optional, tag="1")]
|
|
|
|
pub filter: ::core::option::Option<ServerFilter>,
|
|
|
|
#[prost(message, optional, tag="2")]
|
|
|
|
pub page: ::core::option::Option<Pagination>,
|
|
|
|
}
|
|
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
2024-07-16 20:01:15 +00:00
|
|
|
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
|
2024-07-17 23:26:01 +00:00
|
|
|
#[serde(rename_all = "PascalCase")]
|
2024-02-20 04:54:41 +00:00
|
|
|
pub struct NullResponse {
|
|
|
|
}
|
|
|
|
include!("servers.tonic.rs");
|
|
|
|
// @@protoc_insertion_point(module)
|