1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-12 16:58:39 +00:00

Cache server config settings. (#6530)

* Cache server config settings.
This commit is contained in:
lhofhansl 2017-10-15 00:32:17 -07:00 committed by Loïc Blot
parent 9f3a585937
commit 6bab695479
2 changed files with 55 additions and 52 deletions

View file

@ -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.