Browse Source

Handler added to create single account

pull/1/head
MagicBot 3 years ago
parent
commit
0beb75c9fb
  1. 8
      src/engine/db/handlers/dbAccountHandler.java

8
src/engine/db/handlers/dbAccountHandler.java

@ -121,6 +121,14 @@ public class dbAccountHandler extends dbHandlerBase {
executeUpdate(); executeUpdate();
} }
public void CREATE_SINGLE(String accountName, String password) {
prepareCallable("CALL singleAccountCreate(`?`,`?");
setString(1, accountName);
setString(2, password);
executeUpdate();
}
public Account GET_ACCOUNT(String uname) { public Account GET_ACCOUNT(String uname) {
if (Account.AccountsMap.get(uname) != null) if (Account.AccountsMap.get(uname) != null)

Loading…
Cancel
Save