TrinityCore
ChatCommandHelpers.h File Reference
#include "Define.h"
#include "Language.h"
#include "Optional.h"
#include "StringFormat.h"
#include <fmt/printf.h>
#include <string>
#include <string_view>
#include <type_traits>
#include <variant>
+ Include dependency graph for ChatCommandHelpers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Trinity::Impl::ChatCommands::tag_base< T, typename >
 
struct  Trinity::Impl::ChatCommands::TokenizeResult
 
struct  Trinity::Impl::ChatCommands::are_all_assignable< T, Ts >
 
struct  Trinity::Impl::ChatCommands::are_all_assignable< void, Ts... >
 
struct  Trinity::Impl::ChatCommands::get_nth< index, T1, Ts >
 
struct  Trinity::Impl::ChatCommands::get_nth< 0, T1, Ts... >
 
struct  Trinity::Impl::ChatCommands::ChatCommandResult
 

Namespaces

namespace  Trinity
 
namespace  Trinity::Impl
 
namespace  Trinity::Impl::ChatCommands
 

Typedefs

template<typename T >
using Trinity::Impl::ChatCommands::tag_base_t = typename tag_base< T >::type
 
template<std::size_t index, typename... Ts>
using Trinity::Impl::ChatCommands::get_nth_t = typename get_nth< index, Ts... >::type
 

Functions

TokenizeResult Trinity::Impl::ChatCommands::tokenize (std::string_view args)
 
TC_GAME_API void Trinity::Impl::ChatCommands::SendErrorMessageToHandler (ChatHandler *handler, std::string_view str)
 
TC_GAME_API char const * Trinity::Impl::ChatCommands::GetTrinityString (ChatHandler const *handler, TrinityStrings which)
 
template<typename... Ts>
std::string Trinity::Impl::ChatCommands::FormatTrinityString (ChatHandler const *handler, TrinityStrings which, Ts &&... args)
 

Variables

static constexpr char Trinity::Impl::ChatCommands::COMMAND_DELIMITER = ' '