Skip to main content

BallDepthEvent

Type Alias BallDepthEvent 

Source
pub type BallDepthEvent = PlayerStateSpan<BallDepthState>;

Aliased Type§

pub struct BallDepthEvent {
    pub time: f32,
    pub frame: usize,
    pub end_time: f32,
    pub end_frame: usize,
    pub duration: f32,
    pub player: RemoteId,
    pub player_position: Option<[f32; 3]>,
    pub is_team_0: bool,
    pub state: BallDepthState,
}

Fields§

§time: f32§frame: usize§end_time: f32§end_frame: usize§duration: f32§player: RemoteId§player_position: Option<[f32; 3]>§is_team_0: bool§state: BallDepthState

Trait Implementations§

Source§

impl StatsEvent for BallDepthEvent

Source§

const DEFINITION: EventDefinition = BALL_DEPTH_EVENT_DEFINITION