TrinityCore
battlenet_account_commandscript Class Reference
+ Inheritance diagram for battlenet_account_commandscript:

Public Member Functions

 battlenet_account_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 HandleAccountCreateCommand (ChatHandler *handler, std::string const &accountName, std::string const &password, Optional< bool > createGameAccount)
 Create an account. More...
 
static bool HandleAccountLockCountryCommand (ChatHandler *handler, bool state)
 
static bool HandleAccountLockIpCommand (ChatHandler *handler, bool state)
 
static bool HandleAccountPasswordCommand (ChatHandler *handler, std::string const &oldPassword, std::string const &newPassword, std::string const &passwordConfirmation)
 
static bool HandleAccountSetPasswordCommand (ChatHandler *handler, std::string accountName, std::string const &password, std::string const &passwordConfirmation)
 Set password for account. More...
 
static bool HandleAccountLinkCommand (ChatHandler *handler, std::string const &bnetAccountName, std::string const &gameAccountName)
 
static bool HandleAccountUnlinkCommand (ChatHandler *handler, std::string const &gameAccountName)
 
static bool HandleGameAccountCreateCommand (ChatHandler *handler, std::string const &bnetAccountName)
 
static bool HandleListGameAccountsCommand (ChatHandler *handler, std::string const &battlenetAccountName)
 

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 35 of file cs_battlenet_account.cpp.

Constructor & Destructor Documentation

◆ battlenet_account_commandscript()

battlenet_account_commandscript::battlenet_account_commandscript ( )
inline

Definition at line 38 of file cs_battlenet_account.cpp.

Member Function Documentation

◆ GetCommands()

ChatCommandTable battlenet_account_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 40 of file cs_battlenet_account.cpp.

+ Here is the call graph for this function:

◆ HandleAccountCreateCommand()

static bool battlenet_account_commandscript::HandleAccountCreateCommand ( ChatHandler handler,
std::string const &  accountName,
std::string const &  password,
Optional< bool >  createGameAccount 
)
inlinestatic

Create an account.

Definition at line 71 of file cs_battlenet_account.cpp.

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

◆ HandleAccountLinkCommand()

static bool battlenet_account_commandscript::HandleAccountLinkCommand ( ChatHandler handler,
std::string const &  bnetAccountName,
std::string const &  gameAccountName 
)
inlinestatic

Definition at line 259 of file cs_battlenet_account.cpp.

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

◆ HandleAccountLockCountryCommand()

static bool battlenet_account_commandscript::HandleAccountLockCountryCommand ( ChatHandler handler,
bool  state 
)
inlinestatic

Definition at line 119 of file cs_battlenet_account.cpp.

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

◆ HandleAccountLockIpCommand()

static bool battlenet_account_commandscript::HandleAccountLockIpCommand ( ChatHandler handler,
bool  state 
)
inlinestatic

Definition at line 149 of file cs_battlenet_account.cpp.

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

◆ HandleAccountPasswordCommand()

static bool battlenet_account_commandscript::HandleAccountPasswordCommand ( ChatHandler handler,
std::string const &  oldPassword,
std::string const &  newPassword,
std::string const &  passwordConfirmation 
)
inlinestatic

Definition at line 170 of file cs_battlenet_account.cpp.

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

◆ HandleAccountSetPasswordCommand()

static bool battlenet_account_commandscript::HandleAccountSetPasswordCommand ( ChatHandler handler,
std::string  accountName,
std::string const &  password,
std::string const &  passwordConfirmation 
)
inlinestatic

Set password for account.

Definition at line 215 of file cs_battlenet_account.cpp.

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

◆ HandleAccountUnlinkCommand()

static bool battlenet_account_commandscript::HandleAccountUnlinkCommand ( ChatHandler handler,
std::string const &  gameAccountName 
)
inlinestatic

Definition at line 281 of file cs_battlenet_account.cpp.

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

◆ HandleGameAccountCreateCommand()

static bool battlenet_account_commandscript::HandleGameAccountCreateCommand ( ChatHandler handler,
std::string const &  bnetAccountName 
)
inlinestatic

Definition at line 303 of file cs_battlenet_account.cpp.

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

◆ HandleListGameAccountsCommand()

static bool battlenet_account_commandscript::HandleListGameAccountsCommand ( ChatHandler handler,
std::string const &  battlenetAccountName 
)
inlinestatic

Definition at line 356 of file cs_battlenet_account.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: