Skip to main content

FieldHalfEvent

Type Alias FieldHalfEvent 

Source
pub type FieldHalfEvent = PlayerStateSpan<FieldHalfState>;

Aliased Type§

pub struct FieldHalfEvent {
    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: FieldHalfState,
}

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: FieldHalfState

Trait Implementations§

Source§

impl StatsEvent for FieldHalfEvent

Source§

const DEFINITION: EventDefinition = FIELD_HALF_EVENT_DEFINITION