Skip to main content

PlayerActivityEvent

Type Alias PlayerActivityEvent 

Source
pub type PlayerActivityEvent = PlayerStateSpan<ActivityState>;

Aliased Type§

pub struct PlayerActivityEvent {
    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: ActivityState,
}

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

Trait Implementations§

Source§

impl StatsEvent for PlayerActivityEvent

Source§

const DEFINITION: EventDefinition = PLAYER_ACTIVITY_EVENT_DEFINITION