Uses of Enum Class
com.fs.starfarer.api.campaign.CargoAPI.CargoItemType
Packages that use CargoAPI.CargoItemType
Package
Description
-
Uses of CargoAPI.CargoItemType in com.fs.starfarer.api
Methods in com.fs.starfarer.api with parameters of type CargoAPI.CargoItemTypeModifier and TypeMethodDescriptionFactoryAPI.createCargoStack
(CargoAPI.CargoItemType type, Object data, CargoAPI cargo) SettingsAPI.createCargoStack
(CargoAPI.CargoItemType type, Object data, CargoAPI cargo) -
Uses of CargoAPI.CargoItemType in com.fs.starfarer.api.campaign
Methods in com.fs.starfarer.api.campaign that return CargoAPI.CargoItemTypeModifier and TypeMethodDescriptionPlayerMarketTransaction.TransactionLineItem.getCargoType()
CargoStackAPI.getType()
static CargoAPI.CargoItemType
Returns the enum constant of this class with the specified name.static CargoAPI.CargoItemType[]
CargoAPI.CargoItemType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.fs.starfarer.api.campaign with parameters of type CargoAPI.CargoItemTypeModifier and TypeMethodDescriptionvoid
CargoAPI.addItems
(CargoAPI.CargoItemType itemType, Object data, float quantity) void
SpecialItemPlugin.RightClickActionHelper.addItems
(CargoAPI.CargoItemType type, Object data, float quantity) float
SpecialItemPlugin.RightClickActionHelper.getNumItems
(CargoAPI.CargoItemType type, Object data) float
CargoAPI.getQuantity
(CargoAPI.CargoItemType type, Object data) void
SpecialItemPlugin.RightClickActionHelper.removeFromAnyStack
(CargoAPI.CargoItemType type, Object data, int num) boolean
CargoAPI.removeItems
(CargoAPI.CargoItemType itemType, Object data, float quantity) void
PlayerMarketTransaction.TransactionLineItem.setCargoType
(CargoAPI.CargoItemType cargoType) void
CargoStackAPI.setType
(CargoAPI.CargoItemType type) Constructors in com.fs.starfarer.api.campaign with parameters of type CargoAPI.CargoItemTypeModifierConstructorDescriptionTransactionLineItem
(String id, PlayerMarketTransaction.LineItemType itemType, CargoAPI.CargoItemType cargoType, SubmarketAPI submarket, float quantity, float price, float tariff, long timestamp)