Package net.runelite.api.clan
Enum ClanRank
- java.lang.Object
-
- java.lang.Enum<ClanRank>
-
- net.runelite.api.clan.ClanRank
-
- All Implemented Interfaces:
Serializable
,Comparable<ClanRank>
public enum ClanRank extends Enum<ClanRank>
The ranks in a clan. Clan ranks 1-14 are mapped to corresponding titles via the clan settings.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINISTRATOR
CLAN_RANK_1
CLAN_RANK_10
CLAN_RANK_11
CLAN_RANK_12
CLAN_RANK_13
CLAN_RANK_14
CLAN_RANK_2
CLAN_RANK_3
CLAN_RANK_4
CLAN_RANK_5
CLAN_RANK_6
CLAN_RANK_7
CLAN_RANK_8
CLAN_RANK_9
DEPUTY_OWNER
GUEST
JMOD
OWNER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClanRank
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClanRank[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GUEST
public static final ClanRank GUEST
-
CLAN_RANK_1
public static final ClanRank CLAN_RANK_1
-
CLAN_RANK_2
public static final ClanRank CLAN_RANK_2
-
CLAN_RANK_3
public static final ClanRank CLAN_RANK_3
-
CLAN_RANK_4
public static final ClanRank CLAN_RANK_4
-
CLAN_RANK_5
public static final ClanRank CLAN_RANK_5
-
CLAN_RANK_6
public static final ClanRank CLAN_RANK_6
-
CLAN_RANK_7
public static final ClanRank CLAN_RANK_7
-
CLAN_RANK_8
public static final ClanRank CLAN_RANK_8
-
CLAN_RANK_9
public static final ClanRank CLAN_RANK_9
-
CLAN_RANK_10
public static final ClanRank CLAN_RANK_10
-
ADMINISTRATOR
public static final ClanRank ADMINISTRATOR
-
CLAN_RANK_11
public static final ClanRank CLAN_RANK_11
-
CLAN_RANK_12
public static final ClanRank CLAN_RANK_12
-
CLAN_RANK_13
public static final ClanRank CLAN_RANK_13
-
CLAN_RANK_14
public static final ClanRank CLAN_RANK_14
-
DEPUTY_OWNER
public static final ClanRank DEPUTY_OWNER
-
OWNER
public static final ClanRank OWNER
-
JMOD
public static final ClanRank JMOD
-
-
Method Detail
-
values
public static ClanRank[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClanRank c : ClanRank.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClanRank valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-