member_session is added
This commit is contained in:
parent
84c971ac62
commit
c626fcdae4
|
@ -1,15 +1,15 @@
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct MemberSession {
|
pub struct MemberSession {
|
||||||
#[prost(string, tag="1")]
|
#[prost(string, tag = "1")]
|
||||||
pub id: ::prost::alloc::string::String,
|
pub id: ::prost::alloc::string::String,
|
||||||
#[prost(message, optional, tag="2")]
|
#[prost(string, tag = "2")]
|
||||||
pub member: ::core::option::Option<super::member::Member>,
|
pub member_id: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="3")]
|
#[prost(string, tag = "3")]
|
||||||
pub data: ::prost::alloc::string::String,
|
pub ip: ::prost::alloc::string::String,
|
||||||
#[prost(uint64, tag="4")]
|
#[prost(uint64, tag = "4")]
|
||||||
pub last_accessed_at: u64,
|
pub last_accessed_at: u64,
|
||||||
#[prost(uint64, tag="5")]
|
#[prost(uint64, tag = "5")]
|
||||||
pub expires_at: u64,
|
pub expires_at: u64,
|
||||||
#[prost(uint64, tag="6")]
|
#[prost(uint64, tag = "6")]
|
||||||
pub created_at: u64,
|
pub created_at: u64,
|
||||||
}
|
}
|
||||||
|
|
54
src/ss/member_session.rs
Normal file
54
src/ss/member_session.rs
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GetMemberSessionRequest {
|
||||||
|
#[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_member_session_request::Request>,
|
||||||
|
}
|
||||||
|
/// Nested message and enum types in `GetMemberSessionRequest`.
|
||||||
|
pub mod get_member_session_request {
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct Request {}
|
||||||
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GetMemberSessionResponse {
|
||||||
|
#[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_member_session_response::Result>,
|
||||||
|
}
|
||||||
|
/// Nested message and enum types in `GetMemberSessionResponse`.
|
||||||
|
pub mod get_member_session_response {
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct Result {
|
||||||
|
#[prost(message, optional, tag = "1")]
|
||||||
|
pub member_session: ::core::option::Option<crate::models::member_session::MemberSession>,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GetMemberSessionWithRenewalRequest {
|
||||||
|
#[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_member_session_with_renewal_request::Request>,
|
||||||
|
}
|
||||||
|
/// Nested message and enum types in `GetMemberSessionWithRenewalRequest`.
|
||||||
|
pub mod get_member_session_with_renewal_request {
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct Request {}
|
||||||
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GetMemberSessionWithRenewalResponse {
|
||||||
|
#[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_member_session_with_renewal_response::Result>,
|
||||||
|
}
|
||||||
|
/// Nested message and enum types in `GetMemberSessionWithRenewalResponse`.
|
||||||
|
pub mod get_member_session_with_renewal_response {
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct Result {
|
||||||
|
#[prost(message, optional, tag = "1")]
|
||||||
|
pub member_session: ::core::option::Option<crate::models::member_session::MemberSession>,
|
||||||
|
}
|
||||||
|
}
|
|
@ -9,5 +9,6 @@ pub mod member_class;
|
||||||
pub mod member_game_setting;
|
pub mod member_game_setting;
|
||||||
pub mod member_level;
|
pub mod member_level;
|
||||||
pub mod member_referrer;
|
pub mod member_referrer;
|
||||||
|
pub mod member_session;
|
||||||
pub mod member_settlement_setting;
|
pub mod member_settlement_setting;
|
||||||
pub mod site;
|
pub mod site;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user