mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add ServerConstants and its module to common
This commit is contained in:
parent
ea23d066c6
commit
b649774316
@ -32,6 +32,7 @@ pub mod comp;
|
||||
pub mod consts;
|
||||
pub mod resources;
|
||||
pub mod uid;
|
||||
pub mod shared_server_config;
|
||||
|
||||
// NOTE: Comment out macro to get rustfmt to re-order these as needed.
|
||||
cfg_if! { if #[cfg(not(target_arch = "wasm32"))] {
|
||||
|
4
common/src/shared_server_config.rs
Normal file
4
common/src/shared_server_config.rs
Normal file
@ -0,0 +1,4 @@
|
||||
/// Per-server constant data (configs) that stays the same for the server's life.
|
||||
pub struct ServerConstants {
|
||||
day_cycle_coefficient: f64,
|
||||
}
|
Loading…
Reference in New Issue
Block a user