diff --git a/src/models/member_session.rs b/src/models/member_session.rs index d17da5a..ccd3e5a 100644 --- a/src/models/member_session.rs +++ b/src/models/member_session.rs @@ -1,15 +1,15 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct MemberSession { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(message, optional, tag="2")] - pub member: ::core::option::Option, - #[prost(string, tag="3")] - pub data: ::prost::alloc::string::String, - #[prost(uint64, tag="4")] - pub last_accessed_at: u64, - #[prost(uint64, tag="5")] - pub expires_at: u64, - #[prost(uint64, tag="6")] - pub created_at: u64, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub member_id: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub ip: ::prost::alloc::string::String, + #[prost(uint64, tag = "4")] + pub last_accessed_at: u64, + #[prost(uint64, tag = "5")] + pub expires_at: u64, + #[prost(uint64, tag = "6")] + pub created_at: u64, } diff --git a/src/ss/member_session.rs b/src/ss/member_session.rs new file mode 100644 index 0000000..d63da7a --- /dev/null +++ b/src/ss/member_session.rs @@ -0,0 +1,54 @@ +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct GetMemberSessionRequest { + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, +} +/// 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, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, +} +/// 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, + } +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct GetMemberSessionWithRenewalRequest { + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, +} +/// 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, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, +} +/// 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, + } +} diff --git a/src/ss/mod.rs b/src/ss/mod.rs index b6fe34b..aa6e593 100644 --- a/src/ss/mod.rs +++ b/src/ss/mod.rs @@ -9,5 +9,6 @@ pub mod member_class; pub mod member_game_setting; pub mod member_level; pub mod member_referrer; +pub mod member_session; pub mod member_settlement_setting; pub mod site;