pub struct CarrierStatsEvent {Show 14 fields
pub carrier_id: u64,
pub callsign: String,
pub name: String,
pub docking_access: CarrierDockingAccess,
pub allow_notorious: bool,
pub fuel_level: u16,
pub jump_range_curr: f32,
pub jump_range_max: f32,
pub pending_decommission: bool,
pub space_usage: CarrierStatsEventSpaceUsage,
pub finance: CarrierFinance,
pub crew: Vec<CarrierStatsEventCrewEntry>,
pub ship_packs: Vec<CarrierStatsEventPack>,
pub module_packs: Vec<CarrierStatsEventPack>,
}
Expand description
Fired when opening the fleet carrier management panel.
Fields§
§carrier_id: u64
The id of the carrier that the player deposited fuel to. This is functionally the same as the market id.
callsign: String
The callsign of the carrier.
name: String
The name of the carrier.
docking_access: CarrierDockingAccess
The current docking access.
allow_notorious: bool
The current notorious docking option.
fuel_level: u16
The current fuel level of the carrier. This is a number between 0 and 1000 and does not include any tritium that might be stored in the cargo hold of the carrier.
jump_range_curr: f32
The current jump range for the carrier.
jump_range_max: f32
The max jump range for the carrier. This is always 500.
pending_decommission: bool
Whether the carrier is pending decommission.
space_usage: CarrierStatsEventSpaceUsage
Details about how much of the internal cargo space is being used.
finance: CarrierFinance
Details about the current finances of the fleet carrier.
crew: Vec<CarrierStatsEventCrewEntry>
List of services and their status for the fleet carrier.
ship_packs: Vec<CarrierStatsEventPack>
List of loaded ship packs and their status.
module_packs: Vec<CarrierStatsEventPack>
List of loaded module packs and their status.
Trait Implementations§
Source§impl Clone for CarrierStatsEvent
impl Clone for CarrierStatsEvent
Source§fn clone(&self) -> CarrierStatsEvent
fn clone(&self) -> CarrierStatsEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more