Skip to main content

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

1//! Includes information about the current progress of the player to the next rank.
2
3use serde::{Deserialize, Serialize};
4
5/// Includes information about the current progress of the player to the next rank.
6#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
7#[serde(rename_all = "PascalCase")]
8pub struct ProgressEvent {
9    /// Progress of the combat rank between 0-100.
10    pub combat: u8,
11
12    /// Progress of the trade rank between 0-100.
13    pub trade: u8,
14
15    /// Progress of the exploration rank between 0-100.
16    pub explore: u8,
17
18    /// Progress of the empire rank between 0-100.
19    pub empire: u8,
20
21    /// Progress of the federation rank between 0-100.
22    pub federation: u8,
23
24    #[serde(rename = "CQC")]
25    pub cqc: u8,
26}