public class PDIntegration extends BaseHullMod
| Modifier and Type | Class and Description |
|---|---|
static class |
PDIntegration.PDIDamageDealtMod |
| Modifier and Type | Field and Description |
|---|---|
static float |
DAMAGE_BONUS_PERCENT |
static int |
OP_REDUCTION |
spec| Constructor and Description |
|---|
PDIntegration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
affectsOPCosts()
Hullmods that return true here should only ever be built-in, as cost changes aren't handled when
these mods can be added or removed to/from the variant.
|
void |
applyEffectsAfterShipCreation(ShipAPI ship,
java.lang.String id)
Effects applied here should NOT affect ship stats as this does not get called from the campaign.
|
void |
applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize,
MutableShipStatsAPI stats,
java.lang.String id) |
boolean |
canBeAddedOrRemovedNow(ShipAPI ship,
MarketAPI marketOrNull,
CampaignUIAPI.CoreUITradeMode mode)
Ship may be null from autofit.
|
java.lang.String |
getCanNotBeInstalledNowReason(ShipAPI ship,
MarketAPI marketOrNull,
CampaignUIAPI.CoreUITradeMode mode) |
java.lang.String |
getDescriptionParam(int index,
ShipAPI.HullSize hullSize,
ShipAPI ship) |
addPostDescriptionSection, addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, advanceInCombat, applyEffectsToFighterSpawnedByShip, getBorderColor, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getSModDescriptionParam, getTooltipWidth, getUnapplicableReason, hasSModEffect, hasSModEffectSection, init, isApplicableToShip, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, shouldAddDescriptionToTooltip, showInRefitScreenModPickerForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyEffectsAfterShipAddedToCombatEngine, getRequiredItempublic static int OP_REDUCTION
public static float DAMAGE_BONUS_PERCENT
public PDIntegration()
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation in interface HullModEffectapplyEffectsBeforeShipCreation in class BaseHullModpublic void applyEffectsAfterShipCreation(ShipAPI ship, java.lang.String id)
HullModEffectapplyEffectsAfterShipCreation in interface HullModEffectapplyEffectsAfterShipCreation in class BaseHullModpublic java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize, ShipAPI ship)
getDescriptionParam in interface HullModEffectgetDescriptionParam in class BaseHullModpublic boolean affectsOPCosts()
HullModEffectaffectsOPCosts in interface HullModEffectaffectsOPCosts in class BaseHullModpublic boolean canBeAddedOrRemovedNow(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode)
HullModEffectcanBeAddedOrRemovedNow in interface HullModEffectcanBeAddedOrRemovedNow in class BaseHullModpublic java.lang.String getCanNotBeInstalledNowReason(ShipAPI ship, MarketAPI marketOrNull, CampaignUIAPI.CoreUITradeMode mode)
getCanNotBeInstalledNowReason in interface HullModEffectgetCanNotBeInstalledNowReason in class BaseHullMod