public class HighResSensors extends BaseLogisticsHullMod implements HullModFleetEffect
| Modifier and Type | Field and Description |
|---|---|
static float |
MIN_CR |
static java.lang.String |
MOD_KEY |
MAX_MODSspec| Constructor and Description |
|---|
HighResSensors() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPostDescriptionSection(TooltipMakerAPI tooltip,
ShipAPI.HullSize hullSize,
ShipAPI ship,
float width,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
void |
advanceInCampaign(CampaignFleetAPI fleet)
Called for *every* fleet, even fleets that don't have a ship with the specific hullmod.
|
void |
applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize,
MutableShipStatsAPI stats,
java.lang.String id) |
static float |
getAdjustedHRSModifier(CampaignFleetAPI fleet,
java.lang.String skipId,
float add) |
java.lang.String |
getDescriptionParam(int index,
ShipAPI.HullSize hullSize) |
java.lang.String |
getSModDescriptionParam(int index,
ShipAPI.HullSize hullSize) |
void |
onFleetSync(CampaignFleetAPI fleet)
Called when anything about the fleet composition changes, including hullmod changes.
|
boolean |
shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize,
ShipAPI ship,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
boolean |
withAdvanceInCampaign()
Whether the advanceInCampaign() method should be called for this hullmod.
|
boolean |
withOnFleetSync()
Whether the withOnFleetSync() method should be called for this hullmod.
|
getMax, getNumLogisticsMods, getUnapplicableReason, isApplicableToShipaddRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, advanceInCombat, affectsOPCosts, applyEffectsAfterShipCreation, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getTooltipWidth, hasSModEffect, hasSModEffectSection, init, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, showInRefitScreenModPickerForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyEffectsAfterShipAddedToCombatEngine, getRequiredItempublic HighResSensors()
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation in interface HullModEffectapplyEffectsBeforeShipCreation in class BaseHullModpublic java.lang.String getSModDescriptionParam(int index, ShipAPI.HullSize hullSize)
getSModDescriptionParam in interface HullModEffectgetSModDescriptionParam in class BaseHullModpublic java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize)
getDescriptionParam in interface HullModEffectgetDescriptionParam in class BaseHullModpublic void advanceInCampaign(CampaignFleetAPI fleet)
HullModFleetEffectadvanceInCampaign in interface HullModFleetEffectpublic boolean withAdvanceInCampaign()
HullModFleetEffectwithAdvanceInCampaign in interface HullModFleetEffectpublic boolean withOnFleetSync()
HullModFleetEffectwithOnFleetSync in interface HullModFleetEffectpublic void onFleetSync(CampaignFleetAPI fleet)
HullModFleetEffectonFleetSync in interface HullModFleetEffectpublic boolean shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec)
HullModEffectshouldAddDescriptionToTooltip in interface HullModEffectshouldAddDescriptionToTooltip in class BaseHullModpublic void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec)
HullModEffectaddPostDescriptionSection in interface HullModEffectaddPostDescriptionSection in class BaseHullModpublic static float getAdjustedHRSModifier(CampaignFleetAPI fleet, java.lang.String skipId, float add)