pub struct CsgoClientHello {
pub account_id: u32,
pub vac_banned: i32,
pub penalty_seconds: u32,
pub penalty_reason: u32,
pub player_level: i32,
pub player_cur_xp: i32,
pub player_xp_bonus_flags: i32,
pub ranking: Option<CsgoRanking>,
pub commendation: Option<CsgoCommendation>,
pub players_online: u32,
pub servers_online: u32,
pub ongoing_matches: u32,
}Expand description
CS:GO Client Hello data (GC message 9110 response).
Fields§
§account_id: u32The account ID.
vac_banned: i32Whether the account is VAC banned (0 = not banned).
penalty_seconds: u32Penalty cooldown seconds remaining.
penalty_reason: u32Penalty reason code.
player_level: i32Player CS:GO profile level.
player_cur_xp: i32Player current XP (subtract 327680000 for actual XP).
player_xp_bonus_flags: i32Player XP bonus flags.
ranking: Option<CsgoRanking>Competitive ranking info.
commendation: Option<CsgoCommendation>Player commendation counts.
players_online: u32Global statistics (players online, servers online, etc.).
servers_online: u32§ongoing_matches: u32Trait Implementations§
Source§impl Clone for CsgoClientHello
impl Clone for CsgoClientHello
Source§fn clone(&self) -> CsgoClientHello
fn clone(&self) -> CsgoClientHello
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CsgoClientHello
impl RefUnwindSafe for CsgoClientHello
impl Send for CsgoClientHello
impl Sync for CsgoClientHello
impl Unpin for CsgoClientHello
impl UnsafeUnpin for CsgoClientHello
impl UnwindSafe for CsgoClientHello
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more