Package com.runemate.game.api.osrs.local
Enum KourendHouseFavour
- java.lang.Object
-
- java.lang.Enum<KourendHouseFavour>
-
- com.runemate.game.api.osrs.local.KourendHouseFavour
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KourendHouseFavour>
public enum KourendHouseFavour extends java.lang.Enum<KourendHouseFavour>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCEUUS
HOSIDIUS
LOVAKANGJ
PISCARILIUS
SHAYZIEN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getPercent()
Gets the current percent of favour for the house in Kourendstatic KourendHouseFavour
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KourendHouseFavour[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOSIDIUS
public static final KourendHouseFavour HOSIDIUS
-
SHAYZIEN
public static final KourendHouseFavour SHAYZIEN
-
ARCEUUS
public static final KourendHouseFavour ARCEUUS
-
LOVAKANGJ
public static final KourendHouseFavour LOVAKANGJ
-
PISCARILIUS
public static final KourendHouseFavour PISCARILIUS
-
-
Method Detail
-
values
public static KourendHouseFavour[] 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 (KourendHouseFavour c : KourendHouseFavour.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KourendHouseFavour valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getPercent
public double getPercent()
Gets the current percent of favour for the house in Kourend- Returns:
- a double ranging from 0 to 100.0 if the varbit can be loaded, decimal available. Otherwise -1.
-
-