TrinityCore
Trinity::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

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

Typedef Documentation

◆ ChatCommandTable

Definition at line 49 of file ChatCommand.h.

Enumeration Type Documentation

◆ Console

enum class Trinity::ChatCommands::Console : bool
strong
Enumerator
No 
Yes 

Definition at line 42 of file ChatCommand.h.

Function Documentation

◆ GetAutoCompletionsFor()

std::vector< std::string > Trinity::ChatCommands::GetAutoCompletionsFor ( ChatHandler const &  handler,
std::string_view  cmd 
)

Definition at line 482 of file ChatCommand.cpp.

+ Here is the call graph for this function:

◆ InvalidateCommandMap()

void Trinity::ChatCommands::InvalidateCommandMap ( )

Definition at line 479 of file ChatCommand.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadCommandMap()

void Trinity::ChatCommands::LoadCommandMap ( )

Definition at line 478 of file ChatCommand.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendCommandHelpFor()

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

Definition at line 481 of file ChatCommand.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TryExecuteCommand()

bool Trinity::ChatCommands::TryExecuteCommand ( ChatHandler handler,
std::string_view  cmd 
)

Definition at line 480 of file ChatCommand.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: