![]() |
TrinityCore
|
#include <PacketUtilities.h>
Public Member Functions | |
| bool | empty () const |
| char const * | c_str () const |
| operator std::string_view () const | |
| operator std::string & () | |
| operator std::string const & () const | |
| std::string && | Move () |
Private Types | |
| using | ValidatorList = std::conditional_t<!Trinity::has_type< Strings::RawBytes, std::tuple< Validators... > >::value, std::tuple< Strings::ByteSize< MaxBytesWithoutNullTerminator >, Strings::Utf8, Validators... >, std::tuple< Strings::ByteSize< MaxBytesWithoutNullTerminator >, Validators... > > |
Private Member Functions | |
| bool | Validate () const |
| template<std::size_t... indexes> | |
| bool | ValidateNth (std::index_sequence< indexes... >) const |
Private Attributes | |
| std::string | _storage |
Friends | |
| ByteBuffer & | operator>> (ByteBuffer &data, String &value) |
Utility class for automated prevention of invalid strings in client packets
Definition at line 71 of file PacketUtilities.h.
|
private |
Definition at line 73 of file PacketUtilities.h.
|
inline |
Definition at line 79 of file PacketUtilities.h.
|
inline |
Definition at line 78 of file PacketUtilities.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 85 of file PacketUtilities.h.
|
inline |
Definition at line 82 of file PacketUtilities.h.
|
inline |
Definition at line 83 of file PacketUtilities.h.
|
inline |
Definition at line 81 of file PacketUtilities.h.
|
inlineprivate |
|
inlineprivate |
|
friend |
Definition at line 87 of file PacketUtilities.h.
|
private |
Definition at line 106 of file PacketUtilities.h.