pub struct CMsgClientLogonResponse {Show 28 fields
pub eresult: Option<i32>,
pub legacy_out_of_game_heartbeat_seconds: Option<i32>,
pub heartbeat_seconds: Option<i32>,
pub deprecated_public_ip: Option<u32>,
pub rtime32_server_time: Option<u32>,
pub account_flags: Option<u32>,
pub cell_id: Option<u32>,
pub email_domain: Option<String>,
pub steam2_ticket: Option<Vec<u8>>,
pub eresult_extended: Option<i32>,
pub webapi_authenticate_user_nonce: Option<String>,
pub cell_id_ping_threshold: Option<u32>,
pub deprecated_use_pics: Option<bool>,
pub vanity_url: Option<String>,
pub public_ip: MessageField<CMsgIPAddress>,
pub user_country: Option<String>,
pub client_supplied_steamid: Option<u64>,
pub ip_country_code: Option<String>,
pub parental_settings: Option<Vec<u8>>,
pub parental_setting_signature: Option<Vec<u8>>,
pub count_loginfailures_to_migrate: Option<i32>,
pub count_disconnects_to_migrate: Option<i32>,
pub ogs_data_report_time_window: Option<i32>,
pub client_instance_id: Option<u64>,
pub force_client_update_check: Option<bool>,
pub agreement_session_url: Option<String>,
pub token_id: Option<u64>,
pub special_fields: SpecialFields,
}
Fields§
§eresult: Option<i32>
§legacy_out_of_game_heartbeat_seconds: Option<i32>
§heartbeat_seconds: Option<i32>
§deprecated_public_ip: Option<u32>
§rtime32_server_time: Option<u32>
§account_flags: Option<u32>
§cell_id: Option<u32>
§email_domain: Option<String>
§steam2_ticket: Option<Vec<u8>>
§eresult_extended: Option<i32>
§webapi_authenticate_user_nonce: Option<String>
§cell_id_ping_threshold: Option<u32>
§deprecated_use_pics: Option<bool>
§vanity_url: Option<String>
§public_ip: MessageField<CMsgIPAddress>
§user_country: Option<String>
§client_supplied_steamid: Option<u64>
§ip_country_code: Option<String>
§parental_settings: Option<Vec<u8>>
§parental_setting_signature: Option<Vec<u8>>
§count_loginfailures_to_migrate: Option<i32>
§count_disconnects_to_migrate: Option<i32>
§ogs_data_report_time_window: Option<i32>
§client_instance_id: Option<u64>
§force_client_update_check: Option<bool>
§agreement_session_url: Option<String>
§token_id: Option<u64>
§special_fields: SpecialFields
Implementations§
source§impl CMsgClientLogonResponse
impl CMsgClientLogonResponse
pub fn new() -> CMsgClientLogonResponse
pub fn eresult(&self) -> i32
pub fn clear_eresult(&mut self)
pub fn has_eresult(&self) -> bool
pub fn set_eresult(&mut self, v: i32)
pub fn legacy_out_of_game_heartbeat_seconds(&self) -> i32
pub fn clear_legacy_out_of_game_heartbeat_seconds(&mut self)
pub fn has_legacy_out_of_game_heartbeat_seconds(&self) -> bool
pub fn set_legacy_out_of_game_heartbeat_seconds(&mut self, v: i32)
pub fn heartbeat_seconds(&self) -> i32
pub fn clear_heartbeat_seconds(&mut self)
pub fn has_heartbeat_seconds(&self) -> bool
pub fn set_heartbeat_seconds(&mut self, v: i32)
pub fn deprecated_public_ip(&self) -> u32
pub fn clear_deprecated_public_ip(&mut self)
pub fn has_deprecated_public_ip(&self) -> bool
pub fn set_deprecated_public_ip(&mut self, v: u32)
pub fn rtime32_server_time(&self) -> u32
pub fn clear_rtime32_server_time(&mut self)
pub fn has_rtime32_server_time(&self) -> bool
pub fn set_rtime32_server_time(&mut self, v: u32)
pub fn account_flags(&self) -> u32
pub fn clear_account_flags(&mut self)
pub fn has_account_flags(&self) -> bool
pub fn set_account_flags(&mut self, v: u32)
pub fn cell_id(&self) -> u32
pub fn clear_cell_id(&mut self)
pub fn has_cell_id(&self) -> bool
pub fn set_cell_id(&mut self, v: u32)
pub fn email_domain(&self) -> &str
pub fn clear_email_domain(&mut self)
pub fn has_email_domain(&self) -> bool
pub fn set_email_domain(&mut self, v: String)
pub fn mut_email_domain(&mut self) -> &mut String
pub fn take_email_domain(&mut self) -> String
pub fn steam2_ticket(&self) -> &[u8] ⓘ
pub fn clear_steam2_ticket(&mut self)
pub fn has_steam2_ticket(&self) -> bool
pub fn set_steam2_ticket(&mut self, v: Vec<u8>)
pub fn mut_steam2_ticket(&mut self) -> &mut Vec<u8>
pub fn take_steam2_ticket(&mut self) -> Vec<u8>
pub fn eresult_extended(&self) -> i32
pub fn clear_eresult_extended(&mut self)
pub fn has_eresult_extended(&self) -> bool
pub fn set_eresult_extended(&mut self, v: i32)
pub fn webapi_authenticate_user_nonce(&self) -> &str
pub fn clear_webapi_authenticate_user_nonce(&mut self)
pub fn has_webapi_authenticate_user_nonce(&self) -> bool
pub fn set_webapi_authenticate_user_nonce(&mut self, v: String)
pub fn mut_webapi_authenticate_user_nonce(&mut self) -> &mut String
pub fn take_webapi_authenticate_user_nonce(&mut self) -> String
pub fn cell_id_ping_threshold(&self) -> u32
pub fn clear_cell_id_ping_threshold(&mut self)
pub fn has_cell_id_ping_threshold(&self) -> bool
pub fn set_cell_id_ping_threshold(&mut self, v: u32)
pub fn deprecated_use_pics(&self) -> bool
pub fn clear_deprecated_use_pics(&mut self)
pub fn has_deprecated_use_pics(&self) -> bool
pub fn set_deprecated_use_pics(&mut self, v: bool)
pub fn vanity_url(&self) -> &str
pub fn clear_vanity_url(&mut self)
pub fn has_vanity_url(&self) -> bool
pub fn set_vanity_url(&mut self, v: String)
pub fn mut_vanity_url(&mut self) -> &mut String
pub fn take_vanity_url(&mut self) -> String
pub fn user_country(&self) -> &str
pub fn clear_user_country(&mut self)
pub fn has_user_country(&self) -> bool
pub fn set_user_country(&mut self, v: String)
pub fn mut_user_country(&mut self) -> &mut String
pub fn take_user_country(&mut self) -> String
pub fn client_supplied_steamid(&self) -> u64
pub fn clear_client_supplied_steamid(&mut self)
pub fn has_client_supplied_steamid(&self) -> bool
pub fn set_client_supplied_steamid(&mut self, v: u64)
pub fn ip_country_code(&self) -> &str
pub fn clear_ip_country_code(&mut self)
pub fn has_ip_country_code(&self) -> bool
pub fn set_ip_country_code(&mut self, v: String)
pub fn mut_ip_country_code(&mut self) -> &mut String
pub fn take_ip_country_code(&mut self) -> String
pub fn parental_settings(&self) -> &[u8] ⓘ
pub fn clear_parental_settings(&mut self)
pub fn has_parental_settings(&self) -> bool
pub fn set_parental_settings(&mut self, v: Vec<u8>)
pub fn mut_parental_settings(&mut self) -> &mut Vec<u8>
pub fn take_parental_settings(&mut self) -> Vec<u8>
pub fn parental_setting_signature(&self) -> &[u8] ⓘ
pub fn clear_parental_setting_signature(&mut self)
pub fn has_parental_setting_signature(&self) -> bool
pub fn set_parental_setting_signature(&mut self, v: Vec<u8>)
pub fn mut_parental_setting_signature(&mut self) -> &mut Vec<u8>
pub fn take_parental_setting_signature(&mut self) -> Vec<u8>
pub fn count_loginfailures_to_migrate(&self) -> i32
pub fn clear_count_loginfailures_to_migrate(&mut self)
pub fn has_count_loginfailures_to_migrate(&self) -> bool
pub fn set_count_loginfailures_to_migrate(&mut self, v: i32)
pub fn count_disconnects_to_migrate(&self) -> i32
pub fn clear_count_disconnects_to_migrate(&mut self)
pub fn has_count_disconnects_to_migrate(&self) -> bool
pub fn set_count_disconnects_to_migrate(&mut self, v: i32)
pub fn ogs_data_report_time_window(&self) -> i32
pub fn clear_ogs_data_report_time_window(&mut self)
pub fn has_ogs_data_report_time_window(&self) -> bool
pub fn set_ogs_data_report_time_window(&mut self, v: i32)
pub fn client_instance_id(&self) -> u64
pub fn clear_client_instance_id(&mut self)
pub fn has_client_instance_id(&self) -> bool
pub fn set_client_instance_id(&mut self, v: u64)
pub fn force_client_update_check(&self) -> bool
pub fn clear_force_client_update_check(&mut self)
pub fn has_force_client_update_check(&self) -> bool
pub fn set_force_client_update_check(&mut self, v: bool)
pub fn agreement_session_url(&self) -> &str
pub fn clear_agreement_session_url(&mut self)
pub fn has_agreement_session_url(&self) -> bool
pub fn set_agreement_session_url(&mut self, v: String)
pub fn mut_agreement_session_url(&mut self) -> &mut String
pub fn take_agreement_session_url(&mut self) -> String
pub fn token_id(&self) -> u64
pub fn clear_token_id(&mut self)
pub fn has_token_id(&self) -> bool
pub fn set_token_id(&mut self, v: u64)
Trait Implementations§
source§impl Clone for CMsgClientLogonResponse
impl Clone for CMsgClientLogonResponse
source§fn clone(&self) -> CMsgClientLogonResponse
fn clone(&self) -> CMsgClientLogonResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CMsgClientLogonResponse
impl Debug for CMsgClientLogonResponse
source§impl<'a> Default for &'a CMsgClientLogonResponse
impl<'a> Default for &'a CMsgClientLogonResponse
source§fn default() -> &'a CMsgClientLogonResponse
fn default() -> &'a CMsgClientLogonResponse
Returns the “default value” for a type. Read more
source§impl Default for CMsgClientLogonResponse
impl Default for CMsgClientLogonResponse
source§fn default() -> CMsgClientLogonResponse
fn default() -> CMsgClientLogonResponse
Returns the “default value” for a type. Read more
source§impl Message for CMsgClientLogonResponse
impl Message for CMsgClientLogonResponse
source§const NAME: &'static str = "CMsgClientLogonResponse"
const NAME: &'static str = "CMsgClientLogonResponse"
Message name as specified in
.proto
file. Read moresource§fn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
True iff all required fields are initialized.
Always returns
true
for protobuf 3.source§fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>
Update this message object with fields read from given stream.
source§fn compute_size(&self) -> u64
fn compute_size(&self) -> u64
Compute and cache size of this message and all nested messages. Read more
source§fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<()>
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_> ) -> Result<()>
Write message to the stream. Read more
source§fn special_fields(&self) -> &SpecialFields
fn special_fields(&self) -> &SpecialFields
Special fields (unknown fields and cached size).
source§fn mut_special_fields(&mut self) -> &mut SpecialFields
fn mut_special_fields(&mut self) -> &mut SpecialFields
Special fields (unknown fields and cached size).
source§fn new() -> CMsgClientLogonResponse
fn new() -> CMsgClientLogonResponse
Create an empty message object. Read more
source§fn default_instance() -> &'static CMsgClientLogonResponse
fn default_instance() -> &'static CMsgClientLogonResponse
Return a pointer to default immutable message with static lifetime. Read more
source§fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>
Parse message from stream.
source§fn cached_size(&self) -> u32
fn cached_size(&self) -> u32
Get size previously computed by
compute_size
. Read moresource§fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>
Write the message to the stream. Read more
source§fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), Error>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_> ) -> Result<(), Error>
Write the message to the stream prepending the message with message length
encoded as varint.
source§fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>
fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>
Write the message to the vec, prepend the message with message length
encoded as varint.
source§fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
Update this message object with fields read from given stream.
source§fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>
Parse message from reader.
Parse stops on EOF or when error encountered.
source§fn parse_from_tokio_bytes(bytes: &Bytes) -> Result<Self, Error>
fn parse_from_tokio_bytes(bytes: &Bytes) -> Result<Self, Error>
Parse message from
Bytes
object.
Resulting message may share references to the passed bytes object.source§fn check_initialized(&self) -> Result<(), Error>
fn check_initialized(&self) -> Result<(), Error>
Check if all required fields of this object are initialized.
source§fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>
Write the message to the writer.
source§fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), Error>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write ) -> Result<(), Error>
Write the message to the writer, prepend the message with message length
encoded as varint.
source§fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>
Write the message to the bytes vec, prepend the message with message length
encoded as varint.
source§fn unknown_fields(&self) -> &UnknownFields
fn unknown_fields(&self) -> &UnknownFields
Get a reference to unknown fields.
source§fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Get a mutable reference to unknown fields.
source§impl PartialEq for CMsgClientLogonResponse
impl PartialEq for CMsgClientLogonResponse
source§fn eq(&self, other: &CMsgClientLogonResponse) -> bool
fn eq(&self, other: &CMsgClientLogonResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RpcMessage for CMsgClientLogonResponse
impl RpcMessage for CMsgClientLogonResponse
impl StructuralPartialEq for CMsgClientLogonResponse
Auto Trait Implementations§
impl !Freeze for CMsgClientLogonResponse
impl RefUnwindSafe for CMsgClientLogonResponse
impl Send for CMsgClientLogonResponse
impl Sync for CMsgClientLogonResponse
impl Unpin for CMsgClientLogonResponse
impl UnwindSafe for CMsgClientLogonResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more