X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fclient%2FClient.hpp;h=b09001cda1d40a1e096f9883eb19ee391298d499;hb=69a4ba4fa3e4694887087ab6dddc784a593d2b03;hp=fb7eab1520ea769b7b6526b9659298a797976de7;hpb=b066e776622f96e906600a0c4a08de392bd03676;p=blank.git diff --git a/src/client/Client.hpp b/src/client/Client.hpp index fb7eab1..b09001c 100644 --- a/src/client/Client.hpp +++ b/src/client/Client.hpp @@ -30,7 +30,19 @@ 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); + std::uint16_t SendChunkRequest( + const glm::ivec3 &); + std::uint16_t SendMessage( + std::uint8_t type, + std::uint32_t ref, + const std::string &msg); private: void HandlePacket(const UDPpacket &);