Class AbstractGoalGroundRaidObjectivePluginImpl
java.lang.Object
com.fs.starfarer.api.impl.campaign.graid.BaseGroundRaidObjectivePluginImpl
com.fs.starfarer.api.impl.campaign.graid.AbstractGoalGroundRaidObjectivePluginImpl
- All Implemented Interfaces:
GroundRaidObjectivePlugin
- Direct Known Subclasses:
SolarArrayGroundRaidObjectivePluginImpl
public abstract class AbstractGoalGroundRaidObjectivePluginImpl
extends BaseGroundRaidObjectivePluginImpl
-
Field Summary
FieldsFields inherited from class com.fs.starfarer.api.impl.campaign.graid.BaseGroundRaidObjectivePluginImpl
assignedForcesColumnColor, assignedForcesColumnText, id, marinesAssigned, marinesRequired, market, nameOverride, quantityLooted, source, xpGained
Fields inherited from interface com.fs.starfarer.api.impl.campaign.graid.GroundRaidObjectivePlugin
QUANTITY_SORT_TIER_0, QUANTITY_SORT_TIER_1, QUANTITY_SORT_TIER_2, QUANTITY_SORT_TIER_3, QUANTITY_SORT_TIER_4, QUANTITY_SORT_TIER_5, XP_GAIN_VALUE_MULT
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
float
getQuantity
(int marines) float
getQuantityString
(int marines) int
getValue
(int marines) float
getValueString
(int marines) Methods inherited from class com.fs.starfarer.api.impl.campaign.graid.BaseGroundRaidObjectivePluginImpl
addIcons, createTooltip, getAssignedForcesColumnColor, getAssignedForcesColumnText, getCommodityIdForDeficitIcons, getDeficitCaused, getDisruptedAlreadyColor, getDisruptedAlreadyString, getDisruptionDaysColor, getDisruptionDaysSort, getDisruptionDaysString, getIconName, getId, getMarinesAssigned, getMarinesRequired, getMarket, getNameOverride, getQuantityColor, getQuantityLooted, getSource, getSourceString, getStackForIcon, getTooltipWidth, getValueColor, getXpGained, hasTooltip, isTooltipExpandable, setAssignedForcesColumnColor, setAssignedForcesColumnText, setId, setMarinesAssigned, setMarinesRequired, setMarket, setNameOverride, setQuantityLooted, setSource, setXpGained, withContinueBeforeResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fs.starfarer.api.impl.campaign.graid.GroundRaidObjectivePlugin
getName, performRaid
-
Field Details
-
danger
-
-
Constructor Details
-
AbstractGoalGroundRaidObjectivePluginImpl
public AbstractGoalGroundRaidObjectivePluginImpl(MarketAPI market, MarketCMD.RaidDangerLevel danger)
-
-
Method Details
-
getQuantityString
- Specified by:
getQuantityString
in interfaceGroundRaidObjectivePlugin
- Overrides:
getQuantityString
in classBaseGroundRaidObjectivePluginImpl
-
getValueString
- Specified by:
getValueString
in interfaceGroundRaidObjectivePlugin
- Overrides:
getValueString
in classBaseGroundRaidObjectivePluginImpl
-
getValueSortValue
public float getValueSortValue()- Specified by:
getValueSortValue
in interfaceGroundRaidObjectivePlugin
- Overrides:
getValueSortValue
in classBaseGroundRaidObjectivePluginImpl
-
getCargoSpaceNeeded
public int getCargoSpaceNeeded()- Specified by:
getCargoSpaceNeeded
in interfaceGroundRaidObjectivePlugin
- Overrides:
getCargoSpaceNeeded
in classBaseGroundRaidObjectivePluginImpl
-
getFuelSpaceNeeded
public int getFuelSpaceNeeded()- Specified by:
getFuelSpaceNeeded
in interfaceGroundRaidObjectivePlugin
- Overrides:
getFuelSpaceNeeded
in classBaseGroundRaidObjectivePluginImpl
-
getProjectedCreditsValue
public int getProjectedCreditsValue() -
getValue
public int getValue(int marines) - Specified by:
getValue
in classBaseGroundRaidObjectivePluginImpl
-
getQuantity
public float getQuantity(int marines) - Specified by:
getQuantity
in classBaseGroundRaidObjectivePluginImpl
-
getDangerLevel
- Specified by:
getDangerLevel
in interfaceGroundRaidObjectivePlugin
- Overrides:
getDangerLevel
in classBaseGroundRaidObjectivePluginImpl
-
getQuantitySortValue
public float getQuantitySortValue()
-