Class CommSnifferIntel
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.misc.CommSnifferIntel
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,CallEvent.CallableEvent
-
Nested Class Summary
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 IntervalUtil
protected SectorEntityToken
static final String
protected Boolean
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
protected void
advanceImpl
(float amount) void
buttonPressConfirmed
(Object buttonId, IntelUIAPI ui) void
createConfirmationPrompt
(Object buttonId, TooltipMakerAPI prompt) void
void
createSmallDescription
(TooltipMakerAPI info, float width, float height) boolean
doesButtonHaveConfirmDialog
(Object buttonId) protected float
protected float
static CommSnifferIntel
getIcon()
40x40, no icon if null.getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.protected float
getMax()
getName()
getRelay()
protected void
boolean
void
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, canMakeVisibleToPlayer, canTurnImportantOff, createDeleteConfirmationPrompt, createLargeDescription, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortStringNewestFirst, getSortStringNewestFirst, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, setTagsForSort, storyActionConfirmed, tableRowClicked, unindent
-
Field Details
-
UNINSTALL
- See Also:
-
relay
-
check
-
uninstalled
-
-
Constructor Details
-
CommSnifferIntel
-
-
Method Details
-
getExistingSnifferIntelForRelay
-
notifyEnded
protected void notifyEnded()- Overrides:
notifyEnded
in classBaseIntelPlugin
-
advanceImpl
protected void advanceImpl(float amount) - Overrides:
advanceImpl
in classBaseIntelPlugin
-
getRelay
-
addBulletPoints
- Overrides:
addBulletPoints
in classBaseIntelPlugin
-
getMax
protected float getMax() -
getBaseLoseProb
protected float getBaseLoseProb() -
getCurrLoseProb
protected float getCurrLoseProb() -
createIntelInfo
- Specified by:
createIntelInfo
in interfaceIntelInfoPlugin
- Overrides:
createIntelInfo
in classBaseIntelPlugin
-
createSmallDescription
- Specified by:
createSmallDescription
in interfaceIntelInfoPlugin
- Overrides:
createSmallDescription
in classBaseIntelPlugin
-
uninstall
public void uninstall() -
buttonPressConfirmed
- Specified by:
buttonPressConfirmed
in interfaceIntelInfoPlugin
- Overrides:
buttonPressConfirmed
in classBaseIntelPlugin
-
createConfirmationPrompt
- Specified by:
createConfirmationPrompt
in interfaceIntelInfoPlugin
- Overrides:
createConfirmationPrompt
in classBaseIntelPlugin
-
doesButtonHaveConfirmDialog
- Specified by:
doesButtonHaveConfirmDialog
in interfaceIntelInfoPlugin
- Overrides:
doesButtonHaveConfirmDialog
in classBaseIntelPlugin
-
getIcon
Description copied from interface:IntelInfoPlugin
40x40, no icon if null.- Specified by:
getIcon
in interfaceIntelInfoPlugin
- Overrides:
getIcon
in classBaseIntelPlugin
- Returns:
-
getIntelTags
Description copied from interface:IntelInfoPlugin
Method NEEDS to handle map being null gracefully.- Specified by:
getIntelTags
in interfaceIntelInfoPlugin
- Overrides:
getIntelTags
in classBaseIntelPlugin
- Returns:
-
getSortString
- Specified by:
getSortString
in interfaceIntelInfoPlugin
- Overrides:
getSortString
in classBaseIntelPlugin
-
getName
- Overrides:
getName
in classBaseIntelPlugin
-
getFactionForUIColors
- Specified by:
getFactionForUIColors
in interfaceIntelInfoPlugin
- Overrides:
getFactionForUIColors
in classBaseIntelPlugin
-
getSmallDescriptionTitle
- Specified by:
getSmallDescriptionTitle
in interfaceIntelInfoPlugin
- Overrides:
getSmallDescriptionTitle
in classBaseIntelPlugin
-
getMapLocation
- Specified by:
getMapLocation
in interfaceIntelInfoPlugin
- Overrides:
getMapLocation
in classBaseIntelPlugin
-
shouldRemoveIntel
public boolean shouldRemoveIntel()- Specified by:
shouldRemoveIntel
in interfaceIntelInfoPlugin
- Overrides:
shouldRemoveIntel
in classBaseIntelPlugin
-
getCommMessageSound
- Specified by:
getCommMessageSound
in interfaceIntelInfoPlugin
- Overrides:
getCommMessageSound
in classBaseIntelPlugin
-