ed_journals/modules/logs/content/log_event_content/
crew_fire_event.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Fired when the player fires a crew member.

use serde::{Deserialize, Serialize};

/// Fired when the player fires a crew member.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct CrewFireEvent {
    /// The name of the crew member that was fired.
    pub name: String,

    /// The id of the crew member that was fired.
    #[serde(rename = "CrewID")]
    pub crew_id: u64,
}