TrinityCore
message_commandscript Class Reference
+ Inheritance diagram for message_commandscript:

Public Member Functions

 message_commandscript ()
 
ChatCommandTable GetCommands () const override
 
- Public Member Functions inherited from CommandScript
 ~CommandScript ()
 
virtual std::vector< Trinity::ChatCommands::ChatCommandBuilderGetCommands () const =0
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Static Public Member Functions

static bool HandleChannelSetOwnership (ChatHandler *handler, std::string channelName, bool grantOwnership)
 
static bool HandleNameAnnounceCommand (ChatHandler *handler, Tail message)
 
static bool HandleGMNameAnnounceCommand (ChatHandler *handler, Tail message)
 
static bool HandleAnnounceCommand (ChatHandler *handler, Tail message)
 
static bool HandleGMAnnounceCommand (ChatHandler *, Tail message)
 
static bool HandleNotifyCommand (ChatHandler *handler, Tail message)
 
static bool HandleGMNotifyCommand (ChatHandler *handler, Tail message)
 
static bool HandleWhispersCommand (ChatHandler *handler, Optional< Variant< bool, EXACT_SEQUENCE("remove")> > operationArg, Optional< std::string > playerNameArg)
 

Additional Inherited Members

- Protected Member Functions inherited from CommandScript
 CommandScript (char const *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
virtual ~ScriptObject ()
 

Detailed Description

Definition at line 43 of file cs_message.cpp.

Constructor & Destructor Documentation

◆ message_commandscript()

message_commandscript::message_commandscript ( )
inline

Definition at line 46 of file cs_message.cpp.

Member Function Documentation

◆ GetCommands()

ChatCommandTable message_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 48 of file cs_message.cpp.

+ Here is the call graph for this function:

◆ HandleAnnounceCommand()

static bool message_commandscript::HandleAnnounceCommand ( ChatHandler handler,
Tail  message 
)
inlinestatic

Definition at line 153 of file cs_message.cpp.

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

◆ HandleChannelSetOwnership()

static bool message_commandscript::HandleChannelSetOwnership ( ChatHandler handler,
std::string  channelName,
bool  grantOwnership 
)
inlinestatic

Definition at line 64 of file cs_message.cpp.

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

◆ HandleGMAnnounceCommand()

static bool message_commandscript::HandleGMAnnounceCommand ( ChatHandler ,
Tail  message 
)
inlinestatic

Definition at line 163 of file cs_message.cpp.

+ Here is the caller graph for this function:

◆ HandleGMNameAnnounceCommand()

static bool message_commandscript::HandleGMNameAnnounceCommand ( ChatHandler handler,
Tail  message 
)
inlinestatic

Definition at line 139 of file cs_message.cpp.

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

◆ HandleGMNotifyCommand()

static bool message_commandscript::HandleGMNotifyCommand ( ChatHandler handler,
Tail  message 
)
inlinestatic

Definition at line 187 of file cs_message.cpp.

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

◆ HandleNameAnnounceCommand()

static bool message_commandscript::HandleNameAnnounceCommand ( ChatHandler handler,
Tail  message 
)
inlinestatic

Definition at line 126 of file cs_message.cpp.

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

◆ HandleNotifyCommand()

static bool message_commandscript::HandleNotifyCommand ( ChatHandler handler,
Tail  message 
)
inlinestatic

Definition at line 173 of file cs_message.cpp.

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

◆ HandleWhispersCommand()

static bool message_commandscript::HandleWhispersCommand ( ChatHandler handler,
Optional< Variant< bool, EXACT_SEQUENCE("remove")> >  operationArg,
Optional< std::string >  playerNameArg 
)
inlinestatic

Definition at line 201 of file cs_message.cpp.

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

The documentation for this class was generated from the following file: