![]() |
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) |
| TC_GAME_API std::string | FormatTrinityString (std::string_view messageFormat, fmt::printf_args messageFormatArgs) |
| 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 119 of file ChatCommand.h.
| ChatCommandResult Trinity::Impl::ChatCommands::ConsumeFromOffset | ( | Tuple & | tuple, |
| ChatHandler const * | handler, | ||
| std::string_view | args | ||
| ) |
Definition at line 107 of file ChatCommand.h.
| std::string Trinity::Impl::ChatCommands::FormatTrinityString | ( | ChatHandler const * | handler, |
| TrinityStrings | which, | ||
| Ts &&... | args | ||
| ) |
| std::string Trinity::Impl::ChatCommands::FormatTrinityString | ( | std::string_view | messageFormat, |
| fmt::printf_args | messageFormatArgs | ||
| ) |
Definition at line 33 of file ChatCommandHelpers.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Definition at line 57 of file ChatCommandTags.h.
| char const * Trinity::Impl::ChatCommands::GetTrinityString | ( | ChatHandler const * | handler, |
| TrinityStrings | which | ||
| ) |
Definition at line 28 of file ChatCommandHelpers.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void Trinity::Impl::ChatCommands::SendErrorMessageToHandler | ( | ChatHandler * | handler, |
| std::string_view | str | ||
| ) |
Definition at line 22 of file ChatCommandHelpers.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
staticconstexpr |
Definition at line 39 of file ChatCommandHelpers.h.