Package net.runelite.client.config
Class RuneScapeProfile
- java.lang.Object
-
- net.runelite.client.config.RuneScapeProfile
-
public class RuneScapeProfile extends java.lang.ObjectA profile/save of a OSRS account. Each account can 1 profile perRuneScapeProfileType(ie Standard/League/DMM}.
-
-
Field Summary
Fields Modifier and Type Field Description static intACCOUNT_HASH_INVALID
-
Constructor Summary
Constructors Constructor Description RuneScapeProfile(java.lang.String displayName, RuneScapeProfileType type, long accountHash, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)longgetAccountHash()java.lang.StringgetDisplayName()java.lang.StringgetKey()Profile key used to save configs for this profile to the config store.RuneScapeProfileTypegetType()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
ACCOUNT_HASH_INVALID
public static final int ACCOUNT_HASH_INVALID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RuneScapeProfile
public RuneScapeProfile(java.lang.String displayName, RuneScapeProfileType type, long accountHash, java.lang.String key)
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
-
getType
public RuneScapeProfileType getType()
-
getAccountHash
public long getAccountHash()
-
getKey
public java.lang.String getKey()
Profile key used to save configs for this profile to the config store. This will always start withConfigManager.RSPROFILE_GROUP
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-