Add CreateLoginserverWorldAdminAccount command [skip ci]

This commit is contained in:
Akkadius
2019-07-09 05:23:21 -05:00
parent b165760f18
commit 739f54bbfb
7 changed files with 208 additions and 16 deletions
+21
View File
@@ -24,7 +24,28 @@
class AccountManagement {
public:
/**
* @param username
* @param password
* @return
*/
static bool CreateLocalLoginServerAccount(std::string username, std::string password);
/**
* @param username
* @param password
* @param email
* @return
*/
static bool CreateLoginserverWorldAdminAccount(
const std::string &username,
const std::string &password,
const std::string &email,
const std::string &first_name = "",
const std::string &last_name = "",
const std::string &ip_address = ""
);
};