类 AccountInfo

java.lang.Object
org.to2mbn.jmccc.mojangapi.AccountInfo
所有已实现的接口:
Serializable

public class AccountInfo extends Object implements 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).

另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • getId

      public String getId()
      返回:
      Account Identifier?
    • getEmail

      public String getEmail()
      返回:
      Email attached to account
    • getUsername

      public String getUsername()
      返回:
      Username of account, with migrated accounts this is the same as email
    • getRegisterIp

      public String getRegisterIp()
      返回:
      IP used to register account
    • getRegisteredAt

      public Long getRegisteredAt()
      返回:
      Epoch timestamp in ms of date the Mojang account was registered
    • getPasswordChangedAt

      public Long getPasswordChangedAt()
      返回:
      Epoch timestamp of time password was last changed
    • getDateOfBirth

      public Long getDateOfBirth()
      返回:
      Epoch timestamp of date of birth for this Mojang Account
    • getDeleted

      public Boolean getDeleted()
      返回:
      Unknown, probably whether account has been deleted or not
    • getBlocked

      public Boolean getBlocked()
      返回:
      Unknown, probably whether account has been blocked or not
    • getSecured

      public Boolean getSecured()
      返回:
      Whether security questions are enabled on this Mojang Account
    • getMigrated

      public Boolean 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

      public Boolean getEmailVerified()
      返回:
      Whether the email attached to the account is verified
    • getLegacyUser

      public Boolean getLegacyUser()
      返回:
      Whether the account is a legacy user?
    • getVerifiedByParent

      public Boolean getVerifiedByParent()
      返回:
      Whether the account has been verified by parent, is set to false if no parent verification was needed
    • getFullName

      public String getFullName()
      返回:
      Full name attached to Mojang account, can be an empty string
    • getFromMigratedUser

      public Boolean getFromMigratedUser()
      返回:
      Not sure, probably related to migrated?
    • getHashed

      public Boolean getHashed()
      返回:
      Unsure, seems to be set to false?
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object