Class BaseGroundRaidObjectivePluginImpl
java.lang.Object
com.fs.starfarer.api.impl.campaign.graid.BaseGroundRaidObjectivePluginImpl
- All Implemented Interfaces:
GroundRaidObjectivePlugin
- Direct Known Subclasses:
AbstractGoalGroundRaidObjectivePluginImpl
,AddRaidObjective.CustomRaidObjective
,AICoreGroundRaidObjectivePluginImpl
,BlueprintGroundRaidObjectivePluginImpl
,CommodityGroundRaidObjectivePluginImpl
,CreditsGroundRaidObjectivePluginImpl
,DisruptIndustryRaidObjectivePluginImpl
,ShipWeaponsGroundRaidObjectivePluginImpl
,SpecialItemRaidObjectivePluginImpl
public abstract class BaseGroundRaidObjectivePluginImpl
extends Object
implements GroundRaidObjectivePlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Color
protected String
protected String
protected int
protected int
protected MarketAPI
protected String
protected int
protected Industry
protected int
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIcons
(IconGroupAPI iconGroup) void
createTooltip
(TooltipMakerAPI tooltip, boolean expanded) int
int
getDisruptionDaysColor
(int marines) int
getDisruptionDaysSort
(int marines) getDisruptionDaysString
(int marines) int
getId()
int
int
abstract float
getQuantity
(int marines) getQuantityColor
(int marines) int
getQuantityString
(int marines) float
abstract int
getValue
(int marines) getValueColor
(int marines) float
getValueString
(int marines) int
boolean
boolean
void
setAssignedForcesColumnColor
(Color assignedForcesColumnColor) void
setAssignedForcesColumnText
(String assignedForcesColumnText) void
void
setMarinesAssigned
(int marines) void
setMarinesRequired
(int marines) void
void
setNameOverride
(String nameOverride) void
setQuantityLooted
(int quantityLooted) void
void
setXpGained
(int xpGained) boolean
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, getProjectedCreditsValue, getQuantitySortValue, performRaid
-
Field Details
-
id
-
market
-
source
-
marinesAssigned
protected int marinesAssigned -
marinesRequired
protected int marinesRequired -
nameOverride
-
assignedForcesColumnText
-
assignedForcesColumnColor
-
quantityLooted
protected int quantityLooted -
xpGained
protected int xpGained
-
-
Constructor Details
-
BaseGroundRaidObjectivePluginImpl
-
-
Method Details
-
getQuantity
public abstract float getQuantity(int marines) -
getValue
public abstract int getValue(int marines) -
getCargoSpaceNeeded
public int getCargoSpaceNeeded()- Specified by:
getCargoSpaceNeeded
in interfaceGroundRaidObjectivePlugin
-
getFuelSpaceNeeded
public int getFuelSpaceNeeded()- Specified by:
getFuelSpaceNeeded
in interfaceGroundRaidObjectivePlugin
-
getStackForIcon
- Specified by:
getStackForIcon
in interfaceGroundRaidObjectivePlugin
-
getIconName
- Specified by:
getIconName
in interfaceGroundRaidObjectivePlugin
-
addIcons
- Specified by:
addIcons
in interfaceGroundRaidObjectivePlugin
-
getDeficitCaused
public int getDeficitCaused()- Specified by:
getDeficitCaused
in interfaceGroundRaidObjectivePlugin
-
getDisruptedAlreadyString
-
getDisruptedAlreadyColor
-
getDisruptionDaysSort
public int getDisruptionDaysSort(int marines) - Specified by:
getDisruptionDaysSort
in interfaceGroundRaidObjectivePlugin
-
getDisruptionDaysString
- Specified by:
getDisruptionDaysString
in interfaceGroundRaidObjectivePlugin
-
getDisruptionDaysColor
- Specified by:
getDisruptionDaysColor
in interfaceGroundRaidObjectivePlugin
-
getNameOverride
- Specified by:
getNameOverride
in interfaceGroundRaidObjectivePlugin
-
setNameOverride
- Specified by:
setNameOverride
in interfaceGroundRaidObjectivePlugin
-
getDangerLevel
- Specified by:
getDangerLevel
in interfaceGroundRaidObjectivePlugin
-
getQuantityString
- Specified by:
getQuantityString
in interfaceGroundRaidObjectivePlugin
-
getQuantityColor
- Specified by:
getQuantityColor
in interfaceGroundRaidObjectivePlugin
-
getValueString
- Specified by:
getValueString
in interfaceGroundRaidObjectivePlugin
-
getValueColor
- Specified by:
getValueColor
in interfaceGroundRaidObjectivePlugin
-
getValueSortValue
public float getValueSortValue()- Specified by:
getValueSortValue
in interfaceGroundRaidObjectivePlugin
-
getMarinesAssigned
public int getMarinesAssigned()- Specified by:
getMarinesAssigned
in interfaceGroundRaidObjectivePlugin
-
setMarinesAssigned
public void setMarinesAssigned(int marines) - Specified by:
setMarinesAssigned
in interfaceGroundRaidObjectivePlugin
-
getMarinesRequired
public int getMarinesRequired()- Specified by:
getMarinesRequired
in interfaceGroundRaidObjectivePlugin
-
setMarinesRequired
public void setMarinesRequired(int marines) - Specified by:
setMarinesRequired
in interfaceGroundRaidObjectivePlugin
-
getSourceString
- Specified by:
getSourceString
in interfaceGroundRaidObjectivePlugin
-
getSource
- Specified by:
getSource
in interfaceGroundRaidObjectivePlugin
-
setSource
- Specified by:
setSource
in interfaceGroundRaidObjectivePlugin
-
getId
- Specified by:
getId
in interfaceGroundRaidObjectivePlugin
-
setId
- Specified by:
setId
in interfaceGroundRaidObjectivePlugin
-
getMarket
- Specified by:
getMarket
in interfaceGroundRaidObjectivePlugin
-
setMarket
- Specified by:
setMarket
in interfaceGroundRaidObjectivePlugin
-
getCommodityIdForDeficitIcons
- Specified by:
getCommodityIdForDeficitIcons
in interfaceGroundRaidObjectivePlugin
-
getAssignedForcesColumnText
- Specified by:
getAssignedForcesColumnText
in interfaceGroundRaidObjectivePlugin
-
setAssignedForcesColumnText
- Specified by:
setAssignedForcesColumnText
in interfaceGroundRaidObjectivePlugin
-
getAssignedForcesColumnColor
- Specified by:
getAssignedForcesColumnColor
in interfaceGroundRaidObjectivePlugin
-
setAssignedForcesColumnColor
- Specified by:
setAssignedForcesColumnColor
in interfaceGroundRaidObjectivePlugin
-
hasTooltip
public boolean hasTooltip()- Specified by:
hasTooltip
in interfaceGroundRaidObjectivePlugin
-
createTooltip
- Specified by:
createTooltip
in interfaceGroundRaidObjectivePlugin
-
getTooltipWidth
public float getTooltipWidth()- Specified by:
getTooltipWidth
in interfaceGroundRaidObjectivePlugin
-
isTooltipExpandable
public boolean isTooltipExpandable()- Specified by:
isTooltipExpandable
in interfaceGroundRaidObjectivePlugin
-
getQuantityLooted
public int getQuantityLooted() -
setQuantityLooted
public void setQuantityLooted(int quantityLooted) -
getXpGained
public int getXpGained() -
setXpGained
public void setXpGained(int xpGained) -
withContinueBeforeResult
public boolean withContinueBeforeResult()- Specified by:
withContinueBeforeResult
in interfaceGroundRaidObjectivePlugin
-