[][src]Enum csgo_gsi::Subscription

pub enum Subscription {
    MapRoundWins,
    Map,
    PlayerID,
    PlayerMatchStats,
    PlayerState,
    PlayerWeapons,
    Provider,
    Round,
    AllGrenades,
    AllPlayersID,
    AllPlayersMatchStats,
    AllPlayersPosition,
    AllPlayersState,
    AllPlayersWeapons,
    Bomb,
    PhaseCountdowns,
    PlayerPosition,
}

which pieces of information to subscribe to

source

Variants

MapRoundWins

history of round wins

Map

mode, map, phase, team scores

PlayerID

steamid

PlayerMatchStats

scoreboard info

PlayerState

armor, flashed, equip_value, health, etc.

PlayerWeapons

list of player weapons and weapon state

Provider

info about the game providing info

Round

round phase and the winning team

AllGrenades

grenade effecttime, lifetime, owner, position, type, velocity

AllPlayersID

the steam id of each player

AllPlayersMatchStats

the scoreboard info for each player

AllPlayersPosition

player_position but for each player

AllPlayersState

the player_state for each player

AllPlayersWeapons

the player_weapons for each player

Bomb

location of the bomb, who's carrying it, dropped or not

PhaseCountdowns

time remaining in tenths of a second, which phase

PlayerPosition

forward direction, position for currently spectated player

Implementations

impl Subscription[src]

pub const UNRESTRICTED: &'static [Subscription][src]

The subscriptions available in every context

pub const SPECTATOR_ONLY: &'static [Subscription][src]

The subscriptions only available to spectators (UNTESTED)

Trait Implementations

impl Clone for Subscription[src]

impl Copy for Subscription[src]

impl Debug for Subscription[src]

impl Eq for Subscription[src]

impl<'_> From<&'_ Subscription> for Subscription[src]

impl Hash for Subscription[src]

impl PartialEq<Subscription> for Subscription[src]

impl StructuralEq for Subscription[src]

impl StructuralPartialEq for Subscription[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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