public abstract static class BulkTransport.BaseCapacityModifierEffect extends BaseSkillEffectDescription implements ShipSkillEffect
BaseSkillEffectDescription.FleetMemberPointContrib, BaseSkillEffectDescription.ThresholdBonusType, BaseSkillEffectDescription.TooltipCreatorSkillEffectPluginLevelBasedEffect.ScopeDescriptionalpha, AUTOMATED_POINTS_THRESHOLD, dhc, dtc, FIGHTER_BAYS_THRESHOLD, hc, indent, MILITARIZED_OP_THRESHOLD, OP_ALL_LOW_THRESHOLD, OP_ALL_THRESHOLD, OP_LOW_THRESHOLD, OP_THRESHOLD, PHASE_OP_THRESHOLD, RECOVERY_COST, tc, TOOLTIP_WIDTH, USE_RECOVERY_COST| Constructor and Description |
|---|
BaseCapacityModifierEffect() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MutableShipStatsAPI stats,
ShipAPI.HullSize hullSize,
java.lang.String id,
float level) |
void |
createCustomDescription(MutableCharacterStatsAPI stats,
SkillSpecAPI skill,
TooltipMakerAPI info,
float width) |
protected abstract java.lang.String |
getCacheKey() |
protected abstract float |
getCapacity(FleetMemberAPI member) |
protected float |
getCapacityBase(java.lang.String id,
FleetDataAPI data) |
protected float |
getCapacityBase(java.lang.String id,
FleetMemberAPI curr) |
protected float |
getCapacityBonus(java.lang.String id,
FleetDataAPI data) |
protected abstract java.lang.String |
getCapacityString() |
java.lang.String |
getEffectDescription(float level) |
protected abstract float |
getMaxPercent() |
protected abstract java.lang.String |
getModifierId() |
LevelBasedEffect.ScopeDescription |
getScopeDescription() |
protected abstract StatBonus |
getShipStat(MutableShipStatsAPI stats) |
protected abstract float |
getThreshold() |
void |
unapply(MutableShipStatsAPI stats,
ShipAPI.HullSize hullSize,
java.lang.String id) |
protected abstract boolean |
withSpacerAfter() |
addAutomatedThresholdInfo, addFighterBayThresholdInfo, addMilitarizedOPThresholdInfo, addOPThresholdAll, addOPThresholdInfo, addOPThresholdInfo, addPhaseOPThresholdInfo, computeAndCacheThresholdBonus, computeAndCacheThresholdBonus, getAutomatedPoints, getAutomatedPointsDetail, getAutomatedPointsTotal, getCombatOPTotal, getCommanderStats, getEffectPerLevelDescription, getFighterBaysTotal, getFleetData, getMilitarizedOP, getMilitarizedOPDetail, getMilitarizedOPTotal, getNumBaysIncludingModules, getNumFighterBays, getNumFighterBaysDetail, getOPTotal, getPhaseOP, getPhaseOPDetail, getPhaseOPTotal, getPoints, getThresholdBasedBonus, getThresholdBasedRoundedBonus, getTooltipCreator, getTotalCombatOP, getTotalCombatOPDetail, getTotalOP, getTotalOPDetail, getValueLabelForMember, hasCustomDescription, hasFighterBays, hasFighterBays, init, initElite, isCivilian, isCivilian, isInCampaign, isMilitarized, isMilitarizedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEffectPerLevelDescriptionpublic BaseCapacityModifierEffect()
protected abstract java.lang.String getModifierId()
protected abstract java.lang.String getCacheKey()
protected abstract java.lang.String getCapacityString()
protected abstract float getCapacity(FleetMemberAPI member)
protected abstract float getMaxPercent()
protected abstract float getThreshold()
protected abstract StatBonus getShipStat(MutableShipStatsAPI stats)
protected abstract boolean withSpacerAfter()
public void apply(MutableShipStatsAPI stats, ShipAPI.HullSize hullSize, java.lang.String id, float level)
apply in interface ShipSkillEffectpublic void unapply(MutableShipStatsAPI stats, ShipAPI.HullSize hullSize, java.lang.String id)
unapply in interface ShipSkillEffectpublic java.lang.String getEffectDescription(float level)
getEffectDescription in interface LevelBasedEffectgetEffectDescription in class BaseSkillEffectDescriptionprotected float getCapacityBase(java.lang.String id, FleetDataAPI data)
protected float getCapacityBase(java.lang.String id, FleetMemberAPI curr)
protected float getCapacityBonus(java.lang.String id, FleetDataAPI data)
public void createCustomDescription(MutableCharacterStatsAPI stats, SkillSpecAPI skill, TooltipMakerAPI info, float width)
createCustomDescription in interface CustomSkillDescriptioncreateCustomDescription in class BaseSkillEffectDescriptionpublic LevelBasedEffect.ScopeDescription getScopeDescription()
getScopeDescription in interface LevelBasedEffectgetScopeDescription in class BaseSkillEffectDescription