]> git.localhorst.tv Git - blank.git/blobdiff - src/client/MasterState.hpp
group entity updates in as few packets as possible
[blank.git] / src / client / MasterState.hpp
index 61069dc5aa7136eb8be750bce26ece226ebef708..50773a63d03e7d700b7e7e5b7c63d6da8f8b33c3 100644 (file)
@@ -1,10 +1,10 @@
 #ifndef BLANK_CLIENT_CLIENTSTATE_HPP_
 #define BLANK_CLIENT_CLIENTSTATE_HPP_
 
+#include "Client.hpp"
 #include "InitialState.hpp"
 #include "InteractiveState.hpp"
 #include "../app/State.hpp"
-#include "../net/Client.hpp"
 #include "../net/ConnectionHandler.hpp"
 
 #include <map>
@@ -55,6 +55,9 @@ public:
        void On(const Packet::SpawnEntity &) override;
        void On(const Packet::DespawnEntity &) override;
        void On(const Packet::EntityUpdate &) override;
+       void On(const Packet::PlayerCorrection &) override;
+       void On(const Packet::ChunkBegin &) override;
+       void On(const Packet::ChunkData &) override;
 
 private:
        /// flag entity as updated by given packet