public class ShipWeaponsGroundRaidObjectivePluginImpl extends BaseGroundRaidObjectivePluginImpl
| Modifier and Type | Field and Description |
|---|---|
static float |
CARGO_SPACE_PER_LARGE |
static float |
CARGO_SPACE_PER_MEDIUM |
static float |
CARGO_SPACE_PER_SMALL |
protected CommodityOnMarketAPI |
com |
protected CargoAPI |
looted |
static float |
SELL_MULT |
static float |
VALUE_DEFICIT |
static float |
VALUE_EXCESS |
static float |
VALUE_NORMAL |
static float |
VALUE_OVERALL |
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 |
|---|
ShipWeaponsGroundRaidObjectivePluginImpl(MarketAPI market) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIcons(IconGroupAPI iconGroup) |
void |
createTooltip(TooltipMakerAPI t,
boolean expanded) |
float |
getBaseRaidValue() |
java.lang.String |
getCommodityIdForDeficitIcons() |
MarketCMD.RaidDangerLevel |
getDangerLevel() |
CargoAPI |
getLooted() |
java.lang.String |
getName() |
int |
getProjectedCreditsValue() |
protected float |
getQMult(int tier) |
float |
getQuantity(int marines) |
float |
getQuantitySortValue() |
java.lang.String |
getQuantityString(int marines) |
CargoStackAPI |
getStackForIcon() |
int |
getValue(int marines) |
java.lang.String |
getValueString(int marines) |
CommoditySpecAPI |
getWeaponsCommoditySpec() |
boolean |
hasTooltip() |
int |
performRaid(CargoAPI loot,
java.util.Random random,
float lootMult,
TextPanelAPI text) |
getAssignedForcesColumnColor, getAssignedForcesColumnText, getCargoSpaceNeeded, getDeficitCaused, getDisruptedAlreadyColor, getDisruptedAlreadyString, getDisruptionDaysColor, getDisruptionDaysSort, getDisruptionDaysString, getFuelSpaceNeeded, getIconName, getId, getMarinesAssigned, getMarinesRequired, getMarket, getNameOverride, getQuantityColor, getQuantityLooted, getSource, getSourceString, getTooltipWidth, getValueColor, getValueSortValue, getXpGained, isTooltipExpandable, setAssignedForcesColumnColor, setAssignedForcesColumnText, setId, setMarinesAssigned, setMarinesRequired, setMarket, setNameOverride, setQuantityLooted, setSource, setXpGained, withContinueBeforeResultpublic static float CARGO_SPACE_PER_LARGE
public static float CARGO_SPACE_PER_MEDIUM
public static float CARGO_SPACE_PER_SMALL
public static float SELL_MULT
public static float VALUE_NORMAL
public static float VALUE_EXCESS
public static float VALUE_DEFICIT
public static float VALUE_OVERALL
protected CommodityOnMarketAPI com
public ShipWeaponsGroundRaidObjectivePluginImpl(MarketAPI market)
public void addIcons(IconGroupAPI iconGroup)
addIcons in interface GroundRaidObjectivePluginaddIcons in class BaseGroundRaidObjectivePluginImplpublic int getProjectedCreditsValue()
public CommoditySpecAPI getWeaponsCommoditySpec()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel in interface GroundRaidObjectivePlugingetDangerLevel in class BaseGroundRaidObjectivePluginImplpublic float getQuantitySortValue()
public java.lang.String getQuantityString(int marines)
getQuantityString in interface GroundRaidObjectivePlugingetQuantityString in class BaseGroundRaidObjectivePluginImplpublic java.lang.String getValueString(int marines)
getValueString in interface GroundRaidObjectivePlugingetValueString in class BaseGroundRaidObjectivePluginImplpublic int getValue(int marines)
getValue in class BaseGroundRaidObjectivePluginImplpublic float getQuantity(int marines)
getQuantity in class BaseGroundRaidObjectivePluginImplpublic float getBaseRaidValue()
public java.lang.String getName()
public CargoStackAPI getStackForIcon()
getStackForIcon in interface GroundRaidObjectivePlugingetStackForIcon in class BaseGroundRaidObjectivePluginImplpublic java.lang.String getCommodityIdForDeficitIcons()
getCommodityIdForDeficitIcons in interface GroundRaidObjectivePlugingetCommodityIdForDeficitIcons in class BaseGroundRaidObjectivePluginImplprotected float getQMult(int tier)
public 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