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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Fired when the player is fuel scooping.

use serde::{Deserialize, Serialize};

/// Fired when the player is fuel scooping.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct FuelScoopEvent {
    /// The number of tonnes scooped.
    pub scooped: f32,

    /// The total number of tonnes in the player's fuel tank.
    pub total: f32,
}