|
| EncryptableAndCompressiblePacket (WorldPacket const &packet, bool encrypt) |
|
bool | NeedsEncryption () const |
|
bool | NeedsCompression () const |
|
void | CompressIfNeeded () |
|
| WorldPacket () |
|
| WorldPacket (uint16 opcode, std::size_t res=200) |
|
| WorldPacket (WorldPacket &&packet) noexcept |
|
| WorldPacket (WorldPacket &&packet, TimePoint receivedTime) |
|
| WorldPacket (WorldPacket const &right) |
|
WorldPacket & | operator= (WorldPacket const &right) |
|
WorldPacket & | operator= (WorldPacket &&right) noexcept |
|
| WorldPacket (uint16 opcode, MessageBuffer &&buffer) |
|
void | Initialize (uint16 opcode, std::size_t newres=200) |
|
uint16 | GetOpcode () const |
|
void | SetOpcode (uint16 opcode) |
|
TimePoint | GetReceivedTime () const |
|
| ByteBuffer () |
|
| ByteBuffer (std::size_t reserve) |
|
| ByteBuffer (ByteBuffer &&buf) noexcept |
|
| ByteBuffer (ByteBuffer const &right)=default |
|
| ByteBuffer (MessageBuffer &&buffer) |
|
virtual | ~ByteBuffer ()=default |
|
ByteBuffer & | operator= (ByteBuffer const &right) |
|
ByteBuffer & | operator= (ByteBuffer &&right) noexcept |
|
void | clear () |
|
template<typename T > |
void | append (T value) |
|
template<typename T > |
void | put (std::size_t pos, T value) |
|
ByteBuffer & | operator<< (bool value) |
|
ByteBuffer & | operator<< (uint8 value) |
|
ByteBuffer & | operator<< (uint16 value) |
|
ByteBuffer & | operator<< (uint32 value) |
|
ByteBuffer & | operator<< (uint64 value) |
|
ByteBuffer & | operator<< (int8 value) |
|
ByteBuffer & | operator<< (int16 value) |
|
ByteBuffer & | operator<< (int32 value) |
|
ByteBuffer & | operator<< (int64 value) |
|
ByteBuffer & | operator<< (float value) |
|
ByteBuffer & | operator<< (double value) |
|
ByteBuffer & | operator<< (std::string_view value) |
|
ByteBuffer & | operator<< (std::string const &str) |
|
ByteBuffer & | operator<< (char const *str) |
|
ByteBuffer & | operator>> (bool &value) |
|
ByteBuffer & | operator>> (uint8 &value) |
|
ByteBuffer & | operator>> (uint16 &value) |
|
ByteBuffer & | operator>> (uint32 &value) |
|
ByteBuffer & | operator>> (uint64 &value) |
|
ByteBuffer & | operator>> (int8 &value) |
|
ByteBuffer & | operator>> (int16 &value) |
|
ByteBuffer & | operator>> (int32 &value) |
|
ByteBuffer & | operator>> (int64 &value) |
|
ByteBuffer & | operator>> (float &value) |
|
ByteBuffer & | operator>> (double &value) |
|
ByteBuffer & | operator>> (std::string &value) |
|
uint8 & | operator[] (std::size_t const pos) |
|
uint8 const & | operator[] (std::size_t const pos) const |
|
std::size_t | rpos () const |
|
std::size_t | rpos (std::size_t rpos_) |
|
void | rfinish () |
|
std::size_t | wpos () const |
|
std::size_t | wpos (std::size_t wpos_) |
|
template<typename T > |
void | read_skip () |
|
void | read_skip (std::size_t skip) |
|
template<typename T > |
T | read () |
|
template<typename T > |
T | read (std::size_t pos) const |
|
void | read (uint8 *dest, std::size_t len) |
|
template<std::size_t Size> |
void | read (std::array< uint8, Size > &arr) |
|
void | readPackGUID (uint64 &guid) |
|
std::string | ReadCString (bool requireValidUtf8=true) |
|
uint32 | ReadPackedTime () |
|
ByteBuffer & | ReadPackedTime (uint32 &time) |
|
uint8 * | contents () |
|
uint8 const * | contents () const |
|
std::size_t | size () const |
|
bool | empty () const |
|
void | resize (std::size_t newsize) |
|
void | reserve (std::size_t ressize) |
|
void | shrink_to_fit () |
|
void | append (char const *src, std::size_t cnt) |
|
template<class T > |
void | append (const T *src, std::size_t cnt) |
|
void | append (uint8 const *src, std::size_t cnt) |
|
void | append (ByteBuffer const &buffer) |
|
template<std::size_t Size> |
void | append (std::array< uint8, Size > const &arr) |
|
void | appendPackXYZ (float x, float y, float z) |
|
void | appendPackGUID (uint64 guid) |
|
void | AppendPackedTime (time_t time) |
|
void | put (std::size_t pos, uint8 const *src, std::size_t cnt) |
|
void | print_storage () const |
|
void | textlike () const |
|
void | hexlike () const |
|
template<> |
void | read_skip () |
|
template<> |
void | read_skip () |
|