net.sf.juoserver.model
Class Account
java.lang.Object
net.sf.juoserver.model.Account
public class Account
- extends Object
Account
public Account(int accountId,
String username,
String password)
createAccount
public static Account createAccount(int accountId,
String username,
String password,
int... serialIds)
addSerialId
public void addSerialId(int serialId)
getAccountId
public int getAccountId()
getUsername
public String getUsername()
getPassword
public String getPassword()
getCharacterSerialIdByPosition
public int getCharacterSerialIdByPosition(int position)
- Retrieves an account's characters serial IDs, given its position in the
login screen.
- Parameters:
position
- position of the account's character within the login screen
- Returns:
- the account's characters serial IDs having the specified position
in the login screen.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2010-2012. All Rights Reserved.