Package marauroa.common.game
Class AccountResult
java.lang.Object
marauroa.common.game.AccountResult
This class represent the result of creating an account. It will also contains
the generated username and the generated RPObject, so we can inform client
about changes on username and/or RPObject.
- Author:
- miguel
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AccountResult
Constructor- Parameters:
result
- the result of creating the account.username
- the username generated.
-
-
Method Details
-
getResult
Returns the result of creating the account- Returns:
- the result of creating the account
-
getUsername
Returns the username generated by create account.- Returns:
- the username generated by create account.
-
failed
public boolean failed()Returns true if the creation of the account failed.- Returns:
- true if the creation of the account failed.
-
toString
-