Skip to main content

CMsgClientLogonResponse

Struct CMsgClientLogonResponse 

Source
pub struct CMsgClientLogonResponse {
Show 27 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 cell_id_ping_threshold: Option<u32>, pub deprecated_use_pics: Option<bool>, pub vanity_url: Option<String>, pub public_ip: Option<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 family_group_id: Option<u64>,
}

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>§cell_id_ping_threshold: Option<u32>§deprecated_use_pics: Option<bool>§vanity_url: Option<String>§public_ip: Option<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>§family_group_id: Option<u64>

Implementations§

Source§

impl CMsgClientLogonResponse

Source

pub fn eresult(&self) -> i32

Returns the value of eresult, or the default value if eresult is unset.

Source

pub fn legacy_out_of_game_heartbeat_seconds(&self) -> i32

Returns the value of legacy_out_of_game_heartbeat_seconds, or the default value if legacy_out_of_game_heartbeat_seconds is unset.

Source

pub fn heartbeat_seconds(&self) -> i32

Returns the value of heartbeat_seconds, or the default value if heartbeat_seconds is unset.

Source

pub fn deprecated_public_ip(&self) -> u32

Returns the value of deprecated_public_ip, or the default value if deprecated_public_ip is unset.

Source

pub fn rtime32_server_time(&self) -> u32

Returns the value of rtime32_server_time, or the default value if rtime32_server_time is unset.

Source

pub fn account_flags(&self) -> u32

Returns the value of account_flags, or the default value if account_flags is unset.

Source

pub fn cell_id(&self) -> u32

Returns the value of cell_id, or the default value if cell_id is unset.

Source

pub fn email_domain(&self) -> &str

Returns the value of email_domain, or the default value if email_domain is unset.

Source

pub fn steam2_ticket(&self) -> &[u8]

Returns the value of steam2_ticket, or the default value if steam2_ticket is unset.

Source

pub fn eresult_extended(&self) -> i32

Returns the value of eresult_extended, or the default value if eresult_extended is unset.

Source

pub fn cell_id_ping_threshold(&self) -> u32

Returns the value of cell_id_ping_threshold, or the default value if cell_id_ping_threshold is unset.

Source

pub fn deprecated_use_pics(&self) -> bool

Returns the value of deprecated_use_pics, or the default value if deprecated_use_pics is unset.

Source

pub fn vanity_url(&self) -> &str

Returns the value of vanity_url, or the default value if vanity_url is unset.

Source

pub fn user_country(&self) -> &str

Returns the value of user_country, or the default value if user_country is unset.

Source

pub fn client_supplied_steamid(&self) -> u64

Returns the value of client_supplied_steamid, or the default value if client_supplied_steamid is unset.

Source

pub fn ip_country_code(&self) -> &str

Returns the value of ip_country_code, or the default value if ip_country_code is unset.

Source

pub fn parental_settings(&self) -> &[u8]

Returns the value of parental_settings, or the default value if parental_settings is unset.

Source

pub fn parental_setting_signature(&self) -> &[u8]

Returns the value of parental_setting_signature, or the default value if parental_setting_signature is unset.

Source

pub fn count_loginfailures_to_migrate(&self) -> i32

Returns the value of count_loginfailures_to_migrate, or the default value if count_loginfailures_to_migrate is unset.

Source

pub fn count_disconnects_to_migrate(&self) -> i32

Returns the value of count_disconnects_to_migrate, or the default value if count_disconnects_to_migrate is unset.

Source

pub fn ogs_data_report_time_window(&self) -> i32

Returns the value of ogs_data_report_time_window, or the default value if ogs_data_report_time_window is unset.

Source

pub fn client_instance_id(&self) -> u64

Returns the value of client_instance_id, or the default value if client_instance_id is unset.

Source

pub fn force_client_update_check(&self) -> bool

Returns the value of force_client_update_check, or the default value if force_client_update_check is unset.

Source

pub fn agreement_session_url(&self) -> &str

Returns the value of agreement_session_url, or the default value if agreement_session_url is unset.

Source

pub fn token_id(&self) -> u64

Returns the value of token_id, or the default value if token_id is unset.

Source

pub fn family_group_id(&self) -> u64

Returns the value of family_group_id, or the default value if family_group_id is unset.

Trait Implementations§

Source§

impl Clone for CMsgClientLogonResponse

Source§

fn clone(&self) -> CMsgClientLogonResponse

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CMsgClientLogonResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CMsgClientLogonResponse

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for CMsgClientLogonResponse

Source§

impl Hash for CMsgClientLogonResponse

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Message for CMsgClientLogonResponse

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for CMsgClientLogonResponse

Source§

fn eq(&self, other: &CMsgClientLogonResponse) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for CMsgClientLogonResponse

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more