Class HegemonyInspectionIntel
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.inspection.HegemonyInspectionIntel
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,RouteManager.RouteFleetSpawner
,RaidIntel.RaidDelegate
,CallEvent.CallableEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static interface
Nested 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 HIActionStage
static final String
static final Object
protected boolean
protected MarketAPI
protected int
static final Object
static final Object
protected Random
protected MarketAPI
protected FactionAPI
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
ConstructorsConstructorDescriptionHegemonyInspectionIntel
(MarketAPI from, MarketAPI target, float inspectionFP) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
advanceImpl
(float amount) void
applyRepPenalty
(float delta) void
buttonPressConfirmed
(Object buttonId, IntelUIAPI ui) createAssignmentAI
(CampaignFleetAPI fleet, RouteManager.RouteData route) void
void
createSmallDescription
(TooltipMakerAPI info, float width, float height) getFrom()
getIcon()
40x40, no icon if null.getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.int
getName()
boolean
void
void
notifyRaidEnded
(RaidIntel raid, RaidIntel.RaidStageStatus status) void
void
void
sendUpdateIfPlayerHasIntel
(Object listInfoParam, boolean onlyIfImportant, boolean sendIfHidden) void
setEnteredSystem
(boolean enteredSystem) void
setInvestedCredits
(int investedCredits) void
void
void
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel
addStage, addStandardStrengthComparisons, canMakeVisibleToPlayer, createFleet, 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, sendEnteredSystemUpdate, setExtraDays, shouldCancelRouteAfterDelayCheck, shouldRepeat, shouldSendUpdate, 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, 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_CHANGE_ORDERS
- See Also:
-
MADE_HOSTILE_UPDATE
-
ENTERED_SYSTEM_UPDATE
-
OUTCOME_UPDATE
-
action
-
orders
-
investedCredits
protected int investedCredits -
target
-
targetFaction
-
from
-
expectedCores
-
enteredSystem
protected boolean enteredSystem -
outcome
-
random
-
listener
-
targetOwner
-
repResult
-
-
Constructor Details
-
HegemonyInspectionIntel
-
-
Method Details
-
getListener
-
setListener
-
getRandom
-
getTarget
-
getFrom
-
createAssignmentAI
public RouteFleetAssignmentAI createAssignmentAI(CampaignFleetAPI fleet, RouteManager.RouteData route) - Overrides:
createAssignmentAI
in classRaidIntel
-
getOrders
-
setOrders
-
getExpectedCores
-
getInvestedCredits
public int getInvestedCredits() -
setInvestedCredits
public void setInvestedCredits(int investedCredits) -
isEnteredSystem
public boolean isEnteredSystem() -
setEnteredSystem
public void setEnteredSystem(boolean enteredSystem) -
getOutcome
-
setOutcome
-
advanceImpl
protected void advanceImpl(float amount) - Overrides:
advanceImpl
in classRaidIntel
-
makeHostileAndSendUpdate
public void makeHostileAndSendUpdate() -
sendInSystemUpdate
public void sendInSystemUpdate() -
applyRepPenalty
public void applyRepPenalty(float delta) -
sendOutcomeUpdate
public void sendOutcomeUpdate() -
getName
-
addBulletPoints
- Overrides:
addBulletPoints
in classRaidIntel
-
getActionStage
- Overrides:
getActionStage
in classRaidIntel
-
createIntelInfo
- Specified by:
createIntelInfo
in interfaceIntelInfoPlugin
- Overrides:
createIntelInfo
in classRaidIntel
-
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
-
buttonPressConfirmed
- Specified by:
buttonPressConfirmed
in interfaceIntelInfoPlugin
- Overrides:
buttonPressConfirmed
in classBaseIntelPlugin
-
getIcon
Description copied from interface:IntelInfoPlugin
40x40, no icon if null.- Specified by:
getIcon
in interfaceIntelInfoPlugin
- Overrides:
getIcon
in classRaidIntel
- Returns:
-
getMapLocation
- Specified by:
getMapLocation
in interfaceIntelInfoPlugin
- Overrides:
getMapLocation
in classRaidIntel
-