public class SpecialItemRaidObjectivePluginImpl extends BaseGroundRaidObjectivePluginImpl
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
data |
assignedForcesColumnColor, assignedForcesColumnText, id, marinesAssigned, marinesRequired, market, nameOverride, quantityLooted, source, xpGained
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 and Description |
---|
SpecialItemRaidObjectivePluginImpl(MarketAPI market,
java.lang.String id,
java.lang.String data,
Industry source) |
Modifier and Type | Method and Description |
---|---|
void |
createTooltip(TooltipMakerAPI t,
boolean expanded) |
int |
getCargoSpaceNeeded() |
MarketCMD.RaidDangerLevel |
getDangerLevel() |
java.lang.String |
getData() |
int |
getDeficitCaused() |
int |
getFuelSpaceNeeded() |
SpecialItemSpecAPI |
getItemSpec() |
java.lang.String |
getName() |
int |
getProjectedCreditsValue() |
float |
getQuantity(int marines) |
float |
getQuantitySortValue() |
CargoStackAPI |
getStackForIcon() |
int |
getValue(int marines) |
boolean |
hasTooltip() |
int |
performRaid(CargoAPI loot,
java.util.Random random,
float lootMult,
TextPanelAPI text) |
void |
setData(java.lang.String data) |
void |
setSource(Industry source) |
addIcons, getAssignedForcesColumnColor, getAssignedForcesColumnText, getCommodityIdForDeficitIcons, getDisruptedAlreadyColor, getDisruptedAlreadyString, getDisruptionDaysColor, getDisruptionDaysSort, getDisruptionDaysString, getIconName, getId, getMarinesAssigned, getMarinesRequired, getMarket, getNameOverride, getQuantityColor, getQuantityLooted, getQuantityString, getSource, getSourceString, getTooltipWidth, getValueColor, getValueSortValue, getValueString, getXpGained, isTooltipExpandable, setAssignedForcesColumnColor, setAssignedForcesColumnText, setId, setMarinesAssigned, setMarinesRequired, setMarket, setNameOverride, setQuantityLooted, setXpGained, withContinueBeforeResult
public void setSource(Industry source)
setSource
in interface GroundRaidObjectivePlugin
setSource
in class BaseGroundRaidObjectivePluginImpl
public java.lang.String getData()
public void setData(java.lang.String data)
public float getQuantity(int marines)
getQuantity
in class BaseGroundRaidObjectivePluginImpl
public int getValue(int marines)
getValue
in class BaseGroundRaidObjectivePluginImpl
public int getCargoSpaceNeeded()
getCargoSpaceNeeded
in interface GroundRaidObjectivePlugin
getCargoSpaceNeeded
in class BaseGroundRaidObjectivePluginImpl
public int getFuelSpaceNeeded()
getFuelSpaceNeeded
in interface GroundRaidObjectivePlugin
getFuelSpaceNeeded
in class BaseGroundRaidObjectivePluginImpl
public int getProjectedCreditsValue()
public int getDeficitCaused()
getDeficitCaused
in interface GroundRaidObjectivePlugin
getDeficitCaused
in class BaseGroundRaidObjectivePluginImpl
public SpecialItemSpecAPI getItemSpec()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel
in interface GroundRaidObjectivePlugin
getDangerLevel
in class BaseGroundRaidObjectivePluginImpl
public float getQuantitySortValue()
public java.lang.String getName()
public CargoStackAPI getStackForIcon()
getStackForIcon
in interface GroundRaidObjectivePlugin
getStackForIcon
in class BaseGroundRaidObjectivePluginImpl
public int performRaid(CargoAPI loot, java.util.Random random, float lootMult, TextPanelAPI text)
public boolean hasTooltip()
hasTooltip
in interface GroundRaidObjectivePlugin
hasTooltip
in class BaseGroundRaidObjectivePluginImpl
public void createTooltip(TooltipMakerAPI t, boolean expanded)
createTooltip
in interface GroundRaidObjectivePlugin
createTooltip
in class BaseGroundRaidObjectivePluginImpl
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.