![]() |
TrinityCore
|
#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>
Go to the source code of this file.
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) |