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, xpGainedQUANTITY_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, withContinueBeforeResultprotected java.lang.String data
public SpecialItemRaidObjectivePluginImpl(MarketAPI market, java.lang.String id, java.lang.String data, Industry source)
public void setSource(Industry source)
setSource in interface GroundRaidObjectivePluginsetSource in class BaseGroundRaidObjectivePluginImplpublic java.lang.String getData()
public void setData(java.lang.String data)
public float getQuantity(int marines)
getQuantity in class BaseGroundRaidObjectivePluginImplpublic int getValue(int marines)
getValue in class BaseGroundRaidObjectivePluginImplpublic int getCargoSpaceNeeded()
getCargoSpaceNeeded in interface GroundRaidObjectivePlugingetCargoSpaceNeeded in class BaseGroundRaidObjectivePluginImplpublic int getFuelSpaceNeeded()
getFuelSpaceNeeded in interface GroundRaidObjectivePlugingetFuelSpaceNeeded in class BaseGroundRaidObjectivePluginImplpublic int getProjectedCreditsValue()
public int getDeficitCaused()
getDeficitCaused in interface GroundRaidObjectivePlugingetDeficitCaused in class BaseGroundRaidObjectivePluginImplpublic SpecialItemSpecAPI getItemSpec()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel in interface GroundRaidObjectivePlugingetDangerLevel in class BaseGroundRaidObjectivePluginImplpublic float getQuantitySortValue()
public java.lang.String getName()
public CargoStackAPI getStackForIcon()
getStackForIcon in interface GroundRaidObjectivePlugingetStackForIcon in class BaseGroundRaidObjectivePluginImplpublic int performRaid(CargoAPI loot, java.util.Random random, float lootMult, TextPanelAPI text)
public boolean hasTooltip()
hasTooltip in interface GroundRaidObjectivePluginhasTooltip in class BaseGroundRaidObjectivePluginImplpublic void createTooltip(TooltipMakerAPI t, boolean expanded)
createTooltip in interface GroundRaidObjectivePlugincreateTooltip in class BaseGroundRaidObjectivePluginImpl