diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d7ba3a..3243676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,9 @@ Who knows what the future holds... # 0.X.Y - DD/MM/2023 ### Changes: -To be made... +Protocols: +- Valve: +1. Added standard and serde derives to `GatheringSettings`. ### Breaking: Nothing, yet... diff --git a/src/protocols/valve/types.rs b/src/protocols/valve/types.rs index 82edeb2..39d9658 100644 --- a/src/protocols/valve/types.rs +++ b/src/protocols/valve/types.rs @@ -382,6 +382,8 @@ impl Engine { } /// What data to gather, purely used only with the query function. +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] pub struct GatheringSettings { pub players: bool, pub rules: bool,