std::uint32_t tag;
TControl ctrl;
std::uint8_t type;
+ std::uint8_t reserved1;
+ std::uint8_t reserved2;
+ std::uint8_t reserved3;
} header;
static constexpr std::size_t MAX_PAYLOAD_LEN = 500 - sizeof(Header);
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;