public interface CombatReadinessPlugin
Modifier and Type | Interface and Description |
---|---|
static class |
CombatReadinessPlugin.CREffectDescriptionForTooltip |
static class |
CombatReadinessPlugin.CREffectDetail |
static class |
CombatReadinessPlugin.CREffectDetailType |
static class |
CombatReadinessPlugin.CRStatusItemData |
Modifier and Type | Method and Description |
---|---|
void |
applyCRToShip(float cr,
ShipAPI ship) |
void |
applyCRToStats(float cr,
MutableShipStatsAPI stats,
ShipAPI.HullSize hullSize) |
void |
applyMaxCRCrewModifiers(FleetMemberAPI member) |
CombatReadinessPlugin.CREffectDescriptionForTooltip |
getCREffectDescription(float cr,
java.lang.String shipOrWing,
FleetMemberAPI member)
Used to construct part of the CR tooltip in the fleet view.
|
java.util.List<CombatReadinessPlugin.CREffectDetail> |
getCREffectDetails(float cr,
FleetMemberAPI member) |
float |
getCriticalMalfunctionThreshold(MutableShipStatsAPI stats) |
java.util.List<CombatReadinessPlugin.CRStatusItemData> |
getCRStatusDataForShip(ShipAPI ship) |
float |
getMalfunctionThreshold(MutableShipStatsAPI stats) |
float |
getMissileLoadedFraction(MutableShipStatsAPI stats,
float cr) |
boolean |
isOkToPermanentlyDisable(ShipAPI ship,
java.lang.Object module) |
void applyMaxCRCrewModifiers(FleetMemberAPI member)
void applyCRToStats(float cr, MutableShipStatsAPI stats, ShipAPI.HullSize hullSize)
void applyCRToShip(float cr, ShipAPI ship)
java.util.List<CombatReadinessPlugin.CRStatusItemData> getCRStatusDataForShip(ShipAPI ship)
float getMalfunctionThreshold(MutableShipStatsAPI stats)
float getCriticalMalfunctionThreshold(MutableShipStatsAPI stats)
CombatReadinessPlugin.CREffectDescriptionForTooltip getCREffectDescription(float cr, java.lang.String shipOrWing, FleetMemberAPI member)
cr
- from 0 to 1shipOrWing
- "ship" or "fighter wing".java.util.List<CombatReadinessPlugin.CREffectDetail> getCREffectDetails(float cr, FleetMemberAPI member)
float getMissileLoadedFraction(MutableShipStatsAPI stats, float cr)
boolean isOkToPermanentlyDisable(ShipAPI ship, java.lang.Object module)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.