Class PunitiveExpeditionIntel
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel
com.fs.starfarer.api.impl.campaign.intel.punitive.PunitiveExpeditionIntel
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,RouteManager.RouteFleetSpawner
,RaidIntel.RaidDelegate
,CallEvent.CallableEvent
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel
RaidIntel.RaidDelegate, RaidIntel.RaidStage, RaidIntel.RaidStageStatus
Nested classes/interfaces inherited from interface com.fs.starfarer.api.campaign.comm.IntelInfoPlugin
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PEActionStage
protected PunitiveExpeditionManager.PunExReason
static final String
static final Object
protected MarketAPI
protected PunitiveExpeditionManager.PunExGoal
protected PunitiveExpeditionIntel.PunExOutcome
static final Object
protected Random
static float
protected MarketAPI
protected FactionAPI
protected Industry
protected String
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel
currentStage, defenderStr, delegate, extraDays, faction, failStage, id, sid, stages, system, UPDATE_FAILED, UPDATE_RETURNING
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestamp
Fields inherited from interface com.fs.starfarer.api.campaign.comm.IntelInfoPlugin
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
-
Constructor Summary
ConstructorsConstructorDescriptionPunitiveExpeditionIntel
(FactionAPI faction, MarketAPI from, MarketAPI target, float expeditionFP, float organizeDuration, PunitiveExpeditionManager.PunExGoal goal, Industry targetIndustry, PunitiveExpeditionManager.PunExReason bestReason) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
addInitialDescSection
(TooltipMakerAPI info, float initPad) protected void
advanceImpl
(float amount) void
void
buttonPressConfirmed
(Object buttonId, IntelUIAPI ui) createAssignmentAI
(CampaignFleetAPI fleet, RouteManager.RouteData route) createFleet
(String factionId, RouteManager.RouteData route, MarketAPI market, org.lwjgl.util.vector.Vector2f locInHyper, Random random) void
void
createSmallDescription
(TooltipMakerAPI info, float width, float height) getFrom()
getGoal()
getIcon()
40x40, no icon if null.getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.getName()
boolean
void
notifyRaidEnded
(RaidIntel raid, RaidIntel.RaidStageStatus status) void
void
void
sendUpdateIfPlayerHasIntel
(Object listInfoParam, boolean onlyIfImportant, boolean sendIfHidden) void
spawnFleet
(RouteManager.RouteData route) Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel
addStage, addStandardStrengthComparisons, canMakeVisibleToPlayer, failedAtStage, forceFail, getArrowData, getAssembleStage, getCommMessageSound, getCurrentStage, getETA, getExtraDays, getFaction, getFactionForUIColors, getFailStage, getFirstSource, getNumFleets, getOrganizeStage, getOrigNumFleets, getRaidFP, getRaidFPAdjusted, getRaidStr, getRaidStrDesc, getRouteSourceId, getSmallDescriptionTitle, getSortString, getSortTier, getStageIndex, getSystem, isFailed, isPlayerTargeted, isSucceeded, notifyEnded, notifyEnding, reportAboutToBeDespawnedByRouteManager, setExtraDays, shouldCancelRouteAfterDelayCheck, shouldRepeat, shouldSendUpdate
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
addBulletPoints, addDays, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addLogTimestamp, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createLargeDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortStringNewestFirst, getSortStringNewestFirst, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, setTagsForSort, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindent
-
Field Details
-
BUTTON_AVERT
- See Also:
-
REP_PENALTY
public static float REP_PENALTY -
ENTERED_SYSTEM_UPDATE
-
OUTCOME_UPDATE
-
action
-
goal
-
target
-
from
-
outcome
-
random
-
bestReason
-
targetIndustry
-
targetFaction
-
repResult
-
targetOwner
-
-
Constructor Details
-
PunitiveExpeditionIntel
public PunitiveExpeditionIntel(FactionAPI faction, MarketAPI from, MarketAPI target, float expeditionFP, float organizeDuration, PunitiveExpeditionManager.PunExGoal goal, Industry targetIndustry, PunitiveExpeditionManager.PunExReason bestReason)
-
-
Method Details
-
applyRepPenalty
public void applyRepPenalty() -
getRandom
-
getTarget
-
getTargetFaction
-
getFrom
-
createAssignmentAI
public RouteFleetAssignmentAI createAssignmentAI(CampaignFleetAPI fleet, RouteManager.RouteData route) - Overrides:
createAssignmentAI
in classRaidIntel
-
advanceImpl
protected void advanceImpl(float amount) - Overrides:
advanceImpl
in classRaidIntel
-
sendOutcomeUpdate
public void sendOutcomeUpdate() -
sendEnteredSystemUpdate
public void sendEnteredSystemUpdate()- Overrides:
sendEnteredSystemUpdate
in classRaidIntel
-
getName
-
addBulletPoints
- Overrides:
addBulletPoints
in classRaidIntel
-
getActionStage
- Overrides:
getActionStage
in classRaidIntel
-
createIntelInfo
- Specified by:
createIntelInfo
in interfaceIntelInfoPlugin
- Overrides:
createIntelInfo
in classRaidIntel
-
addInitialDescSection
-
createSmallDescription
- Specified by:
createSmallDescription
in interfaceIntelInfoPlugin
- Overrides:
createSmallDescription
in classRaidIntel
-
sendUpdateIfPlayerHasIntel
public void sendUpdateIfPlayerHasIntel(Object listInfoParam, boolean onlyIfImportant, boolean sendIfHidden) - Overrides:
sendUpdateIfPlayerHasIntel
in classBaseIntelPlugin
-
getIntelTags
Description copied from interface:IntelInfoPlugin
Method NEEDS to handle map being null gracefully.- Specified by:
getIntelTags
in interfaceIntelInfoPlugin
- Overrides:
getIntelTags
in classRaidIntel
- Returns:
-
notifyRaidEnded
- Specified by:
notifyRaidEnded
in interfaceRaidIntel.RaidDelegate
-
getIcon
Description copied from interface:IntelInfoPlugin
40x40, no icon if null.- Specified by:
getIcon
in interfaceIntelInfoPlugin
- Overrides:
getIcon
in classRaidIntel
- Returns:
-
getGoal
-
getTargetIndustry
-
getOutcome
-
setOutcome
-
spawnFleet
- Specified by:
spawnFleet
in interfaceRouteManager.RouteFleetSpawner
- Overrides:
spawnFleet
in classRaidIntel
-
createFleet
public CampaignFleetAPI createFleet(String factionId, RouteManager.RouteData route, MarketAPI market, org.lwjgl.util.vector.Vector2f locInHyper, Random random) - Overrides:
createFleet
in classRaidIntel
-
buttonPressConfirmed
- Specified by:
buttonPressConfirmed
in interfaceIntelInfoPlugin
- Overrides:
buttonPressConfirmed
in classBaseIntelPlugin
-
getBestReason
-
isTerritorial
public boolean isTerritorial() -
getMapLocation
- Specified by:
getMapLocation
in interfaceIntelInfoPlugin
- Overrides:
getMapLocation
in classRaidIntel
-