Skip to main content

DepthRoleEvent

Type Alias DepthRoleEvent 

Source
pub type DepthRoleEvent = PlayerStateSpan<DepthRoleState>;

Aliased Type§

pub struct DepthRoleEvent {
    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: DepthRoleState,
}

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

Trait Implementations§

Source§

impl StatsEvent for DepthRoleEvent

Source§

const DEFINITION: EventDefinition = DEPTH_ROLE_EVENT_DEFINITION