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, 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 |
---|
AddRaidObjective.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, setXpGained
public AddRaidObjective.CustomRaidObjectiveAdder adder
public AddRaidObjective.CustomRaidObjective(AddRaidObjective.CustomRaidObjectiveAdder adder)
public boolean withContinueBeforeResult()
withContinueBeforeResult
in interface GroundRaidObjectivePlugin
withContinueBeforeResult
in class BaseGroundRaidObjectivePluginImpl
public java.lang.String getQuantityString(int marines)
getQuantityString
in interface GroundRaidObjectivePlugin
getQuantityString
in class BaseGroundRaidObjectivePluginImpl
public java.lang.String getValueString(int marines)
getValueString
in interface GroundRaidObjectivePlugin
getValueString
in class BaseGroundRaidObjectivePluginImpl
public float getValueSortValue()
getValueSortValue
in interface GroundRaidObjectivePlugin
getValueSortValue
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 MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel
in interface GroundRaidObjectivePlugin
getDangerLevel
in class BaseGroundRaidObjectivePluginImpl
public int getValue(int marines)
getValue
in class BaseGroundRaidObjectivePluginImpl
public float getQuantitySortValue()
public java.lang.String getName()
public java.lang.String getIconName()
getIconName
in interface GroundRaidObjectivePlugin
getIconName
in class BaseGroundRaidObjectivePluginImpl
public float getQuantity(int marines)
getQuantity
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.