Interface SubmarketAPI
public interface SubmarketAPI
-
Method Summary
Modifier and TypeMethodDescriptiongetCargo()
getName()
getSpec()
float
Fraction of the price.boolean
isIllegalOnSubmarket
(CargoStackAPI stack, SubmarketPlugin.TransferAction action) void
setFaction
(FactionAPI faction)
-
Method Details
-
getMarket
MarketAPI getMarket() -
getSpec
SubmarketSpecAPI getSpec() -
getPlugin
SubmarketPlugin getPlugin() -
getFaction
FactionAPI getFaction() -
setFaction
-
getSpecId
String getSpecId() -
getName
String getName() -
getNameOneLine
String getNameOneLine() -
getCargo
CargoAPI getCargo() -
getTariff
float getTariff()Fraction of the price.- Returns:
-
getCargoNullOk
CargoAPI getCargoNullOk() -
isIllegalOnSubmarket
-