X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fclient%2FMasterState.hpp;fp=src%2Fclient%2FMasterState.hpp;h=a29ff83e68e668102fdf4b4bb1d7ab3fd732744f;hb=a26ca06878d45d3ce77cbc28b574f2553e121944;hp=1d69998b58f3432f656a78906142704384977921;hpb=bc2806164f55b7ac48dbb6d224b7d4b55683decf;p=blank.git diff --git a/src/client/MasterState.hpp b/src/client/MasterState.hpp index 1d69998..a29ff83 100644 --- a/src/client/MasterState.hpp +++ b/src/client/MasterState.hpp @@ -62,13 +62,6 @@ public: void On(const Packet::ChunkData &) override; void On(const Packet::BlockUpdate &) override; -private: - /// flag entity as updated by given packet - /// returns false if the update should be ignored - bool UpdateEntity(std::uint32_t id, std::uint16_t seq); - /// drop update information or given entity - void ClearEntity(std::uint32_t id); - private: Environment &env; Config &config; @@ -80,13 +73,6 @@ private: int login_packet; - struct UpdateStatus { - std::uint16_t last_packet; - int last_update; - }; - std::map update_status; - IntervalTimer update_timer; - }; }