[][src]Struct rlbot::GameTickPacket

pub struct GameTickPacket {
    pub players: SmallVec<[PlayerInfo; 4]>,
    pub boost_pad_states: SmallVec<[BoostPadState; 36]>,
    pub ball: Option<BallInfo>,
    pub game_info: GameInfo,
    pub tile_information: Option<SmallVec<[DropshotTile; 256]>>,
    pub teams: SmallVec<[TeamInfo; 2]>,
    // some fields omitted
}

Fields

players: SmallVec<[PlayerInfo; 4]>boost_pad_states: SmallVec<[BoostPadState; 36]>ball: Option<BallInfo>

Info about the ball. This is usually present, but can be None at these times:

  • Briefly at the start of a goal replay
  • During PodiumSpotlight when the winning team is (ideally) celebrating.
  • Possibly at other times not during normal gameplay.
game_info: GameInfotile_information: Option<SmallVec<[DropshotTile; 256]>>

The state of each dropshot tile. This will be None if the current game is not a Dropshot game.

teams: SmallVec<[TeamInfo; 2]>

Auto Trait Implementations

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,