]> git.localhorst.tv Git - blank.git/blobdiff - src/net/Packet.hpp
send entity visual from server to client
[blank.git] / src / net / Packet.hpp
index bb6140d5952cef743c69fe4d2ff3365123491d7b..76cd966bed681aec73e22f8c9a87276eb1cc4569 100644 (file)
@@ -101,10 +101,11 @@ struct Packet {
 
        struct SpawnEntity : public Payload {
                static constexpr std::uint8_t TYPE = 5;
-               static constexpr std::size_t MAX_LEN = 128;
+               static constexpr std::size_t MAX_LEN = 132;
 
                void WriteEntity(const Entity &) noexcept;
                void ReadEntityID(std::uint32_t &) const noexcept;
+               void ReadSkeletonID(std::uint32_t &) const noexcept;
                void ReadEntity(Entity &) const noexcept;
        };