IAmountable, ITradable, IWarepublic enum EWare extends java.lang.Enum<EWare> implements IWare
| Enum Constant | Description |
|---|---|
BEER |
Beer in barrels
|
BRICK |
Brick in burden
|
CLOTH |
Cloth in barrels
|
FISH |
Fish in burden
|
FISH_OIL |
Fish oil in barrels
|
FUR |
Fur in barrels
|
GRAIN |
Grain in burden
|
HEMP |
Hemp in burden
|
HONEY |
Honey in barrels
|
IRON |
Iron in barrels
|
IRONORE |
Iron ore in burden
|
LEATHER |
Leather in barrels
|
MEAT |
Meat in burden
|
PITCH |
Pitch in barrels
|
POTTERY |
Pottery in barrels
|
SALT |
Salt in barrels
|
SPICE |
Spices in barrels
|
WINE |
Wine in barrels
|
WOOD |
Wood in burden
|
WOOL |
Wool in burden
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getMinSellPriceModerate() |
Retrieve the moderate min sell price of the ware.
|
int |
getMinSellPriceOffensive() |
Retrieve the offensive min sell price of the ware.
|
int |
getMinSellPriceRabiat() |
Retrieve the rabiat max min sell for the ware.
|
short |
getSizeAsBarrels() |
Retrieve the size of the ware converted into the smallest size unit (barrels)
|
boolean |
isBarrelSizedWare() |
Check if the ware size is barrel or not.
|
static EWare |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EWare[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetBuyCurve, getMarketSaturationForBuying, getMarketSaturationForSelling, getMaxValueBuy, getMaxValueSell, getMinValueBuy, getMinValueSell, getSellCurve, namegetAiMaxBuyAbsolute, getAiMaxBuyPercentage, getMaxBuyPriceModerate, getMaxBuyPriceOffensive, getMaxBuyPriceRabiatpublic static final EWare BEER
public static final EWare IRONORE
public static final EWare IRON
public static final EWare FUR
public static final EWare FISH
public static final EWare MEAT
public static final EWare GRAIN
public static final EWare SPICE
public static final EWare HEMP
public static final EWare WOOD
public static final EWare HONEY
public static final EWare POTTERY
public static final EWare LEATHER
public static final EWare PITCH
public static final EWare SALT
public static final EWare FISH_OIL
public static final EWare CLOTH
public static final EWare WINE
public static final EWare WOOL
public static final EWare BRICK
public static EWare[] values()
for (EWare c : EWare.values()) System.out.println(c);
public static EWare 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 final boolean isBarrelSizedWare()
IWareisBarrelSizedWare in interface IWarepublic int getMinSellPriceModerate()
IWaregetMinSellPriceModerate in interface IWarepublic int getMinSellPriceOffensive()
IWaregetMinSellPriceOffensive in interface IWarepublic int getMinSellPriceRabiat()
IWaregetMinSellPriceRabiat in interface IWarepublic final short getSizeAsBarrels()
IWaregetSizeAsBarrels in interface IWareCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.