public abstract class RemoteAccountConnector
extends java.lang.Object
MasterServer to allow the logging in with accounts from other systems such as websites.| Modifier and Type | Class and Description |
|---|---|
static class |
RemoteAccountConnector.AccountLoginStatus |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
accountExternalID |
protected int |
accountID |
boolean |
allowAccountCreation |
| Constructor and Description |
|---|
RemoteAccountConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
allowAccountCreation(boolean allow) |
abstract RemoteAccountConnector.AccountLoginStatus |
createAccount(java.lang.String accountName,
java.lang.String email,
java.lang.String password,
java.util.HashMap<java.lang.String,java.lang.Object> props) |
java.lang.String |
getAccountExternalID() |
int |
getAccountID() |
abstract RemoteAccountConnector.AccountLoginStatus |
verifyAccount(java.lang.String accountName,
java.lang.String password,
java.util.HashMap<java.lang.String,java.lang.Object> props)
Create a new character.
|
public boolean allowAccountCreation
protected int accountID
protected java.lang.String accountExternalID
public abstract RemoteAccountConnector.AccountLoginStatus verifyAccount(java.lang.String accountName, java.lang.String password, java.util.HashMap<java.lang.String,java.lang.Object> props)
worldName - World name.multiverseID - Account id.properties - Contains properties used to create the new
character, and populated by the factory with additional
character properties.public abstract RemoteAccountConnector.AccountLoginStatus createAccount(java.lang.String accountName, java.lang.String email, java.lang.String password, java.util.HashMap<java.lang.String,java.lang.Object> props)
public void allowAccountCreation(boolean allow)
public int getAccountID()
public java.lang.String getAccountExternalID()