X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fnet%2FPacket.hpp;fp=src%2Fnet%2FPacket.hpp;h=af2f8727e3383669042365d2085c2f4c9a178083;hb=4e3d9c23940c4511623b5bf328cbbe42641c4b30;hp=fa35189056d3201ca982539913303e3c0a19ed92;hpb=2b31a783f1bac06c7f6d7adbe5e13e4148c7a815;p=blank.git diff --git a/src/net/Packet.hpp b/src/net/Packet.hpp index fa35189..af2f872 100644 --- a/src/net/Packet.hpp +++ b/src/net/Packet.hpp @@ -72,6 +72,7 @@ struct Packet { static constexpr std::size_t MAX_LEN = 100; void WritePlayer(const Entity &) noexcept; + void ReadPlayerID(std::uint32_t &) const noexcept; void ReadPlayer(Entity &) const noexcept; void WriteWorldName(const std::string &) noexcept; void ReadWorldName(std::string &) const noexcept;