]> git.localhorst.tv Git - blank.git/blobdiff - src/client/Client.hpp
merge common parts of pre- and unload states
[blank.git] / src / client / Client.hpp
index fb7eab1520ea769b7b6526b9659298a797976de7..a5f85e5f58c70ca4a69c02753a6c68278010abdf 100644 (file)
@@ -30,7 +30,13 @@ public:
        std::uint16_t SendPing();
        std::uint16_t SendLogin(const std::string &);
        std::uint16_t SendPart();
-       std::uint16_t SendPlayerUpdate(const Entity &);
+       std::uint16_t SendPlayerUpdate(
+               const EntityState &prediction,
+               const glm::vec3 &movement,
+               float pitch,
+               float yaw,
+               std::uint8_t actions,
+               std::uint8_t slot);
 
 private:
        void HandlePacket(const UDPpacket &);