TrinityCore
Loading...
Searching...
No Matches
Trinity::ChatCommands Namespace Reference

Classes

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

Concepts

concept  HasVariantConversionOperators
 

Typedefs

using ChatCommandTable = ChatCommandBuilder const []
 

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 
)
private

Definition at line 509 of file ChatCommand.cpp.

+ Here is the call graph for this function:

◆ InvalidateCommandMap()

void Trinity::ChatCommands::InvalidateCommandMap ( )
private

Definition at line 506 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 ( )
private

Definition at line 505 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 
)
private

Definition at line 508 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 
)
private

Definition at line 507 of file ChatCommand.cpp.

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