mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
11 lines
338 B
Rust
11 lines
338 B
Rust
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,
|
|
}
|