pub struct CMsgClientWelcome {Show 16 fields
pub version: Option<u32>,
pub game_data: Option<Vec<u8>>,
pub outofdate_subscribed_caches: Vec<CMsgSoCacheSubscribed>,
pub uptodate_subscribed_caches: Vec<CMsgSoCacheSubscriptionCheck>,
pub location: Option<Location>,
pub gc_socache_file_version: Option<u32>,
pub txn_country_code: Option<String>,
pub game_data2: Option<Vec<u8>>,
pub rtime32_gc_welcome_timestamp: Option<u32>,
pub currency: Option<u32>,
pub balance: Option<u32>,
pub balance_url: Option<String>,
pub has_accepted_china_ssa: Option<bool>,
pub is_banned_steam_china: Option<bool>,
pub additional_welcome_msgs: Option<CExtraMsgBlock>,
pub steam_learn_server_info: Option<CMsgSteamLearnServerInfo>,
}Fields§
§version: Option<u32>§game_data: Option<Vec<u8>>§outofdate_subscribed_caches: Vec<CMsgSoCacheSubscribed>§uptodate_subscribed_caches: Vec<CMsgSoCacheSubscriptionCheck>§location: Option<Location>§gc_socache_file_version: Option<u32>§txn_country_code: Option<String>§game_data2: Option<Vec<u8>>§rtime32_gc_welcome_timestamp: Option<u32>§currency: Option<u32>§balance: Option<u32>§balance_url: Option<String>§has_accepted_china_ssa: Option<bool>§is_banned_steam_china: Option<bool>§additional_welcome_msgs: Option<CExtraMsgBlock>§steam_learn_server_info: Option<CMsgSteamLearnServerInfo>Implementations§
Source§impl CMsgClientWelcome
impl CMsgClientWelcome
Sourcepub fn version(&self) -> u32
pub fn version(&self) -> u32
Returns the value of version, or the default value if version is unset.
Sourcepub fn game_data(&self) -> &[u8] ⓘ
pub fn game_data(&self) -> &[u8] ⓘ
Returns the value of game_data, or the default value if game_data is unset.
Sourcepub fn gc_socache_file_version(&self) -> u32
pub fn gc_socache_file_version(&self) -> u32
Returns the value of gc_socache_file_version, or the default value if gc_socache_file_version is unset.
Sourcepub fn txn_country_code(&self) -> &str
pub fn txn_country_code(&self) -> &str
Returns the value of txn_country_code, or the default value if txn_country_code is unset.
Sourcepub fn game_data2(&self) -> &[u8] ⓘ
pub fn game_data2(&self) -> &[u8] ⓘ
Returns the value of game_data2, or the default value if game_data2 is unset.
Sourcepub fn rtime32_gc_welcome_timestamp(&self) -> u32
pub fn rtime32_gc_welcome_timestamp(&self) -> u32
Returns the value of rtime32_gc_welcome_timestamp, or the default value if rtime32_gc_welcome_timestamp is unset.
Sourcepub fn currency(&self) -> u32
pub fn currency(&self) -> u32
Returns the value of currency, or the default value if currency is unset.
Sourcepub fn balance(&self) -> u32
pub fn balance(&self) -> u32
Returns the value of balance, or the default value if balance is unset.
Sourcepub fn balance_url(&self) -> &str
pub fn balance_url(&self) -> &str
Returns the value of balance_url, or the default value if balance_url is unset.
Sourcepub fn has_accepted_china_ssa(&self) -> bool
pub fn has_accepted_china_ssa(&self) -> bool
Returns the value of has_accepted_china_ssa, or the default value if has_accepted_china_ssa is unset.
Sourcepub fn is_banned_steam_china(&self) -> bool
pub fn is_banned_steam_china(&self) -> bool
Returns the value of is_banned_steam_china, or the default value if is_banned_steam_china is unset.
Trait Implementations§
Source§impl Clone for CMsgClientWelcome
impl Clone for CMsgClientWelcome
Source§fn clone(&self) -> CMsgClientWelcome
fn clone(&self) -> CMsgClientWelcome
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CMsgClientWelcome
impl Debug for CMsgClientWelcome
Source§impl Default for CMsgClientWelcome
impl Default for CMsgClientWelcome
Source§fn default() -> CMsgClientWelcome
fn default() -> CMsgClientWelcome
Source§impl<'de> Deserialize<'de> for CMsgClientWelcome
impl<'de> Deserialize<'de> for CMsgClientWelcome
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CMsgClientWelcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CMsgClientWelcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Message for CMsgClientWelcome
impl Message for CMsgClientWelcome
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for CMsgClientWelcome
impl PartialEq for CMsgClientWelcome
Source§impl Serialize for CMsgClientWelcome
impl Serialize for CMsgClientWelcome
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for CMsgClientWelcome
Auto Trait Implementations§
impl Freeze for CMsgClientWelcome
impl RefUnwindSafe for CMsgClientWelcome
impl Send for CMsgClientWelcome
impl Sync for CMsgClientWelcome
impl Unpin for CMsgClientWelcome
impl UnwindSafe for CMsgClientWelcome
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)