Class GenericRaidFGI
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
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,RouteManager.RouteFleetSpawner
,CallEvent.CallableEvent
- Direct Known Subclasses:
BlockadeFGI
,PerseanLeaguePunitiveExpedition
,SindrianDiktatPunitiveExpedition
,TTMercenaryAttack
,TTMercenaryReversedAttack
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static class
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 SectorEntityToken
protected GenericRaidFGI.GenericRaidParams
static String
static String
protected GenericRaidFGI.GenericPayloadAction
static String
protected FGTravelAction
static String
protected FGTravelAction
protected FGWaitAction
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
Constructors -
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
addNonUpdateBulletPoints
(TooltipMakerAPI info, Color tc, Object param, IntelInfoPlugin.ListInfoMode mode, float initPad) protected void
addPayloadActionStatus
(TooltipMakerAPI info, float width, float height, float opad) protected void
addPostAssessmentSection
(TooltipMakerAPI info, float width, float height, float opad) protected void
addStatusSection
(TooltipMakerAPI info, float width, float height, float opad) protected void
addTargetingBulletPoint
(TooltipMakerAPI info, Color tc, Object param, IntelInfoPlugin.ListInfoMode mode, float initPad) protected void
addUpdateBulletPoints
(TooltipMakerAPI info, Color tc, Object param, IntelInfoPlugin.ListInfoMode mode, float initPad) protected void
configureFleet
(int size, CampaignFleetAPI fleet) protected void
configureFleet
(int size, FleetCreatorMission m) protected CampaignFleetAPI
createFleet
(int size, float damage) protected GenericRaidFGI.GenericPayloadAction
void
doCustomRaidAction
(CampaignFleetAPI fleet, MarketAPI market, float raidStr) static GenericRaidFGI
getArrowData
(SectorMapAPI map) protected String
protected String
protected SectorEntityToken
protected String
getFleetCreationFactionOverride
(int size) getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.getNoun()
protected SectorEntityToken
protected StarSystemAPI
boolean
protected void
boolean
isFailed()
boolean
boolean
protected void
protected void
preConfigureFleet
(int size, FleetCreatorMission m) void
void
setOrigin
(SectorEntityToken origin) protected boolean
protected void
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.group.FleetGroupIntel
abort, addAction, addAction, addArrivedBulletPoint, addBulletPoints, addETABulletPoints, addFactionBulletPoint, addStrengthDesc, addStrengthDesc, advance, 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
-
PREPARE_ACTION
-
TRAVEL_ACTION
-
PAYLOAD_ACTION
-
RETURN_ACTION
-
params
-
origin
-
raidAction
-
travelAction
-
returnAction
-
waitAction
-
-
Constructor Details
-
GenericRaidFGI
-
-
Method Details
-
get
-
notifyEnding
protected void notifyEnding()- Overrides:
notifyEnding
in classBaseIntelPlugin
-
initActions
protected void initActions() -
createPayloadAction
-
spawnFleets
protected void spawnFleets()- Specified by:
spawnFleets
in classFleetGroupIntel
-
createFleet
-
getFleetCreationFactionOverride
-
preConfigureFleet
-
configureFleet
-
configureFleet
-
addTargetingBulletPoint
protected void addTargetingBulletPoint(TooltipMakerAPI info, Color tc, Object param, IntelInfoPlugin.ListInfoMode mode, float initPad) -
addNonUpdateBulletPoints
protected void addNonUpdateBulletPoints(TooltipMakerAPI info, Color tc, Object param, IntelInfoPlugin.ListInfoMode mode, float initPad) - Specified by:
addNonUpdateBulletPoints
in classFleetGroupIntel
-
addUpdateBulletPoints
protected void addUpdateBulletPoints(TooltipMakerAPI info, Color tc, Object param, IntelInfoPlugin.ListInfoMode mode, float initPad) - Specified by:
addUpdateBulletPoints
in classFleetGroupIntel
-
shouldSendIntelUpdateWhenActionFinished
- Overrides:
shouldSendIntelUpdateWhenActionFinished
in classFleetGroupIntel
-
addBasicDescription
- Overrides:
addBasicDescription
in classFleetGroupIntel
-
addAssessmentSection
- Overrides:
addAssessmentSection
in classFleetGroupIntel
-
addPostAssessmentSection
protected void addPostAssessmentSection(TooltipMakerAPI info, float width, float height, float opad) -
getAssessmentRiskStringOverride
-
getAssessmentRiskStringHighlightOverride
-
addPayloadActionStatus
-
addStatusSection
- Overrides:
addStatusSection
in classFleetGroupIntel
-
getNoun
-
getForcesNoun
-
getBaseName
- Specified by:
getBaseName
in classFleetGroupIntel
-
isSucceeded
public boolean isSucceeded()- Overrides:
isSucceeded
in classFleetGroupIntel
-
isFailed
public boolean isFailed()- Overrides:
isFailed
in classFleetGroupIntel
-
getSource
- Specified by:
getSource
in classFleetGroupIntel
-
getDestination
- Specified by:
getDestination
in classFleetGroupIntel
-
getTargetSystem
-
getRaidAction
-
getTravelAction
-
getReturnAction
-
getWaitAction
-
getCommMessageSound
- Specified by:
getCommMessageSound
in interfaceIntelInfoPlugin
- Overrides:
getCommMessageSound
in classFleetGroupIntel
-
isPlayerTargeted
public boolean isPlayerTargeted()- Specified by:
isPlayerTargeted
in classFleetGroupIntel
-
getIntelTags
Description copied from interface:IntelInfoPlugin
Method NEEDS to handle map being null gracefully.- Specified by:
getIntelTags
in interfaceIntelInfoPlugin
- Overrides:
getIntelTags
in classFleetGroupIntel
- Returns:
-
getArrowData
- Specified by:
getArrowData
in interfaceIntelInfoPlugin
- Overrides:
getArrowData
in classFleetGroupIntel
-
getParams
-
setOrigin
-
getMapLocation
- Specified by:
getMapLocation
in interfaceIntelInfoPlugin
- Overrides:
getMapLocation
in classFleetGroupIntel
-
hasCustomRaidAction
public boolean hasCustomRaidAction() -
doCustomRaidAction
-
setFleetCreatorQualityFromRoute
-