Package com.fs.starfarer.api.combat
Interface CombatReadinessPlugin
- All Known Implementing Classes:
CRPluginImpl
public interface CombatReadinessPlugin
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
static class
static enum
static class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyCRToShip
(float cr, ShipAPI ship) void
applyCRToStats
(float cr, MutableShipStatsAPI stats, ShipAPI.HullSize hullSize) void
getCREffectDescription
(float cr, String shipOrWing, FleetMemberAPI member) Used to construct part of the CR tooltip in the fleet view.getCREffectDetails
(float cr, FleetMemberAPI member) float
float
float
getMissileLoadedFraction
(MutableShipStatsAPI stats, float cr) boolean
isOkToPermanentlyDisable
(ShipAPI ship, Object module)
-
Method Details
-
applyMaxCRCrewModifiers
-
applyCRToStats
-
applyCRToShip
-
getCRStatusDataForShip
-
getMalfunctionThreshold
-
getCriticalMalfunctionThreshold
-
getCREffectDescription
CombatReadinessPlugin.CREffectDescriptionForTooltip getCREffectDescription(float cr, String shipOrWing, FleetMemberAPI member) Used to construct part of the CR tooltip in the fleet view.- Parameters:
cr
- from 0 to 1shipOrWing
- "ship" or "fighter wing".- Returns:
-
getCREffectDetails
-
getMissileLoadedFraction
-
isOkToPermanentlyDisable
-