public interface CombatFleetManagerAPI
Modifier and Type | Interface and Description |
---|---|
static interface |
CombatFleetManagerAPI.AssignmentInfo |
Modifier and Type | Method and Description |
---|---|
void |
addToReserves(FleetMemberAPI member) |
boolean |
canEnemyDisengageCleanly() |
AssignmentTargetAPI |
createWaypoint(Vector2f location,
boolean ally) |
AdmiralAIPlugin |
getAdmiralAI() |
java.util.List<DeployedFleetMemberAPI> |
getAllEverDeployedCopy() |
java.util.List<PersonAPI> |
getAllFleetCommanders() |
FleetMemberAPI |
getBiggestStationDeployedOrNot() |
int |
getCurrStrength() |
PersonAPI |
getDefaultCommander() |
java.util.List<FleetMemberAPI> |
getDeployedCopy() |
java.util.List<DeployedFleetMemberAPI> |
getDeployedCopyDFM() |
DeployedFleetMemberAPI |
getDeployedFleetMember(ShipAPI ship) |
DeployedFleetMemberAPI |
getDeployedFleetMemberEvenIfDisabled(ShipAPI ship) |
DeployedFleetMemberAPI |
getDeployedFleetMemberFromAllEverDeployed(ShipAPI ship) |
float |
getDeploymentYOffset() |
java.util.List<FleetMemberAPI> |
getDestroyedCopy() |
java.util.List<FleetMemberAPI> |
getDisabledCopy() |
float |
getEnemyCleanDisengagePoints() |
float |
getEnemyCleanDisengageProgress() |
float |
getEnemyCleanDisengageThreshold() |
PersonAPI |
getFleetCommander()
May return null if both the reserves and the deployed lists are empty.
|
PersonAPI |
getFleetCommanderPreferPlayer() |
FleetGoal |
getGoal() |
int |
getMaxStrength()
Max deployment points available.
|
int |
getOwner() |
java.util.List<FleetMemberAPI> |
getReservesCopy() |
java.util.List<FleetMemberAPI> |
getRetreatedCopy() |
java.util.Map<DeployedFleetMemberAPI,DeployedFleetMemberAPI> |
getShardToOriginalShipMap() |
ShipAPI |
getShipFor(FleetMemberAPI fleetMember)
Returns ship that corresponds to the fleet member passed in.
|
ShipAPI |
getShipFor(PersonAPI captain) |
java.util.List<DeployedFleetMemberAPI> |
getStations() |
CombatTaskManagerAPI |
getTaskManager(boolean ally) |
boolean |
isCanForceShipsToEngageWhenBattleClearlyLost() |
boolean |
isDefendingStation() |
boolean |
isDeployedStation() |
boolean |
isOnlyTimidOrNonCombatDeployed() |
boolean |
isSuppressDeploymentMessages() |
void |
modifyFlatMax(java.lang.String source,
int value) |
void |
modifyPercentMax(java.lang.String source,
float percent) |
void |
removeDeployed(FighterWingAPI wing,
boolean retreated) |
void |
removeDeployed(ShipAPI ship,
boolean retreated) |
void |
removeFromReserves(FleetMemberAPI member) |
void |
setAdmiralAI(AdmiralAIPlugin admiralAI) |
void |
setCanForceShipsToEngageWhenBattleClearlyLost(boolean canForceShipsToEngageWhenBattleClearlyLost)
Defaults to true for enemy, false for player side.
|
void |
setDefaultCommander(PersonAPI defaultCommander) |
void |
setDeployedStation(boolean deployedStation) |
void |
setDeploymentYOffset(float deploymentYOffset) |
void |
setMaxStrength(int maxStrength) |
void |
setSuppressDeploymentMessages(boolean suppressDeploymentMessages) |
ShipAPI |
spawnFleetMember(FleetMemberAPI member,
Vector2f location,
float facing,
float initialBurnDur)
member does not actually have to be in the reserves.
|
ShipAPI |
spawnShipOrWing(java.lang.String specId,
Vector2f location,
float facing)
Deploy a ship/fighter wing with the given spec or variant id.
|
ShipAPI |
spawnShipOrWing(java.lang.String specId,
Vector2f location,
float facing,
float initialBurnDur)
Deploy a ship/fighter wing with the given spec or variant id.
|
ShipAPI |
spawnShipOrWing(java.lang.String specId,
Vector2f location,
float facing,
float initialBurnDur,
PersonAPI captain) |
void |
unmodifyMax() |
ShipAPI spawnShipOrWing(java.lang.String specId, Vector2f location, float facing)
id
- location
- Where to deploy.facing
- Facing at time of deployment.ShipAPI spawnShipOrWing(java.lang.String specId, Vector2f location, float facing, float initialBurnDur)
specId
- location
- facing
- level
- crew experience levelinitialBurnDur
- amount of time travel drive should be on (in seconds)ShipAPI spawnFleetMember(FleetMemberAPI member, Vector2f location, float facing, float initialBurnDur)
member
- location
- facing
- initialBurnDur
- ShipAPI getShipFor(FleetMemberAPI fleetMember)
fleetMember
- java.util.List<FleetMemberAPI> getDeployedCopy()
java.util.List<FleetMemberAPI> getReservesCopy()
DeployedFleetMemberAPI getDeployedFleetMember(ShipAPI ship)
DeployedFleetMemberAPI getDeployedFleetMemberEvenIfDisabled(ShipAPI ship)
AssignmentTargetAPI createWaypoint(Vector2f location, boolean ally)
FleetGoal getGoal()
void addToReserves(FleetMemberAPI member)
void removeFromReserves(FleetMemberAPI member)
CombatTaskManagerAPI getTaskManager(boolean ally)
boolean isOnlyTimidOrNonCombatDeployed()
java.util.List<FleetMemberAPI> getDisabledCopy()
java.util.List<FleetMemberAPI> getDestroyedCopy()
java.util.List<FleetMemberAPI> getRetreatedCopy()
boolean isSuppressDeploymentMessages()
void setSuppressDeploymentMessages(boolean suppressDeploymentMessages)
boolean isDefendingStation()
java.util.List<DeployedFleetMemberAPI> getStations()
java.util.List<DeployedFleetMemberAPI> getDeployedCopyDFM()
int getOwner()
void setDefaultCommander(PersonAPI defaultCommander)
PersonAPI getDefaultCommander()
PersonAPI getFleetCommander()
int getMaxStrength()
boolean isDeployedStation()
void setDeployedStation(boolean deployedStation)
void setDeploymentYOffset(float deploymentYOffset)
float getDeploymentYOffset()
float getEnemyCleanDisengageProgress()
float getEnemyCleanDisengageThreshold()
float getEnemyCleanDisengagePoints()
boolean canEnemyDisengageCleanly()
java.util.List<PersonAPI> getAllFleetCommanders()
PersonAPI getFleetCommanderPreferPlayer()
java.util.List<DeployedFleetMemberAPI> getAllEverDeployedCopy()
boolean isCanForceShipsToEngageWhenBattleClearlyLost()
void setCanForceShipsToEngageWhenBattleClearlyLost(boolean canForceShipsToEngageWhenBattleClearlyLost)
canForceShipsToEngageWhenBattleClearlyLost
- ShipAPI spawnShipOrWing(java.lang.String specId, Vector2f location, float facing, float initialBurnDur, PersonAPI captain)
java.util.Map<DeployedFleetMemberAPI,DeployedFleetMemberAPI> getShardToOriginalShipMap()
DeployedFleetMemberAPI getDeployedFleetMemberFromAllEverDeployed(ShipAPI ship)
FleetMemberAPI getBiggestStationDeployedOrNot()
AdmiralAIPlugin getAdmiralAI()
void setAdmiralAI(AdmiralAIPlugin admiralAI)
void removeDeployed(ShipAPI ship, boolean retreated)
void setMaxStrength(int maxStrength)
int getCurrStrength()
void modifyFlatMax(java.lang.String source, int value)
void modifyPercentMax(java.lang.String source, float percent)
void unmodifyMax()
void removeDeployed(FighterWingAPI wing, boolean retreated)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.