feat(Script/Commands): allow to pass email in account create (#22310)

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
SHIHUANG214
2025-06-27 21:30:21 +08:00
committed by GitHub
parent 5311717a89
commit 989b64cb3d
5 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ enum AccountOpResult
namespace AccountMgr
{
AccountOpResult CreateAccount(std::string username, std::string password);
AccountOpResult CreateAccount(std::string username, std::string password, std::string email = "");
AccountOpResult DeleteAccount(uint32 accountId);
AccountOpResult ChangeUsername(uint32 accountId, std::string newUsername, std::string newPassword);
AccountOpResult ChangePassword(uint32 accountId, std::string newPassword);