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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Fired when the player books a drop-ship at Frontline Solutions.

use serde::{Deserialize, Serialize};

/// Fired when the player books a drop-ship at Frontline Solutions.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct BookDropshipEvent {
    /// The number of credits the player paid for the booking.
    pub cost: u64,

    /// The name of the system where the drop-ship will travel to.
    pub destination_system: String,

    /// The name of the location where the drop-ship will travel to.
    pub destination_location: String,
}