TrinityCore
ChatCommand.h File Reference
#include "advstd.h"
#include "ChatCommandArgs.h"
#include "ChatCommandTags.h"
#include "Define.h"
#include "Errors.h"
#include "Language.h"
#include "Optional.h"
#include "RBAC.h"
#include "StringFormat.h"
#include "Util.h"
#include <cstddef>
#include <map>
#include <utility>
#include <tuple>
#include <type_traits>
#include <variant>
#include <vector>
+ Include dependency graph for ChatCommand.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::MultiConsumer< Tuple, NextType, offset >
 
struct  Trinity::Impl::ChatCommands::MultiConsumer< Tuple, Optional< NestedNextType >, offset >
 
struct  Trinity::Impl::ChatCommands::HandlerToTuple< T >
 
struct  Trinity::Impl::ChatCommands::HandlerToTuple< bool(ChatHandler *, Ts...)>
 
struct  Trinity::Impl::ChatCommands::CommandInvoker
 
struct  Trinity::Impl::ChatCommands::CommandPermissions
 
class  Trinity::Impl::ChatCommands::ChatCommandNode
 
struct  Trinity::ChatCommands::ChatCommandBuilder
 
struct  Trinity::ChatCommands::ChatCommandBuilder::InvokerEntry
 

Namespaces

 Trinity::ChatCommands
 
 Trinity::Impl::ChatCommands
 

Typedefs

using Trinity::ChatCommands::ChatCommandTable = std::vector< ChatCommandBuilder >
 
template<typename T >
using Trinity::Impl::ChatCommands::TupleType = typename HandlerToTuple< T >::type
 
using using = Trinity::ChatCommands::ChatCommandBuilder
 

Enumerations

enum  Trinity::ChatCommands::Console : bool { Trinity::ChatCommands::Console::No = false, Trinity::ChatCommands::Console::Yes = true }
 

Functions

template<typename Tuple , size_t offset>
ChatCommandResult Trinity::Impl::ChatCommands::ConsumeFromOffset (Tuple &, ChatHandler const *handler, std::string_view args)
 
template<typename Tuple , size_t offset>
ChatCommandResult Trinity::Impl::ChatCommands::ConsumeFromOffset ([[maybe_unused]] Tuple &tuple, [[maybe_unused]] ChatHandler const *handler, std::string_view args)
 
TC_GAME_API void Trinity::ChatCommands::LoadCommandMap ()
 
TC_GAME_API void Trinity::ChatCommands::InvalidateCommandMap ()
 
TC_GAME_API bool Trinity::ChatCommands::TryExecuteCommand (ChatHandler &handler, std::string_view cmd)
 
TC_GAME_API void Trinity::ChatCommands::SendCommandHelpFor (ChatHandler &handler, std::string_view cmd)
 
TC_GAME_API std::vector< std::string > Trinity::ChatCommands::GetAutoCompletionsFor (ChatHandler const &handler, std::string_view cmd)
 

Typedef Documentation

◆ using