X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fserver%2FClientConnection.hpp;h=16beccf7aecb100471185aca85cd684023e2d6c8;hb=da06ac178d2c083249f8cb2b2c0bef799c079cfd;hp=0a5dcd034db106e0b868ae8fe82b9a9505636a5d;hpb=150d065f431d665326fd8028748c48a74ad956bb;p=blank.git diff --git a/src/server/ClientConnection.hpp b/src/server/ClientConnection.hpp index 0a5dcd0..16beccf 100644 --- a/src/server/ClientConnection.hpp +++ b/src/server/ClientConnection.hpp @@ -90,6 +90,8 @@ private: void SendSpawn(SpawnStatus &); void SendDespawn(SpawnStatus &); + /// true if updates are pushed to the client this frame + bool SendingUpdates() const noexcept; void QueueUpdate(SpawnStatus &); void SendUpdates(); @@ -106,6 +108,7 @@ private: unsigned int confirm_wait; std::vector entity_updates; + unsigned int entity_updates_skipped; EntityState player_update_state; std::uint16_t player_update_pack;