类 AccountInfo
java.lang.Object
org.to2mbn.jmccc.mojangapi.AccountInfo
- 所有已实现的接口:
Serializable
The information of a Mojang account.
Each property of AccountInfo can be null (if the property is not
specified in Mojang server's response).
- 另请参阅:
-
构造器概要
构造器构造器说明AccountInfo(String id, String email, String username, String registerIp, Long registeredAt, Long passwordChangedAt, Long dateOfBirth, Boolean deleted, Boolean blocked, Boolean secured, Boolean migrated, Boolean emailVerified, Boolean legacyUser, Boolean verifiedByParent, String fullName, Boolean fromMigratedUser, Boolean hashed) -
方法概要
-
构造器详细资料
-
AccountInfo
public AccountInfo(String id, String email, String username, String registerIp, Long registeredAt, Long passwordChangedAt, Long dateOfBirth, Boolean deleted, Boolean blocked, Boolean secured, Boolean migrated, Boolean emailVerified, Boolean legacyUser, Boolean verifiedByParent, String fullName, Boolean fromMigratedUser, Boolean hashed)
-
-
方法详细资料
-
getId
- 返回:
- Account Identifier?
-
getEmail
- 返回:
- Email attached to account
-
getUsername
- 返回:
- Username of account, with migrated accounts this is the same as email
-
getRegisterIp
- 返回:
- IP used to register account
-
getRegisteredAt
- 返回:
- Epoch timestamp in ms of date the Mojang account was registered
-
getPasswordChangedAt
- 返回:
- Epoch timestamp of time password was last changed
-
getDateOfBirth
- 返回:
- Epoch timestamp of date of birth for this Mojang Account
-
getDeleted
- 返回:
- Unknown, probably whether account has been deleted or not
-
getBlocked
- 返回:
- Unknown, probably whether account has been blocked or not
-
getSecured
- 返回:
- Whether security questions are enabled on this Mojang Account
-
getMigrated
- 返回:
- Whether the account has been migrated, if the account was made after Mojang Accounts were mandatory for new accounts this is set to false
-
getEmailVerified
- 返回:
- Whether the email attached to the account is verified
-
getLegacyUser
- 返回:
- Whether the account is a legacy user?
-
getVerifiedByParent
- 返回:
- Whether the account has been verified by parent, is set to false if no parent verification was needed
-
getFullName
- 返回:
- Full name attached to Mojang account, can be an empty string
-
getFromMigratedUser
- 返回:
- Not sure, probably related to migrated?
-
getHashed
- 返回:
- Unsure, seems to be set to false?
-
hashCode
public int hashCode() -
equals
-
toString
-