get_game_url is added
This commit is contained in:
parent
5268098f3b
commit
c01448ae88
|
@ -38,3 +38,30 @@ pub mod list_games_response {
|
|||
pub games: ::prost::alloc::vec::Vec<crate::models::api::game::Game>,
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetGameUrlRequest {
|
||||
#[prost(string, tag = "1")]
|
||||
pub vendor_key: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "2")]
|
||||
pub game_key: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetGameUrlResponse {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub result: ::core::option::Option<get_game_url_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `GetGameUrlResponse`.
|
||||
pub mod get_game_url_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(uint64, tag = "1")]
|
||||
pub user_id: u64,
|
||||
#[prost(uint64, tag = "2")]
|
||||
pub balance: u64,
|
||||
#[prost(string, tag = "3")]
|
||||
pub url: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
const SUBJECT: &str = "bet.beteran.c2se.frontend.api.game";
|
||||
|
||||
pub const SUBJECT_LIST_GAMES: &str = const_format::concatcp!(SUBJECT, ".ListGames");
|
||||
pub const SUBJECT_GET_GAME_URL: &str = const_format::concatcp!(SUBJECT, ".GetGameUrl");
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
const SUBJECT: &str = "bet.beteran.ss.api.game";
|
||||
|
||||
pub const SUBJECT_LIST_GAMES: &str = const_format::concatcp!(SUBJECT, ".ListGames");
|
||||
pub const SUBJECT_GET_GAME_URL: &str = const_format::concatcp!(SUBJECT, ".GetGameUrl");
|
||||
|
||||
/// subject = bet.beteran.ss.api.game.ListGames
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
|
@ -53,3 +54,41 @@ pub mod list_games_response {
|
|||
pub games: ::prost::alloc::vec::Vec<crate::models::api::game::Game>,
|
||||
}
|
||||
}
|
||||
|
||||
/// subject = bet.beteran.ss.api.game.GetGameUrl
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetGameUrlRequest {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub client: ::core::option::Option<crate::models::core::network::Client>,
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub request: ::core::option::Option<get_game_url_request::Request>,
|
||||
}
|
||||
/// Nested message and enum types in `GetGameUrlRequest`.
|
||||
pub mod get_game_url_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag = "1")]
|
||||
pub vendor_key: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "2")]
|
||||
pub game_key: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetGameUrlResponse {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub result: ::core::option::Option<get_game_url_response::Result>,
|
||||
}
|
||||
/// Nested message and enum types in `GetGameUrlResponse`.
|
||||
pub mod get_game_url_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
#[prost(uint64, tag = "1")]
|
||||
pub user_id: u64,
|
||||
#[prost(uint64, tag = "2")]
|
||||
pub balance: u64,
|
||||
#[prost(string, tag = "3")]
|
||||
pub url: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user