AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ChatCommand.h File Reference
#include "ChatCommandArgs.h"
#include "ChatCommandTags.h"
#include "Define.h"
#include "Errors.h"
#include "Language.h"
#include "ObjectGuid.h"
#include "Optional.h"
#include "StringFormat.h"
#include "Util.h"
#include <cstddef>
#include <map>
#include <tuple>
#include <type_traits>
#include <utility>
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

struct  Acore::Impl::ChatCommands::MultiConsumer< Tuple, NextType, offset >
 
struct  Acore::Impl::ChatCommands::MultiConsumer< Tuple, Optional< NestedNextType >, offset >
 
struct  Acore::Impl::ChatCommands::HandlerToTuple< T >
 
struct  Acore::Impl::ChatCommands::HandlerToTuple< bool(ChatHandler *, Ts...)>
 
struct  Acore::Impl::ChatCommands::CommandInvoker
 
struct  Acore::Impl::ChatCommands::CommandPermissions
 
class  Acore::Impl::ChatCommands::ChatCommandNode
 
struct  Acore::ChatCommands::ChatCommandBuilder
 
struct  Acore::ChatCommands::ChatCommandBuilder::InvokerEntry
 

Namespaces

namespace  Acore
 
namespace  Acore::ChatCommands
 
namespace  Acore::Impl
 
namespace  Acore::Impl::ChatCommands
 

Typedefs

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

Enumerations

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

Functions

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

Typedef Documentation

◆ ChatCommand