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

1
2
3
4
5
6
7
8
9
10
11
//! Fired when the player buys ammo at a station.

use serde::{Deserialize, Serialize};

/// Fired when the player buys ammo at a station.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct BuyAmmoEvent {
    /// The amount of credits spent to fully restock all weapons.
    pub cost: u64,
}