Class MapMarkerIntel
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.misc.FleetLogIntel
com.fs.starfarer.api.impl.campaign.intel.misc.MapMarkerIntel
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,CallEvent.CallableEvent
- Direct Known Subclasses:
CryosleeperIntel
,HypershuntIntel
,RemnantNexusIntel
,WormholeIntel
- Author:
- Alex
-
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 TypeFieldDescriptionstatic String
protected SectorEntityToken
protected String
protected SectorEntityToken
protected String
protected String
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.misc.FleetLogIntel
DEFAULT_DURATION, DISCOVERED_PARAM, duration, icon, iconId, keepExploredDebrisField, removeSurveyedPlanet, removeTrigger, sound
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
ConstructorsConstructorDescriptionMapMarkerIntel
(SectorEntityToken entity, String title, String text, String icon, boolean withDesc) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
addCustomDescription
(TooltipMakerAPI info, float width, float height) protected void
addCustomVisual
(TooltipMakerAPI info, float width, float height) protected void
addExtraBulletPoints
(TooltipMakerAPI info, Color tc, float initPad, IntelInfoPlugin.ListInfoMode mode) protected void
addPostDescriptionSection
(TooltipMakerAPI info, float width, float height, float opad) void
buttonPressConfirmed
(Object buttonId, IntelUIAPI ui) void
void
createSmallDescription
(TooltipMakerAPI info, float width, float height) boolean
doesButtonHaveConfirmDialog
(Object buttonId) protected boolean
endsInPunct
(String str, boolean forBulletPoint) getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.getName()
getText()
getTitle()
protected void
init
(SectorEntityToken entity, String title, String text, String icon, boolean withDesc) protected void
init
(SectorEntityToken entity, String title, String text, String icon, boolean withDesc, TextPanelAPI textPanel) boolean
boolean
boolean
static SectorEntityToken
void
void
setDiscoveredPrefixOverride
(String discoveredPrefixOverride) void
setEntity
(SectorEntityToken entity) void
void
void
setWithDeleteButton
(boolean withDeleteButton) void
setWithDesc
(boolean withDesc) void
setWithTimestamp
(boolean withTimestamp) boolean
protected boolean
protected boolean
protected boolean
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.misc.FleetLogIntel
getCommMessageSound, getIcon, getIconId, getKeepExploredDebrisField, getRemoveSurveyedPlanet, getRemoveTrigger, getSound, setDefaultExpiration, setDuration, setIcon, setIconId, setKeepExploredDebrisField, setRemoveSurveyedPlanet, setRemoveTrigger, setSound
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, advanceImpl, autoAddCampaignMessage, bullet, buttonPressCancelled, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, 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, notifyEnded, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, setTagsForSort, storyActionConfirmed, tableRowClicked, unindent
-
Field Details
-
BUTTON_EDIT
-
entity
-
copy
-
title
-
text
-
discoveredPrefixOverride
-
-
Constructor Details
-
MapMarkerIntel
public MapMarkerIntel() -
MapMarkerIntel
public MapMarkerIntel(SectorEntityToken entity, String title, String text, String icon, boolean withDesc)
-
-
Method Details
-
init
protected void init(SectorEntityToken entity, String title, String text, String icon, boolean withDesc) -
init
protected void init(SectorEntityToken entity, String title, String text, String icon, boolean withDesc, TextPanelAPI textPanel) -
reportRemovedIntel
public void reportRemovedIntel()- Specified by:
reportRemovedIntel
in interfaceIntelInfoPlugin
- Overrides:
reportRemovedIntel
in classBaseIntelPlugin
-
makeDoubleWithSameOrbit
-
getTitle
-
setTitle
-
getEntity
-
setEntity
-
getText
-
setText
-
isWithDesc
public boolean isWithDesc() -
setWithDesc
public void setWithDesc(boolean withDesc) -
createIntelInfo
- Specified by:
createIntelInfo
in interfaceIntelInfoPlugin
- Overrides:
createIntelInfo
in classBaseIntelPlugin
-
addBulletPoints
- Overrides:
addBulletPoints
in classBaseIntelPlugin
-
addExtraBulletPoints
protected void addExtraBulletPoints(TooltipMakerAPI info, Color tc, float initPad, IntelInfoPlugin.ListInfoMode mode) -
endsInPunct
-
withTextInDesc
protected boolean withTextInDesc() -
withCustomVisual
protected boolean withCustomVisual() -
withCustomDescription
protected boolean withCustomDescription() -
addCustomVisual
-
addCustomDescription
-
addPostDescriptionSection
protected void addPostDescriptionSection(TooltipMakerAPI info, float width, float height, float opad) -
isWithDeleteButton
public boolean isWithDeleteButton() -
setWithDeleteButton
public void setWithDeleteButton(boolean withDeleteButton) -
isWithTimestamp
public boolean isWithTimestamp() -
setWithTimestamp
public void setWithTimestamp(boolean withTimestamp) -
createSmallDescription
- Specified by:
createSmallDescription
in interfaceIntelInfoPlugin
- Overrides:
createSmallDescription
in classBaseIntelPlugin
-
buttonPressConfirmed
- Specified by:
buttonPressConfirmed
in interfaceIntelInfoPlugin
- Overrides:
buttonPressConfirmed
in classBaseIntelPlugin
-
doesButtonHaveConfirmDialog
- Specified by:
doesButtonHaveConfirmDialog
in interfaceIntelInfoPlugin
- Overrides:
doesButtonHaveConfirmDialog
in classBaseIntelPlugin
-
getIntelTags
Description copied from interface:IntelInfoPlugin
Method NEEDS to handle map being null gracefully.- Specified by:
getIntelTags
in interfaceIntelInfoPlugin
- Overrides:
getIntelTags
in classFleetLogIntel
- Returns:
-
getSortString
- Specified by:
getSortString
in interfaceIntelInfoPlugin
- Overrides:
getSortString
in classFleetLogIntel
-
getDiscoveredPrefixOverride
-
setDiscoveredPrefixOverride
-
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 classFleetLogIntel
-