AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Acore::ChatCommands Namespace Reference

Classes

struct  AccountIdentifier
 
struct  ChatCommandBuilder
 
struct  ExactSequence
 
struct  Hyperlink
 
struct  PlayerIdentifier
 
struct  QuotedString
 
struct  Tail
 
struct  Variant
 
struct  WTail
 

Typedefs

using ChatCommandTable = std::vector< ChatCommandBuilder >
 

Enumerations

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

Functions

AC_GAME_API void LoadCommandMap ()
 
AC_GAME_API void InvalidateCommandMap ()
 
AC_GAME_API bool TryExecuteCommand (ChatHandler &handler, std::string_view cmd)
 
AC_GAME_API void SendCommandHelpFor (ChatHandler &handler, std::string_view cmd)
 
AC_GAME_API std::vector< std::string > GetAutoCompletionsFor (ChatHandler const &handler, std::string_view cmd)
 

Typedef Documentation

◆ ChatCommandTable

Enumeration Type Documentation

◆ Console

enum class Acore::ChatCommands::Console : bool
strong
Enumerator
No 
Yes 
44 {
45 No = false,
46 Yes = true
47 };

Function Documentation

◆ GetAutoCompletionsFor()

std::vector< std::string > Acore::ChatCommands::GetAutoCompletionsFor ( ChatHandler const &  handler,
std::string_view  cmd 
)
static std::vector< std::string > GetAutoCompletionsFor(ChatHandler const &handler, std::string_view cmd)
Definition: ChatCommand.cpp:418

References Acore::Impl::ChatCommands::ChatCommandNode::GetAutoCompletionsFor().

◆ InvalidateCommandMap()

void Acore::ChatCommands::InvalidateCommandMap ( )

◆ LoadCommandMap()

◆ SendCommandHelpFor()

void Acore::ChatCommands::SendCommandHelpFor ( ChatHandler handler,
std::string_view  cmd 
)

◆ TryExecuteCommand()

bool Acore::ChatCommands::TryExecuteCommand ( ChatHandler handler,
std::string_view  cmd 
)
static bool TryExecuteCommand(ChatHandler &handler, std::string_view cmd)
Definition: ChatCommand.cpp:274

References Acore::Impl::ChatCommands::ChatCommandNode::TryExecuteCommand().

Referenced by ChatHandler::_ParseCommands().