X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet%2FClient.hpp;h=5c0a9c2b378344f8e4c7db1700de664093bd0b69;hb=b5a83cd3df5083ed0cccfe4876143e788b3836f9;hp=3960e845c9fed551ae15b2046013bab7504af3a2;hpb=1afc887a2040dfdedfa66913e94ff7a9634f648f;p=blank.git diff --git a/src/net/Client.hpp b/src/net/Client.hpp index 3960e84..5c0a9c2 100644 --- a/src/net/Client.hpp +++ b/src/net/Client.hpp @@ -30,8 +30,9 @@ public: Connection &GetConnection() noexcept { return conn; } const Connection &GetConnection() const noexcept { return conn; } - void SendPing(); - void SendLogin(const std::string &); + std::uint16_t SendPing(); + std::uint16_t SendLogin(const std::string &); + std::uint16_t SendPlayerUpdate(const Entity &); private: void HandlePacket(const UDPpacket &);