Class BaseBarEventIntel
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.bar.events.BaseBarEventIntel
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,PortsideBarEvent
,CallEvent.CallableEvent
Unused.
- Author:
- Alex Mosolov Copyright 2018 Fractal Softworks, LLC
-
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
FieldsFields 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 TypeMethodDescriptionvoid
addPromptAndOption
(InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap) void
advance
(float amount) Use SectorAPI.getClock() to convert to campaign days.boolean
void
init
(InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap) boolean
boolean
void
optionSelected
(String optionText, Object optionData) boolean
boolean
shouldShowAtMarket
(MarketAPI market) void
wasShownAtMarket
(MarketAPI market) Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
addBulletPoints, 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, createIntelInfo, createLargeDescription, createSmallDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getFactionForUIColors, getIcon, getImportantIcon, getIntelTags, getListInfoParam, getMapLocation, getName, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSmallDescriptionTitle, getSortString, getSortStringNewestFirst, getSortStringNewestFirst, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnded, notifyEnding, 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
-
dialog
-
-
Constructor Details
-
BaseBarEventIntel
public BaseBarEventIntel()
-
-
Method Details
-
init
- Specified by:
init
in interfacePortsideBarEvent
-
endWithContinue
public boolean endWithContinue()- Specified by:
endWithContinue
in interfacePortsideBarEvent
-
isDialogFinished
public boolean isDialogFinished()- Specified by:
isDialogFinished
in interfacePortsideBarEvent
-
optionSelected
- Specified by:
optionSelected
in interfacePortsideBarEvent
-
advance
public void advance(float amount) Description copied from interface:EveryFrameScript
Use SectorAPI.getClock() to convert to campaign days.- Specified by:
advance
in interfaceEveryFrameScript
- Specified by:
advance
in interfacePortsideBarEvent
- Overrides:
advance
in classBaseIntelPlugin
- Parameters:
amount
- seconds elapsed during the last frame.
-
shouldRemoveEvent
public boolean shouldRemoveEvent()- Specified by:
shouldRemoveEvent
in interfacePortsideBarEvent
-
shouldShowAtMarket
- Specified by:
shouldShowAtMarket
in interfacePortsideBarEvent
-
addPromptAndOption
- Specified by:
addPromptAndOption
in interfacePortsideBarEvent
-
wasShownAtMarket
- Specified by:
wasShownAtMarket
in interfacePortsideBarEvent
-
getBarEventId
- Specified by:
getBarEventId
in interfacePortsideBarEvent
-
isAlwaysShow
public boolean isAlwaysShow()- Specified by:
isAlwaysShow
in interfacePortsideBarEvent
-