diff options
author | lhofhansl <lhofhansl@yahoo.com> | 2017-10-15 00:32:17 -0700 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-10-15 09:32:17 +0200 |
commit | 6bab695479d42ac2b051b8a35639c32b22efbf8d (patch) | |
tree | 82ca0ff5204e1d0f68619f3bfb5bfaeeb90b7a5d /src/clientiface.h | |
parent | 9f3a5859378ac01648ca0caf01b04ad57c871baa (diff) | |
download | minetest-6bab695479d42ac2b051b8a35639c32b22efbf8d.tar.gz minetest-6bab695479d42ac2b051b8a35639c32b22efbf8d.tar.bz2 minetest-6bab695479d42ac2b051b8a35639c32b22efbf8d.zip |
Cache server config settings. (#6530)
* Cache server config settings.
Diffstat (limited to 'src/clientiface.h')
-rw-r--r-- | src/clientiface.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/clientiface.h b/src/clientiface.h index f7d628059..a7cbc0107 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -246,7 +246,7 @@ public: bool isMechAllowed(AuthMechanism mech) { return allowed_auth_mechs & mech; } - RemoteClient() = default; + RemoteClient(); ~RemoteClient() = default; /* @@ -354,6 +354,13 @@ private: v3s16 m_last_center; float m_nearest_unsent_reset_timer = 0.0f; + const u16 m_max_simul_sends; + const float m_min_time_from_building; + const s16 m_max_send_distance; + const s16 m_block_optimize_distance; + const s16 m_max_gen_distance; + const bool m_occ_cull; + /* Blocks that are currently on the line. This is used for throttling the sending of blocks. |