Class BulkTransport.BaseCapacityModifierEffect
java.lang.Object
com.fs.starfarer.api.impl.campaign.skills.BaseSkillEffectDescription
com.fs.starfarer.api.impl.campaign.skills.BulkTransport.BaseCapacityModifierEffect
- All Implemented Interfaces:
CustomSkillDescription
,LevelBasedEffect
,ShipSkillEffect
- Direct Known Subclasses:
BulkTransport.Level1
,BulkTransport.Level2
,BulkTransport.Level3
- Enclosing class:
- BulkTransport
public abstract static class BulkTransport.BaseCapacityModifierEffect
extends BaseSkillEffectDescription
implements ShipSkillEffect
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fs.starfarer.api.impl.campaign.skills.BaseSkillEffectDescription
BaseSkillEffectDescription.FleetMemberPointContrib, BaseSkillEffectDescription.ThresholdBonusType, BaseSkillEffectDescription.TooltipCreatorSkillEffectPlugin
Nested classes/interfaces inherited from interface com.fs.starfarer.api.characters.LevelBasedEffect
LevelBasedEffect.ScopeDescription
-
Field Summary
Fields inherited from class com.fs.starfarer.api.impl.campaign.skills.BaseSkillEffectDescription
alpha, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(MutableShipStatsAPI stats, ShipAPI.HullSize hullSize, String id, float level) void
createCustomDescription
(MutableCharacterStatsAPI stats, SkillSpecAPI skill, TooltipMakerAPI info, float width) protected abstract String
protected abstract float
getCapacity
(FleetMemberAPI member) protected float
getCapacityBase
(String id, FleetDataAPI data) protected float
getCapacityBase
(String id, FleetMemberAPI curr) protected float
getCapacityBonus
(String id, FleetDataAPI data) protected abstract String
getEffectDescription
(float level) protected abstract float
protected abstract String
protected abstract StatBonus
getShipStat
(MutableShipStatsAPI stats) protected abstract float
void
unapply
(MutableShipStatsAPI stats, ShipAPI.HullSize hullSize, String id) protected abstract boolean
Methods inherited from class com.fs.starfarer.api.impl.campaign.skills.BaseSkillEffectDescription
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, isMilitarized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fs.starfarer.api.characters.LevelBasedEffect
getEffectPerLevelDescription
-
Constructor Details
-
BaseCapacityModifierEffect
public BaseCapacityModifierEffect()
-
-
Method Details
-
getModifierId
-
getCacheKey
-
getCapacityString
-
getCapacity
-
getMaxPercent
protected abstract float getMaxPercent() -
getThreshold
protected abstract float getThreshold() -
getShipStat
-
withSpacerAfter
protected abstract boolean withSpacerAfter() -
apply
- Specified by:
apply
in interfaceShipSkillEffect
-
unapply
- Specified by:
unapply
in interfaceShipSkillEffect
-
getEffectDescription
- Specified by:
getEffectDescription
in interfaceLevelBasedEffect
- Overrides:
getEffectDescription
in classBaseSkillEffectDescription
-
getCapacityBase
-
getCapacityBase
-
getCapacityBonus
-
createCustomDescription
public void createCustomDescription(MutableCharacterStatsAPI stats, SkillSpecAPI skill, TooltipMakerAPI info, float width) - Specified by:
createCustomDescription
in interfaceCustomSkillDescription
- Overrides:
createCustomDescription
in classBaseSkillEffectDescription
-
getScopeDescription
- Specified by:
getScopeDescription
in interfaceLevelBasedEffect
- Overrides:
getScopeDescription
in classBaseSkillEffectDescription
-