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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! Fired when the player buys a new fleet carrier.

use serde::{Deserialize, Serialize};

/// Fired when the player buys a new fleet carrier.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct CarrierBuyEvent {
    /// The id of the fleet carrier bought. This is functionally the same as the market id.
    #[serde(rename = "CarrierID")]
    pub carrier_id: u64,

    /// The ID of the market at which the carrier has been bought.
    pub bought_at_market: u64,

    /// The system name where the fleet carrier has been parked.
    pub location: String,

    /// The system address where the fleet carrier has been parked.
    pub system_address: u64,

    /// The price paid for the carrier. This should basically always be 5 billion.
    pub price: u64,

    // TODO not sure that this means
    pub variant: String,

    /// The call-sign or 'station name' of the carrier. This is unique to this specific carrier and
    /// cannot be changed at a later date.
    pub callsign: String,
}