public interface ShipVariantAPI
Modifier and Type | Method and Description |
---|---|
void |
addMod(java.lang.String modId) |
void |
addPermaMod(java.lang.String modId) |
void |
addPermaMod(java.lang.String modId,
boolean isSMod) |
void |
addSuppressedMod(java.lang.String modId) |
void |
addTag(java.lang.String tag) |
void |
addWeapon(java.lang.String slotId,
java.lang.String weaponId) |
void |
addWeaponGroup(WeaponGroupSpec group) |
void |
assignUnassignedWeapons() |
void |
autoGenerateWeaponGroups() |
void |
clear()
Removes everything non-built-in - weapons, fighters, hullmods - and sets vents/capacitors to 0.
|
void |
clearHullMods()
Doesn't clear out built-in hullmods (or permamods), as opposed to getHullMods().clear().
|
void |
clearPermaMods() |
void |
clearSlot(java.lang.String slotId) |
void |
clearSuppressedMods() |
void |
clearTags() |
ShipVariantAPI |
clone() |
int |
computeHullModOPCost() |
int |
computeHullModOPCost(MutableCharacterStatsAPI stats) |
int |
computeOPCost(MutableCharacterStatsAPI stats) |
int |
computeWeaponOPCost(MutableCharacterStatsAPI stats) |
java.lang.String |
getDesignation() |
java.lang.String |
getDisplayName() |
java.util.Collection<java.lang.String> |
getFittedWeaponSlots() |
java.util.List<java.lang.String> |
getFittedWings() |
java.lang.String |
getFullDesignationWithHullName() |
java.lang.String |
getFullDesignationWithHullNameForShip() |
WeaponGroupSpec |
getGroup(int index) |
java.util.EnumSet<ShipHullSpecAPI.ShipTypeHints> |
getHints() |
java.util.Collection<java.lang.String> |
getHullMods() |
ShipAPI.HullSize |
getHullSize() |
ShipHullSpecAPI |
getHullSpec() |
java.lang.String |
getHullVariantId() |
java.util.List<java.lang.String> |
getLaunchBaysSlotIds() |
java.util.List<java.lang.String> |
getModuleSlots() |
ShipVariantAPI |
getModuleVariant(java.lang.String slotId) |
java.util.Collection<java.lang.String> |
getNonBuiltInHullmods() |
java.util.List<java.lang.String> |
getNonBuiltInWeaponSlots()
Only returns slots that have actual weapons in them, not empty slots.
|
java.util.List<java.lang.String> |
getNonBuiltInWings() |
int |
getNumFluxCapacitors() |
int |
getNumFluxVents() |
java.lang.String |
getOriginalVariant()
If autofitted, what the goal variant was.
|
java.util.Set<java.lang.String> |
getPermaMods() |
WeaponSlotAPI |
getSlot(java.lang.String slotId) |
java.util.LinkedHashSet<java.lang.String> |
getSModdedBuiltIns() |
java.util.LinkedHashSet<java.lang.String> |
getSMods() |
java.util.List<java.lang.String> |
getSortedMods() |
VariantSource |
getSource() |
java.util.Map<java.lang.String,java.lang.String> |
getStationModules() |
MutableShipStatsAPI |
getStatsForOpCosts() |
java.util.Set<java.lang.String> |
getSuppressedMods() |
java.util.Collection<java.lang.String> |
getTags() |
int |
getUnusedOP(MutableCharacterStatsAPI stats) |
java.lang.String |
getVariantFilePath() |
java.util.List<WeaponGroupSpec> |
getWeaponGroups() |
java.lang.String |
getWeaponId(java.lang.String slotId) |
WeaponSpecAPI |
getWeaponSpec(java.lang.String slotId) |
FighterWingSpecAPI |
getWing(int index) |
java.lang.String |
getWingId(int index) |
java.util.List<java.lang.String> |
getWings() |
boolean |
hasDMods() |
boolean |
hasHullMod(java.lang.String id) |
boolean |
hasTag(java.lang.String tag) |
boolean |
hasUnassignedWeapons() |
boolean |
isCarrier() |
boolean |
isCivilian() |
boolean |
isCombat() |
boolean |
isDHull()
Whether variant has any unsuppressed dmods.
|
boolean |
isEmptyHullVariant() |
boolean |
isFighter() |
boolean |
isFreighter() |
boolean |
isGoalVariant() |
boolean |
isLiner() |
boolean |
isMayAutoAssignWeapons() |
boolean |
isStation() |
boolean |
isStockVariant() |
boolean |
isTanker() |
boolean |
isTransport() |
void |
refreshBuiltInWings() |
void |
removeMod(java.lang.String modId) |
void |
removePermaMod(java.lang.String modId) |
void |
removeSuppressedMod(java.lang.String modId) |
void |
removeTag(java.lang.String tag) |
void |
setGoalVariant(boolean goalVariant) |
void |
setHullSpecAPI(ShipHullSpecAPI hullSpec) |
void |
setHullVariantId(java.lang.String hullVariantId) |
void |
setMayAutoAssignWeapons(boolean mayAutoAssign) |
void |
setModuleVariant(java.lang.String slotId,
ShipVariantAPI variant) |
void |
setNumFluxCapacitors(int capacitors) |
void |
setNumFluxVents(int vents) |
void |
setOriginalVariant(java.lang.String targetVariant)
If autofitted by a FleetInflater, what the goal variant was.
|
void |
setSource(VariantSource source) |
void |
setVariantDisplayName(java.lang.String variantName) |
void |
setWingId(int index,
java.lang.String wingId) |
ShipVariantAPI clone()
ShipHullSpecAPI getHullSpec()
java.lang.String getDisplayName()
java.lang.String getDesignation()
java.util.Collection<java.lang.String> getHullMods()
void clearHullMods()
java.util.EnumSet<ShipHullSpecAPI.ShipTypeHints> getHints()
void addMod(java.lang.String modId)
void removeMod(java.lang.String modId)
void addWeapon(java.lang.String slotId, java.lang.String weaponId)
int getNumFluxVents()
int getNumFluxCapacitors()
java.util.List<java.lang.String> getNonBuiltInWeaponSlots()
java.lang.String getWeaponId(java.lang.String slotId)
void setNumFluxCapacitors(int capacitors)
void setNumFluxVents(int vents)
void setSource(VariantSource source)
void clearSlot(java.lang.String slotId)
WeaponSpecAPI getWeaponSpec(java.lang.String slotId)
java.util.Collection<java.lang.String> getFittedWeaponSlots()
void autoGenerateWeaponGroups()
boolean hasUnassignedWeapons()
void assignUnassignedWeapons()
WeaponGroupSpec getGroup(int index)
int computeOPCost(MutableCharacterStatsAPI stats)
int computeWeaponOPCost(MutableCharacterStatsAPI stats)
int computeHullModOPCost()
int computeHullModOPCost(MutableCharacterStatsAPI stats)
VariantSource getSource()
boolean isStockVariant()
boolean isEmptyHullVariant()
void setHullVariantId(java.lang.String hullVariantId)
java.lang.String getHullVariantId()
java.util.List<WeaponGroupSpec> getWeaponGroups()
void addWeaponGroup(WeaponGroupSpec group)
void setVariantDisplayName(java.lang.String variantName)
ShipAPI.HullSize getHullSize()
boolean isFighter()
java.lang.String getFullDesignationWithHullName()
boolean hasHullMod(java.lang.String id)
WeaponSlotAPI getSlot(java.lang.String slotId)
boolean isCombat()
boolean isStation()
java.lang.String getWingId(int index)
void setWingId(int index, java.lang.String wingId)
java.util.List<java.lang.String> getWings()
java.util.List<java.lang.String> getLaunchBaysSlotIds()
java.util.List<java.lang.String> getFittedWings()
void setHullSpecAPI(ShipHullSpecAPI hullSpec)
java.util.Set<java.lang.String> getPermaMods()
void clearPermaMods()
void removePermaMod(java.lang.String modId)
void addPermaMod(java.lang.String modId)
void addPermaMod(java.lang.String modId, boolean isSMod)
boolean isCarrier()
java.util.List<java.lang.String> getSortedMods()
java.util.Set<java.lang.String> getSuppressedMods()
void addSuppressedMod(java.lang.String modId)
void removeSuppressedMod(java.lang.String modId)
void clearSuppressedMods()
boolean isGoalVariant()
void setGoalVariant(boolean goalVariant)
java.util.Collection<java.lang.String> getNonBuiltInHullmods()
FighterWingSpecAPI getWing(int index)
int getUnusedOP(MutableCharacterStatsAPI stats)
boolean isCivilian()
java.util.List<java.lang.String> getModuleSlots()
MutableShipStatsAPI getStatsForOpCosts()
boolean isLiner()
boolean isFreighter()
boolean isTanker()
boolean isDHull()
java.util.Map<java.lang.String,java.lang.String> getStationModules()
java.util.List<java.lang.String> getNonBuiltInWings()
boolean hasTag(java.lang.String tag)
void addTag(java.lang.String tag)
void removeTag(java.lang.String tag)
java.util.Collection<java.lang.String> getTags()
void clearTags()
void clear()
java.lang.String getOriginalVariant()
void setOriginalVariant(java.lang.String targetVariant)
ShipVariantAPI getModuleVariant(java.lang.String slotId)
void setModuleVariant(java.lang.String slotId, ShipVariantAPI variant)
boolean isTransport()
java.lang.String getVariantFilePath()
java.util.LinkedHashSet<java.lang.String> getSMods()
java.lang.String getFullDesignationWithHullNameForShip()
void refreshBuiltInWings()
boolean hasDMods()
java.util.LinkedHashSet<java.lang.String> getSModdedBuiltIns()
boolean isMayAutoAssignWeapons()
void setMayAutoAssignWeapons(boolean mayAutoAssign)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.