Class BlockadeFGI
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.group.FleetGroupIntel
com.fs.starfarer.api.impl.campaign.intel.group.GenericRaidFGI
com.fs.starfarer.api.impl.campaign.intel.group.BlockadeFGI
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,RouteManager.RouteFleetSpawner
,CallEvent.CallableEvent
- Direct Known Subclasses:
KnightsOfLuddTakeoverExpedition
,PerseanLeagueBlockade
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fs.starfarer.api.impl.campaign.intel.group.GenericRaidFGI
GenericRaidFGI.GenericPayloadAction, GenericRaidFGI.GenericRaidParams
Nested classes/interfaces inherited from class com.fs.starfarer.api.impl.campaign.intel.group.FleetGroupIntel
FleetGroupIntel.ETAType, FleetGroupIntel.FGIEventListener
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 FGBlockadeAction.FGBlockadeParams
protected IntervalUtil
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.group.GenericRaidFGI
origin, params, PAYLOAD_ACTION, PREPARE_ACTION, raidAction, RETURN_ACTION, returnAction, TRAVEL_ACTION, travelAction, waitAction
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.group.FleetGroupIntel
ABORT_UPDATE, aborted, actions, approximateNumberOfFleets, DEBUG, doIncrementalSpawn, elapsed, faction, failedButNotDefeated, FLEET_LAUNCH_UPDATE, fleetAbortsMissionFPFraction, fleets, groupAbortsMissionFPFraction, KEY_POTENTIAL_STRAGGLER, KEY_SPAWN_FP, KEY_STRAGGLER_RETURN_COUNTDOWN, listener, NEVER_STRAGGLER, prevSegment, random, returnLocation, route, sendFleetLaunchUpdate, sourceWasEverMilitaryMarket, spawnDelay, spawnedFleets, spawning, spawnLocation, totalFPSpawned
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
ConstructorsConstructorDescriptionBlockadeFGI
(GenericRaidFGI.GenericRaidParams params, FGBlockadeAction.FGBlockadeParams blockadeParams) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAssessmentSection
(TooltipMakerAPI info, float width, float height, float opad) protected void
addBasicDescription
(TooltipMakerAPI info, float width, float height, float opad) protected void
addPostAssessmentSection
(TooltipMakerAPI info, float width, float height, float opad) void
advance
(float amount) Use SectorAPI.getClock() to convert to campaign days.protected void
protected GenericRaidFGI.GenericPayloadAction
float
protected String
protected void
protected void
protected void
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.group.GenericRaidFGI
addNonUpdateBulletPoints, addPayloadActionStatus, addStatusSection, addTargetingBulletPoint, addUpdateBulletPoints, configureFleet, configureFleet, createFleet, doCustomRaidAction, get, getArrowData, getAssessmentRiskStringHighlightOverride, getAssessmentRiskStringOverride, getBaseName, getCommMessageSound, getDestination, getFleetCreationFactionOverride, getForcesNoun, getIntelTags, getMapLocation, getNoun, getParams, getRaidAction, getReturnAction, getSource, getTargetSystem, getTravelAction, getWaitAction, hasCustomRaidAction, initActions, isFailed, isPlayerTargeted, isSucceeded, preConfigureFleet, setFleetCreatorQualityFromRoute, setOrigin, shouldSendIntelUpdateWhenActionFinished, spawnFleets
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.group.FleetGroupIntel
abort, addAction, addAction, addArrivedBulletPoint, addBulletPoints, addETABulletPoints, addFactionBulletPoint, addStrengthDesc, addStrengthDesc, checkStragglers, computeSampleFleetStrengths, createIntelInfo, createRoute, createRoute, createSmallDescription, finish, getAction, getActions, getApproximateNumberOfFleets, getApproximateStrengthForTotalDifficultyPoints, getCurrentAction, getDelayRemaining, getElapsed, getETAUntil, getETAUntil, getFaction, getFactionForUIColors, getFailurePostfix, getFleetAbortsMissionFPFraction, getFleets, getGroupAbortsMissionFPFraction, getIcon, getListener, getLocation, getLocationForState, getName, getNameWithNoType, getPotentialStragglerCountdownDays, getRandom, getRelativeFGStrength, getReturnLocation, getRoute, getSegmentForAction, getSmallDescriptionTitle, getSortString, getSortTier, getSuccessPostfix, getTotalFPSpawned, getTravelState, giveFleetsReturnAssignments, giveReturnAssignments, handleIncrementalSpawning, isAborted, isCurrent, isDoIncrementalSpawn, isFailedButNotDefeated, isInPreLaunchDelay, isSourceFunctionalMilitaryMarket, isSpawnedFleets, isSpawning, notifyActionFinished, notifyEnded, pruneDestroyedOrDamagedFleetsAndAbortIfNeeded, readResolve, removeAction, reportAboutToBeDespawnedByRouteManager, setApproximateNumberOfFleets, setDoIncrementalSpawn, setElapsed, setFaction, setFaction, setFailedButNotDefeated, setFleetAbortsMissionFPFraction, setGroupAbortsMissionFPFraction, setListener, setLocationAndCoordinates, setNeverStraggler, setPreFleetDeploymentDelay, setRandom, setReturnLocation, setRoute, setSpawnedFleets, setTotalFPSpawned, shouldAbort, shouldCancelRouteAfterDelayCheck, shouldRepeat, showMarketsInDanger, spawnFleet
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, advanceImpl, autoAddCampaignMessage, bullet, buttonPressCancelled, buttonPressConfirmed, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, 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, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, setTagsForSort, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindent
-
Field Details
-
blockadeParams
-
interval
-
-
Constructor Details
-
BlockadeFGI
public BlockadeFGI(GenericRaidFGI.GenericRaidParams params, FGBlockadeAction.FGBlockadeParams blockadeParams)
-
-
Method Details
-
createPayloadAction
- Overrides:
createPayloadAction
in classGenericRaidFGI
-
getAccessibilityPenalty
public float getAccessibilityPenalty() -
advance
public void advance(float amount) Description copied from interface:EveryFrameScript
Use SectorAPI.getClock() to convert to campaign days.- Specified by:
advance
in interfaceEveryFrameScript
- Overrides:
advance
in classFleetGroupIntel
- Parameters:
amount
- seconds elapsed during the last frame.
-
periodicUpdate
protected void periodicUpdate() -
applyBlockadeCondition
protected void applyBlockadeCondition() -
unapplyBlockadeCondition
protected void unapplyBlockadeCondition() -
notifyEnding
protected void notifyEnding()- Overrides:
notifyEnding
in classGenericRaidFGI
-
addBasicDescription
- Overrides:
addBasicDescription
in classGenericRaidFGI
-
getOfString
-
addAssessmentSection
- Overrides:
addAssessmentSection
in classGenericRaidFGI
-
addPostAssessmentSection
protected void addPostAssessmentSection(TooltipMakerAPI info, float width, float height, float opad) - Overrides:
addPostAssessmentSection
in classGenericRaidFGI
-
getBlockadeParams
-