ed_journals/modules/logs/content/log_event_content/
launch_drone_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
//! Fired when the player fires a limpet.

use serde::{Deserialize, Serialize};

/// Fired when the player fires a limpet.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct LaunchDroneEvent {
    /// The kind of limpet fired.
    #[serde(rename = "Type")]
    pub kind: LaunchDroneEventType,
}

/// The kind of limpet fired.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub enum LaunchDroneEventType {
    Hatchbreaker,
    FuelTransfer,
    Collection,
    Prospector,
    Repair,
    Research,
    Decontamination,
}