![]() |
TrinityCore
|
Typedefs | |
template<typename T > | |
using | TupleType = typename HandlerToTuple< T >::type |
template<typename T > | |
using | tag_base_t = typename tag_base< T >::type |
template<std::size_t index, typename... Ts> | |
using | get_nth_t = typename get_nth< index, Ts... >::type |
Functions | |
template<typename Tuple , size_t offset> | |
ChatCommandResult | ConsumeFromOffset (Tuple &, ChatHandler const *handler, std::string_view args) |
TokenizeResult | tokenize (std::string_view args) |
TC_GAME_API void | SendErrorMessageToHandler (ChatHandler *handler, std::string_view str) |
TC_GAME_API char const * | GetTrinityString (ChatHandler const *handler, TrinityStrings which) |
template<typename... Ts> | |
std::string | FormatTrinityString (ChatHandler const *handler, TrinityStrings which, Ts &&... args) |
template<size_t N> | |
constexpr char | GetChar (char const (&s)[N], size_t i) |
Variables | |
static constexpr char | COMMAND_DELIMITER = ' ' |
using Trinity::Impl::ChatCommands::get_nth_t = typedef typename get_nth<index, Ts...>::type |
Definition at line 93 of file ChatCommandHelpers.h.
using Trinity::Impl::ChatCommands::tag_base_t = typedef typename tag_base<T>::type |
Definition at line 48 of file ChatCommandHelpers.h.
using Trinity::Impl::ChatCommands::TupleType = typedef typename HandlerToTuple<T>::type |
Definition at line 118 of file ChatCommand.h.
ChatCommandResult Trinity::Impl::ChatCommands::ConsumeFromOffset | ( | Tuple & | tuple, |
ChatHandler const * | handler, | ||
std::string_view | args | ||
) |
Definition at line 106 of file ChatCommand.h.
std::string Trinity::Impl::ChatCommands::FormatTrinityString | ( | ChatHandler const * | handler, |
TrinityStrings | which, | ||
Ts &&... | args | ||
) |
Definition at line 127 of file ChatCommandHelpers.h.
|
inlineconstexpr |
Definition at line 54 of file ChatCommandTags.h.
char const * Trinity::Impl::ChatCommands::GetTrinityString | ( | ChatHandler const * | handler, |
TrinityStrings | which | ||
) |
Definition at line 27 of file ChatCommandHelpers.cpp.
void Trinity::Impl::ChatCommands::SendErrorMessageToHandler | ( | ChatHandler * | handler, |
std::string_view | str | ||
) |
Definition at line 21 of file ChatCommandHelpers.cpp.
|
inline |
|
staticconstexpr |
Definition at line 39 of file ChatCommandHelpers.h.