veloren/common/src/shared_server_config.rs

11 lines
338 B
Rust
Raw Normal View History

2023-03-22 12:49:54 +00:00
use serde::{Deserialize, Serialize};
2023-03-22 12:49:54 +00:00
/// Per-server constant data (configs) that stays the same for the server's
/// life.
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct ServerConstants {
2023-05-14 21:10:37 +00:00
/// How many times faster the in-game day/night cycle should be compared to
/// real time.
pub day_cycle_coefficient: f64,
}