]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/clientiface.h
Cache server config settings. (#6530)
[dragonfireclient.git] / src / clientiface.h
index f7d628059e133b1ff8145bda1f7b9b0f59ac3859..a7cbc01071d56aac0244e5a21488698d2db3ca37 100644 (file)
@@ -246,7 +246,7 @@ class RemoteClient
        bool isMechAllowed(AuthMechanism mech)
        { return allowed_auth_mechs & mech; }
 
-       RemoteClient() = default;
+       RemoteClient();
        ~RemoteClient() = default;
 
        /*
@@ -354,6 +354,13 @@ class RemoteClient
        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.