X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fnet%2FClientConnection.hpp;h=7fb797bea1d89870034ffcb4ef23803f83b69def;hb=8507332e2d0c54aec4045fb6f0021bdc3bd57750;hp=fb6420acfed074959df27449741d3cb80cb5526c;hpb=51a0b19601cb4b044c7eee1782aa85fc3a399d33;p=blank.git diff --git a/src/net/ClientConnection.hpp b/src/net/ClientConnection.hpp index fb6420a..7fb797b 100644 --- a/src/net/ClientConnection.hpp +++ b/src/net/ClientConnection.hpp @@ -3,6 +3,7 @@ #include "Connection.hpp" #include "ConnectionHandler.hpp" +#include "../app/IntervalTimer.hpp" #include #include @@ -61,12 +62,16 @@ private: void SendDespawn(SpawnStatus &); void SendUpdate(SpawnStatus &); + void CheckPlayerFix(); + private: Server &server; Connection conn; Entity *player; std::list spawns; unsigned int confirm_wait; + std::uint16_t player_update_pack; + IntervalTimer player_update_timer; };