Interface GroundRaidObjectivePlugin
- All Known Implementing Classes:
AbstractGoalGroundRaidObjectivePluginImpl
,AddRaidObjective.CustomRaidObjective
,AICoreGroundRaidObjectivePluginImpl
,BaseGroundRaidObjectivePluginImpl
,BlueprintGroundRaidObjectivePluginImpl
,CommodityGroundRaidObjectivePluginImpl
,CreditsGroundRaidObjectivePluginImpl
,DisruptIndustryRaidObjectivePluginImpl
,ShipWeaponsGroundRaidObjectivePluginImpl
,SolarArrayGroundRaidObjectivePluginImpl
,SpecialItemRaidObjectivePluginImpl
public interface GroundRaidObjectivePlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
static final float
static final float
static final float
static final float
static final float
static final float
Credit value * this = XP gained from raids for valuables. -
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
getName()
int
getQuantityColor
(int marines) float
getQuantityString
(int marines) float
getValueColor
(int marines) float
getValueString
(int marines) boolean
boolean
int
performRaid
(CargoAPI loot, Random random, float lootMult, TextPanelAPI text) void
setAssignedForcesColumnColor
(Color assignedForcesColumnColor) void
setAssignedForcesColumnText
(String assignedForcesColumnText) void
void
setMarinesAssigned
(int marines) void
setMarinesRequired
(int marines) void
void
setNameOverride
(String nameOverride) void
boolean
-
Field Details
-
XP_GAIN_VALUE_MULT
static final float XP_GAIN_VALUE_MULTCredit value * this = XP gained from raids for valuables.- See Also:
-
QUANTITY_SORT_TIER_0
static final float QUANTITY_SORT_TIER_0- See Also:
-
QUANTITY_SORT_TIER_1
static final float QUANTITY_SORT_TIER_1- See Also:
-
QUANTITY_SORT_TIER_2
static final float QUANTITY_SORT_TIER_2- See Also:
-
QUANTITY_SORT_TIER_3
static final float QUANTITY_SORT_TIER_3- See Also:
-
QUANTITY_SORT_TIER_4
static final float QUANTITY_SORT_TIER_4- See Also:
-
QUANTITY_SORT_TIER_5
static final float QUANTITY_SORT_TIER_5- See Also:
-
-
Method Details
-
withContinueBeforeResult
boolean withContinueBeforeResult() -
addIcons
-
getMarinesAssigned
int getMarinesAssigned() -
setMarinesAssigned
void setMarinesAssigned(int marines) -
getMarinesRequired
int getMarinesRequired() -
setMarinesRequired
void setMarinesRequired(int marines) -
getQuantitySortValue
float getQuantitySortValue() -
getQuantityString
-
getQuantityColor
-
getValueSortValue
float getValueSortValue() -
getValueString
-
getValueColor
-
getProjectedCreditsValue
int getProjectedCreditsValue() -
getCargoSpaceNeeded
int getCargoSpaceNeeded() -
getFuelSpaceNeeded
int getFuelSpaceNeeded() -
getDeficitCaused
int getDeficitCaused() -
getDangerLevel
MarketCMD.RaidDangerLevel getDangerLevel() -
getSourceString
String getSourceString() -
getId
String getId() -
setId
-
getMarket
MarketAPI getMarket() -
setMarket
-
getName
String getName() -
getIconName
String getIconName() -
getStackForIcon
CargoStackAPI getStackForIcon() -
getNameOverride
String getNameOverride() -
setNameOverride
-
getSource
Industry getSource() -
setSource
-
getCommodityIdForDeficitIcons
String getCommodityIdForDeficitIcons() -
getAssignedForcesColumnText
String getAssignedForcesColumnText() -
setAssignedForcesColumnText
-
getAssignedForcesColumnColor
Color getAssignedForcesColumnColor() -
setAssignedForcesColumnColor
-
hasTooltip
boolean hasTooltip() -
createTooltip
-
getTooltipWidth
float getTooltipWidth() -
isTooltipExpandable
boolean isTooltipExpandable() -
performRaid
- Parameters:
loot
-random
-lootMult
-- Returns:
- XP gained
-
getDisruptionDaysSort
int getDisruptionDaysSort(int marines) -
getDisruptionDaysString
-
getDisruptionDaysColor
-