TrinityCore
Loading...
Searching...
No Matches
ban_commandscript Class Reference
+ Inheritance diagram for ban_commandscript:

Public Member Functions

 ban_commandscript ()
 
std::span< ChatCommandBuilder const > GetCommands () const override
 
- Public Member Functions inherited from CommandScript
 ~CommandScript ()
 
- 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 HandleBanAccountCommand (ChatHandler *handler, char const *args)
 
static bool HandleBanCharacterCommand (ChatHandler *handler, char const *args)
 
static bool HandleBanAccountByCharCommand (ChatHandler *handler, char const *args)
 
static bool HandleBanIPCommand (ChatHandler *handler, char const *args)
 
static bool IsIPAddress (std::string const &text)
 
static bool HandleBanHelper (BanMode mode, char const *args, ChatHandler *handler)
 
static bool HandleBanInfoAccountCommand (ChatHandler *handler, char const *args)
 
static bool HandleBanInfoHelper (uint32 accountId, char const *accountName, ChatHandler *handler)
 
static bool HandleBanInfoCharacterCommand (ChatHandler *handler, char const *args)
 
static bool HandleBanInfoIPCommand (ChatHandler *handler, std::string &ip)
 
static bool HandleBanListAccountCommand (ChatHandler *handler, char const *args)
 
static bool HandleBanListHelper (PreparedQueryResult result, ChatHandler *handler)
 
static bool HandleBanListCharacterCommand (ChatHandler *handler, char const *args)
 
static bool HandleBanListIPCommand (ChatHandler *handler, char const *args)
 
static bool HandleUnBanAccountCommand (ChatHandler *handler, char const *args)
 
static bool HandleUnBanCharacterCommand (ChatHandler *handler, char const *args)
 
static bool HandleUnBanAccountByCharCommand (ChatHandler *handler, char const *args)
 
static bool HandleUnBanIPCommand (ChatHandler *handler, char const *args)
 
static bool HandleUnBanHelper (BanMode mode, char const *args, ChatHandler *handler)
 

Additional Inherited Members

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

Detailed Description

Definition at line 46 of file cs_ban.cpp.

Constructor & Destructor Documentation

◆ ban_commandscript()

ban_commandscript::ban_commandscript ( )
inline

Definition at line 49 of file cs_ban.cpp.

Member Function Documentation

◆ GetCommands()

std::span< ChatCommandBuilder const > ban_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 51 of file cs_ban.cpp.

+ Here is the call graph for this function:

◆ HandleBanAccountByCharCommand()

static bool ban_commandscript::HandleBanAccountByCharCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 155 of file cs_ban.cpp.

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

◆ HandleBanAccountCommand()

static bool ban_commandscript::HandleBanAccountCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 89 of file cs_ban.cpp.

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

◆ HandleBanCharacterCommand()

static bool ban_commandscript::HandleBanCharacterCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 94 of file cs_ban.cpp.

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

◆ HandleBanHelper()

static bool ban_commandscript::HandleBanHelper ( BanMode  mode,
char const *  args,
ChatHandler handler 
)
inlinestatic

Definition at line 172 of file cs_ban.cpp.

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

◆ HandleBanInfoAccountCommand()

static bool ban_commandscript::HandleBanInfoAccountCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 260 of file cs_ban.cpp.

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

◆ HandleBanInfoCharacterCommand()

static bool ban_commandscript::HandleBanInfoCharacterCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 315 of file cs_ban.cpp.

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

◆ HandleBanInfoHelper()

static bool ban_commandscript::HandleBanInfoHelper ( uint32  accountId,
char const *  accountName,
ChatHandler handler 
)
inlinestatic

Definition at line 287 of file cs_ban.cpp.

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

◆ HandleBanInfoIPCommand()

static bool ban_commandscript::HandleBanInfoIPCommand ( ChatHandler handler,
std::string &  ip 
)
inlinestatic

Definition at line 371 of file cs_ban.cpp.

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

◆ HandleBanIPCommand()

static bool ban_commandscript::HandleBanIPCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 160 of file cs_ban.cpp.

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

◆ HandleBanListAccountCommand()

static bool ban_commandscript::HandleBanListAccountCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 393 of file cs_ban.cpp.

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

◆ HandleBanListCharacterCommand()

static bool ban_commandscript::HandleBanListCharacterCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 507 of file cs_ban.cpp.

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

◆ HandleBanListHelper()

static bool ban_commandscript::HandleBanListHelper ( PreparedQueryResult  result,
ChatHandler handler 
)
inlinestatic

Definition at line 426 of file cs_ban.cpp.

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

◆ HandleBanListIPCommand()

static bool ban_commandscript::HandleBanListIPCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 595 of file cs_ban.cpp.

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

◆ HandleUnBanAccountByCharCommand()

static bool ban_commandscript::HandleUnBanAccountByCharCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 707 of file cs_ban.cpp.

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

◆ HandleUnBanAccountCommand()

static bool ban_commandscript::HandleUnBanAccountCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 673 of file cs_ban.cpp.

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

◆ HandleUnBanCharacterCommand()

static bool ban_commandscript::HandleUnBanCharacterCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 678 of file cs_ban.cpp.

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

◆ HandleUnBanHelper()

static bool ban_commandscript::HandleUnBanHelper ( BanMode  mode,
char const *  args,
ChatHandler handler 
)
inlinestatic

Definition at line 717 of file cs_ban.cpp.

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

◆ HandleUnBanIPCommand()

static bool ban_commandscript::HandleUnBanIPCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 712 of file cs_ban.cpp.

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

◆ IsIPAddress()

static bool ban_commandscript::IsIPAddress ( std::string const &  text)
inlinestatic

Definition at line 165 of file cs_ban.cpp.

+ Here is the caller graph for this function:

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