Class RuneScapeProfile


  • public class RuneScapeProfile
    extends java.lang.Object
    A profile/save of a OSRS account. Each account can 1 profile per RuneScapeProfileType (ie Standard/League/DMM}.
    • Constructor Detail

      • RuneScapeProfile

        public RuneScapeProfile​(java.lang.String displayName,
                                RuneScapeProfileType type,
                                byte[] loginHash,
                                java.lang.String key)
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
      • getLoginHash

        public byte[] getLoginHash()
      • getKey

        public java.lang.String getKey()
        Profile key used to save configs for this profile to the config store. This will always start with ConfigManager.RSPROFILE_GROUP
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object