1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// Per-server constant data (configs) that stays the same for the server's
/// life.
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct ServerConstants {
    /// How many times faster the in-game day/night cycle should be compared to
    /// real time.
    pub day_cycle_coefficient: f64,
}