public enum RelationLevel extends java.lang.Enum<RelationLevel>
| Enum Constant and Description | 
|---|
| ACQUAINTANCEFirst level, small discounts / more quests. | 
| ALLYSecond level, bigger discounts / more quests. | 
| BEST_FRIENDFourth level, giant discounts / more quests. | 
| FRIENDThird level, great discounts / more quests. | 
| IDOLIZEDHighest level, highest discounts / more quests. | 
| STRANGERStarting level, basic interactions. | 
| Modifier and Type | Field and Description | 
|---|---|
| private double | discountMultiplierThe multiplier for shop prices. | 
| private int | neededExpThe experience needed to reach this level. | 
| private java.lang.String | relationNameThe name of the relation level. | 
| private int | relationTierThe tier of the relation level. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getDiscountMultiplier() | 
| int | getNeededExp() | 
| RelationLevel | getNextLevel() | 
| static RelationLevel | getRelationLevel(int relationExp)Determines the relationship level, based on the amount of experience. | 
| java.lang.String | getRelationName() | 
| int | getRelationTier() | 
| double | getRewardMultiplier() | 
| static RelationLevel | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static RelationLevel[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final RelationLevel STRANGER
public static final RelationLevel ACQUAINTANCE
public static final RelationLevel ALLY
public static final RelationLevel FRIEND
public static final RelationLevel BEST_FRIEND
public static final RelationLevel IDOLIZED
private final java.lang.String relationName
private final int relationTier
private final int neededExp
private final double discountMultiplier
public static RelationLevel[] values()
for (RelationLevel c : RelationLevel.values()) System.out.println(c);
public static RelationLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static RelationLevel getRelationLevel(int relationExp)
relationExp - The experience to determine the level for.public java.lang.String getRelationName()
public int getRelationTier()
public int getNeededExp()
public RelationLevel getNextLevel()
public double getDiscountMultiplier()
public double getRewardMultiplier()