X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fnet%2FClient.hpp;h=2848aedb342a37ebcac5ebd8c7052089c0696397;hb=ae5a7e7d8517fac406a88e9bf98fd3d5bb1728b9;hp=3960e845c9fed551ae15b2046013bab7504af3a2;hpb=1afc887a2040dfdedfa66913e94ff7a9634f648f;p=blank.git diff --git a/src/net/Client.hpp b/src/net/Client.hpp index 3960e84..2848aed 100644 --- a/src/net/Client.hpp +++ b/src/net/Client.hpp @@ -30,8 +30,10 @@ 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 SendPart(); + std::uint16_t SendPlayerUpdate(const Entity &); private: void HandlePacket(const UDPpacket &);