public class MissileAutoloader extends BaseHullMod
| Modifier and Type | Class and Description |
|---|---|
static class |
MissileAutoloader.MissileAutoloaderData |
static class |
MissileAutoloader.ReloadCapacityData |
| Modifier and Type | Field and Description |
|---|---|
static float |
BASIC_COOLDOWN |
static java.util.List<MissileAutoloader.ReloadCapacityData> |
CAPACITY_DATA |
static java.lang.String |
MA_DATA_KEY |
static float |
SMOD_COOLDOWN |
spec| Constructor and Description |
|---|
MissileAutoloader() |
| 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 |
advanceInCombat(ShipAPI ship,
float amount)
Not called while paused.
|
void |
applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize,
MutableShipStatsAPI stats,
java.lang.String id) |
static MissileAutoloader.ReloadCapacityData |
getCapacityData(ShipAPI ship) |
static float |
getReloadCost(WeaponAPI w,
ShipAPI ship) |
java.lang.String |
getSModDescriptionParam(int index,
ShipAPI.HullSize hullSize,
ShipAPI ship) |
java.lang.String |
getUnapplicableReason(ShipAPI ship) |
static boolean |
isAffected(WeaponAPI w) |
boolean |
isApplicableToShip(ShipAPI ship) |
boolean |
isSModEffectAPenalty() |
boolean |
shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize,
ShipAPI ship,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, affectsOPCosts, applyEffectsAfterShipCreation, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getTooltipWidth, hasSModEffect, hasSModEffectSection, init, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, shipHasOtherModInCategory, showInRefitScreenModPickerForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyEffectsAfterShipAddedToCombatEngine, getRequiredItempublic static java.util.List<MissileAutoloader.ReloadCapacityData> CAPACITY_DATA
public static float BASIC_COOLDOWN
public static float SMOD_COOLDOWN
public static java.lang.String MA_DATA_KEY
public MissileAutoloader()
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation in interface HullModEffectapplyEffectsBeforeShipCreation in class BaseHullModpublic void advanceInCombat(ShipAPI ship, float amount)
HullModEffectadvanceInCombat in interface HullModEffectadvanceInCombat in class BaseHullModpublic static MissileAutoloader.ReloadCapacityData getCapacityData(ShipAPI ship)
public static boolean isAffected(WeaponAPI w)
public static float getReloadCost(WeaponAPI w, ShipAPI ship)
public 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 boolean isApplicableToShip(ShipAPI ship)
isApplicableToShip in interface HullModEffectisApplicableToShip in class BaseHullModpublic java.lang.String getUnapplicableReason(ShipAPI ship)
getUnapplicableReason in interface HullModEffectgetUnapplicableReason in class BaseHullModpublic boolean isSModEffectAPenalty()
isSModEffectAPenalty in interface HullModEffectisSModEffectAPenalty in class BaseHullModpublic java.lang.String getSModDescriptionParam(int index, ShipAPI.HullSize hullSize, ShipAPI ship)
getSModDescriptionParam in interface HullModEffectgetSModDescriptionParam in class BaseHullMod