TrinityCore
ticket_commandscript Class Reference
+ Inheritance diagram for ticket_commandscript:

Public Member Functions

 ticket_commandscript ()
 
std::vector< ChatCommandGetCommands () 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

template<typename T >
static bool HandleTicketAssignToCommand (ChatHandler *handler, char const *args)
 
template<typename T >
static bool HandleTicketCloseByIdCommand (ChatHandler *handler, char const *args)
 
template<typename T >
static bool HandleTicketCommentCommand (ChatHandler *handler, char const *args)
 
template<typename T >
static bool HandleTicketDeleteByIdCommand (ChatHandler *handler, char const *args)
 
template<typename T >
static bool HandleTicketListCommand (ChatHandler *handler, char const *)
 
template<typename T >
static bool HandleTicketListClosedCommand (ChatHandler *handler, char const *)
 
template<typename T >
static bool HandleTicketResetCommand (ChatHandler *handler, char const *)
 
template<typename T >
static bool HandleTicketUnAssignCommand (ChatHandler *handler, char const *args)
 
template<typename T >
static bool HandleTicketGetByIdCommand (ChatHandler *handler, char const *args)
 
static bool HandleTicketResetAllCommand (ChatHandler *handler, char const *)
 
static bool HandleToggleGMTicketSystem (ChatHandler *handler, char const *)
 

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 42 of file cs_ticket.cpp.

Constructor & Destructor Documentation

◆ ticket_commandscript()

ticket_commandscript::ticket_commandscript ( )
inline

Definition at line 45 of file cs_ticket.cpp.

Member Function Documentation

◆ GetCommands()

std::vector< ChatCommand > ticket_commandscript::GetCommands ( ) const
overridevirtual

Implements CommandScript.

Definition at line 371 of file cs_ticket.cpp.

+ Here is the call graph for this function:

◆ HandleTicketAssignToCommand()

template<typename T >
bool ticket_commandscript::HandleTicketAssignToCommand ( ChatHandler handler,
char const *  args 
)
static

Console can override though

Definition at line 109 of file cs_ticket.cpp.

+ Here is the call graph for this function:

◆ HandleTicketCloseByIdCommand()

template<typename T >
bool ticket_commandscript::HandleTicketCloseByIdCommand ( ChatHandler handler,
char const *  args 
)
static

Definition at line 168 of file cs_ticket.cpp.

+ Here is the call graph for this function:

◆ HandleTicketCommentCommand()

template<typename T >
bool ticket_commandscript::HandleTicketCommentCommand ( ChatHandler handler,
char const *  args 
)
static

Console excluded

Definition at line 205 of file cs_ticket.cpp.

+ Here is the call graph for this function:

◆ HandleTicketDeleteByIdCommand()

template<typename T >
bool ticket_commandscript::HandleTicketDeleteByIdCommand ( ChatHandler handler,
char const *  args 
)
static

Definition at line 259 of file cs_ticket.cpp.

+ Here is the call graph for this function:

◆ HandleTicketGetByIdCommand()

template<typename T >
bool ticket_commandscript::HandleTicketGetByIdCommand ( ChatHandler handler,
char const *  args 
)
static

Definition at line 354 of file cs_ticket.cpp.

+ Here is the call graph for this function:

◆ HandleTicketListClosedCommand()

template<typename T >
bool ticket_commandscript::HandleTicketListClosedCommand ( ChatHandler handler,
char const *   
)
static

Definition at line 252 of file cs_ticket.cpp.

◆ HandleTicketListCommand()

template<typename T >
bool ticket_commandscript::HandleTicketListCommand ( ChatHandler handler,
char const *   
)
static

Definition at line 245 of file cs_ticket.cpp.

◆ HandleTicketResetAllCommand()

static bool ticket_commandscript::HandleTicketResetAllCommand ( ChatHandler handler,
char const *   
)
inlinestatic

Definition at line 74 of file cs_ticket.cpp.

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

◆ HandleTicketResetCommand()

template<typename T >
bool ticket_commandscript::HandleTicketResetCommand ( ChatHandler handler,
char const *   
)
static

Definition at line 287 of file cs_ticket.cpp.

+ Here is the call graph for this function:

◆ HandleTicketUnAssignCommand()

template<typename T >
bool ticket_commandscript::HandleTicketUnAssignCommand ( ChatHandler handler,
char const *  args 
)
static

If no m_session present it means we're issuing this command from the console

Definition at line 303 of file cs_ticket.cpp.

+ Here is the call graph for this function:

◆ HandleToggleGMTicketSystem()

static bool ticket_commandscript::HandleToggleGMTicketSystem ( ChatHandler handler,
char const *   
)
inlinestatic

Definition at line 91 of file cs_ticket.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: