Package net.runelite.client.config
Class RuneScapeProfile
- java.lang.Object
-
- net.runelite.client.config.RuneScapeProfile
-
public class RuneScapeProfile extends Object
A 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 int
ACCOUNT_HASH_INVALID
-
Constructor Summary
Constructors Constructor Description RuneScapeProfile(String displayName, RuneScapeProfileType type, long accountHash, String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
long
getAccountHash()
String
getDisplayName()
String
getKey()
Profile key used to save configs for this profile to the config store.RuneScapeProfileType
getType()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
ACCOUNT_HASH_INVALID
public static final int ACCOUNT_HASH_INVALID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RuneScapeProfile
public RuneScapeProfile(String displayName, RuneScapeProfileType type, long accountHash, String key)
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
-
getType
public RuneScapeProfileType getType()
-
getAccountHash
public long getAccountHash()
-
getKey
public String getKey()
Profile key used to save configs for this profile to the config store. This will always start withConfigManager.RSPROFILE_GROUP
-
canEqual
protected boolean canEqual(Object other)
-
-