public static class AddRaidObjective.CustomRaidObjective extends BaseGroundRaidObjectivePluginImpl
| Modifier and Type | Field and Description |
|---|---|
AddRaidObjective.CustomRaidObjectiveAdder |
adder |
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 |
|---|
CustomRaidObjective(AddRaidObjective.CustomRaidObjectiveAdder adder) |
| Modifier and Type | Method and Description |
|---|---|
void |
createTooltip(TooltipMakerAPI t,
boolean expanded) |
int |
getCargoSpaceNeeded() |
MarketCMD.RaidDangerLevel |
getDangerLevel() |
int |
getFuelSpaceNeeded() |
java.lang.String |
getIconName() |
java.lang.String |
getName() |
int |
getProjectedCreditsValue() |
float |
getQuantity(int marines) |
float |
getQuantitySortValue() |
java.lang.String |
getQuantityString(int marines) |
int |
getValue(int marines) |
float |
getValueSortValue() |
java.lang.String |
getValueString(int marines) |
boolean |
hasTooltip() |
int |
performRaid(CargoAPI loot,
java.util.Random random,
float lootMult,
TextPanelAPI text) |
boolean |
withContinueBeforeResult() |
addIcons, getAssignedForcesColumnColor, getAssignedForcesColumnText, getCommodityIdForDeficitIcons, getDeficitCaused, getDisruptedAlreadyColor, getDisruptedAlreadyString, getDisruptionDaysColor, getDisruptionDaysSort, getDisruptionDaysString, getId, getMarinesAssigned, getMarinesRequired, getMarket, getNameOverride, getQuantityColor, getQuantityLooted, getSource, getSourceString, getStackForIcon, getTooltipWidth, getValueColor, getXpGained, isTooltipExpandable, setAssignedForcesColumnColor, setAssignedForcesColumnText, setId, setMarinesAssigned, setMarinesRequired, setMarket, setNameOverride, setQuantityLooted, setSource, setXpGainedpublic AddRaidObjective.CustomRaidObjectiveAdder adder
public CustomRaidObjective(AddRaidObjective.CustomRaidObjectiveAdder adder)
public boolean withContinueBeforeResult()
withContinueBeforeResult in interface GroundRaidObjectivePluginwithContinueBeforeResult in class BaseGroundRaidObjectivePluginImplpublic 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 float getValueSortValue()
getValueSortValue in interface GroundRaidObjectivePlugingetValueSortValue in class BaseGroundRaidObjectivePluginImplpublic int getCargoSpaceNeeded()
getCargoSpaceNeeded in interface GroundRaidObjectivePlugingetCargoSpaceNeeded in class BaseGroundRaidObjectivePluginImplpublic int getFuelSpaceNeeded()
getFuelSpaceNeeded in interface GroundRaidObjectivePlugingetFuelSpaceNeeded in class BaseGroundRaidObjectivePluginImplpublic int getProjectedCreditsValue()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel in interface GroundRaidObjectivePlugingetDangerLevel in class BaseGroundRaidObjectivePluginImplpublic int getValue(int marines)
getValue in class BaseGroundRaidObjectivePluginImplpublic float getQuantitySortValue()
public java.lang.String getName()
public java.lang.String getIconName()
getIconName in interface GroundRaidObjectivePlugingetIconName in class BaseGroundRaidObjectivePluginImplpublic float getQuantity(int marines)
getQuantity 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