pub enum CSGOEvent {
Online(CsgoWelcome),
ClientHello(CsgoClientHello),
PlayersProfile(Vec<CsgoClientHello>),
PartyInvite {
inviter: SteamID,
lobby_id: u64,
},
PartySearchResults(Vec<CsgoPartyEntry>),
}Expand description
CS:GO specific events.
Variants§
Online(CsgoWelcome)
CS:GO/CS2 Online event (Welcome message).
Emitted when the CS:GO Game Coordinator sends a welcome message, indicating the client is “online” in CS:GO/CS2.
ClientHello(CsgoClientHello)
CS:GO/CS2 Client Hello event.
Emitted when the CS:GO Game Coordinator sends a client hello response, containing player profile data (rank, level, commendations, etc.).
PlayersProfile(Vec<CsgoClientHello>)
CS:GO/CS2 Players Profile event.
Emitted when the CS:GO Game Coordinator sends a players profile
response, usually after a ClientRequestPlayersProfile message.
PartyInvite
Received a party invite.
PartySearchResults(Vec<CsgoPartyEntry>)
Received party search results.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CSGOEvent
impl RefUnwindSafe for CSGOEvent
impl Send for CSGOEvent
impl Sync for CSGOEvent
impl Unpin for CSGOEvent
impl UnsafeUnpin for CSGOEvent
impl UnwindSafe for CSGOEvent
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