78 lines
2.2 KiB
Rust
78 lines
2.2 KiB
Rust
// @generated
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct IdMessage {
|
|
#[prost(int64, tag="1")]
|
|
pub id: i64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct GetRequest {
|
|
#[prost(int64, tag="1")]
|
|
pub user_id: i64,
|
|
#[prost(int32, tag="2")]
|
|
pub style_id: i32,
|
|
#[prost(int32, tag="3")]
|
|
pub game_id: i32,
|
|
#[prost(int32, tag="4")]
|
|
pub mode_id: i32,
|
|
#[prost(int32, repeated, tag="5")]
|
|
pub state_id: ::prost::alloc::vec::Vec<i32>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ListRequest {
|
|
#[prost(int32, tag="1")]
|
|
pub style_id: i32,
|
|
#[prost(int32, tag="2")]
|
|
pub game_id: i32,
|
|
#[prost(int32, tag="3")]
|
|
pub mode_id: i32,
|
|
#[prost(int64, tag="4")]
|
|
pub sort: i64,
|
|
#[prost(int32, repeated, tag="5")]
|
|
pub state_id: ::prost::alloc::vec::Vec<i32>,
|
|
#[prost(message, optional, tag="6")]
|
|
pub page: ::core::option::Option<Pagination>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct RankList {
|
|
#[prost(message, repeated, tag="1")]
|
|
pub ranks: ::prost::alloc::vec::Vec<RankMessage>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct RankMessage {
|
|
#[prost(int64, tag="1")]
|
|
pub id: i64,
|
|
#[prost(message, optional, tag="2")]
|
|
pub user: ::core::option::Option<super::users::UserResponse>,
|
|
#[prost(int32, tag="3")]
|
|
pub style_id: i32,
|
|
#[prost(int32, tag="4")]
|
|
pub mode_id: i32,
|
|
#[prost(int32, tag="5")]
|
|
pub game_id: i32,
|
|
#[prost(double, tag="6")]
|
|
pub rank: f64,
|
|
#[prost(double, tag="7")]
|
|
pub skill: f64,
|
|
#[prost(int64, tag="8")]
|
|
pub updated_at: i64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Pagination {
|
|
#[prost(int32, tag="1")]
|
|
pub size: i32,
|
|
#[prost(int32, tag="2")]
|
|
pub number: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct NullResponse {
|
|
}
|
|
include!("ranks.tonic.rs");
|
|
// @@protoc_insertion_point(module)
|