Class HyperspaceTopographyEventIntel
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.events.BaseEventIntel
com.fs.starfarer.api.impl.campaign.intel.events.ht.HyperspaceTopographyEventIntel
- All Implemented Interfaces:
IntelInfoPlugin
,CharacterStatsRefreshListener
,CurrentLocationChangedListener
,EconomyTickListener
,FleetEventListener
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,CallEvent.CallableEvent
public class HyperspaceTopographyEventIntel
extends BaseEventIntel
implements FleetEventListener, CharacterStatsRefreshListener, CurrentLocationChangedListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
Nested classes/interfaces inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseEventIntel
BaseEventIntel.EventStageData, BaseEventIntel.EventStageDisplayData, BaseEventIntel.RandomizedStageType, BaseEventIntel.StageIconSize
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 Color
static float
static float
static String
static int
static int
static int
static int
static int
static int
static int
static float
static float
static float
static float
static float
static float
static float
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseEventIntel
addingFactorDialog, factors, maxProgress, prevProgressDeltaWasPositive, progress, progressDeltaRemainder, random, RANDOM_EVENT_NONE, sortTier, stages, uiWidth
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
ConstructorsConstructorDescriptionHyperspaceTopographyEventIntel
(TextPanelAPI text, boolean withIntelNotification) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAbility
(String id) protected void
addBulletPoints
(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, Color tc, float initPad) static void
addFactorCreateIfNecessary
(EventFactor factor, InteractionDialogAPI dialog) void
addRecentReadings
(org.lwjgl.util.vector.Vector2f loc) void
addStageDesc
(TooltipMakerAPI info, Object stageId, float initPad, boolean forTooltip) void
addStageDescriptionText
(TooltipMakerAPI info, float width, Object stageId) protected void
advanceImpl
(float amount) void
float
gerSensorArrayBonusFor
(MarketAPI market, float range) get()
getIcon()
40x40, no icon if null.float
getImageIndentForStageDesc
(Object stageId) float
getImageSizeForStageDesc
(Object stageId) getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.protected String
getName()
protected String
protected String
getSoundForStageReachedUpdate
(Object stageId) protected String
getStageIconImpl
(Object stageId) protected int
getStageImportance
(Object stageId) getStageTooltipImpl
(Object stageId) int
int
boolean
hasRecentReadingsNear
(org.lwjgl.util.vector.Vector2f loc) static boolean
protected void
protected void
protected void
protected Object
void
void
reportBattleOccurred
(CampaignFleetAPI fleet, CampaignFleetAPI primaryWinner, BattleAPI battle) "fleet" will be null if the listener is registered with the ListenerManager, and non-null if the listener is added directly to a fleet.void
reportCurrentLocationChanged
(LocationAPI prev, LocationAPI curr) void
reportFleetDespawnedToListener
(CampaignFleetAPI fleet, CampaignEventListener.FleetDespawnReason reason, Object param) void
void
protected void
setup()
void
boolean
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseEventIntel
addEventFactorBulletPoints, addFactor, addFactor, addStage, addStage, addStage, addStage, addStageDescriptionWithImage, afterStageDescriptions, createDisplayData, createIntelInfo, createLargeDescription, getBarBracketColor, getBarHeight, getBarProgressIndicatorHeight, getBarProgressIndicatorLabelColor, getBarProgressIndicatorWidth, getBarTooltip, getBarWidth, getBaseStageColor, getCommMessageSound, getDarkStageColor, getDataFor, getFactorOfClass, getFactors, getLastActiveStage, getMaxMonthlyProgress, getMaxProgress, getMonthlyProgress, getProgress, getProgressColor, getProgressFraction, getRandom, getRequiredProgress, getSortTier, getSoundForOtherUpdate, getStageColor, getStageDownLineLength, getStageIcon, getStageIconColor, getStageIconSize, getStageLabel, getStageLabelColor, getStages, getStageTooltip, getTextPanelForStageChange, hasLargeDescription, hasSmallDescription, isEventProgressANegativeThingForThePlayer, isStageActive, isStageActiveAndLast, isStageActiveAndLast, isStageOrOneOffEventReached, putBarProgressIndicatorLabelOnRight, removeFactor, removeFactorOfClass, reportEconomyMonthEnd, reportEconomyTick, resetRandomizedStage, rollRandomizedStage, setHideStageWhenPastIt, setMaxProgress, setProgress, setRandom, setRandomized, setRandomized, setSortTier, withOneTimeFactors
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, buttonPressConfirmed, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createSmallDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getFactionForUIColors, getImportantIcon, getListInfoParam, getMapLocation, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSmallDescriptionTitle, getSortString, getSortStringNewestFirst, getSortStringNewestFirst, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, 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
-
BAR_COLOR
-
PROGRESS_MAX
public static int PROGRESS_MAX -
PROGRESS_1
public static int PROGRESS_1 -
PROGRESS_2
public static int PROGRESS_2 -
PROGRESS_3
public static int PROGRESS_3 -
PROGRESS_4
public static int PROGRESS_4 -
PROGRESS_5
public static int PROGRESS_5 -
BASE_DETECTION_RANGE_LY
public static float BASE_DETECTION_RANGE_LY -
RANGE_WITHIN_WHICH_SENSOR_ARRAYS_HELP_LY
public static float RANGE_WITHIN_WHICH_SENSOR_ARRAYS_HELP_LY -
RANGE_PER_DOMAIN_SENSOR_ARRAY
public static float RANGE_PER_DOMAIN_SENSOR_ARRAY -
RANGE_PER_MAKESHIFT_SENSOR_ARRAY
public static float RANGE_PER_MAKESHIFT_SENSOR_ARRAY -
MAX_SENSOR_ARRAYS
public static int MAX_SENSOR_ARRAYS -
WAYSTATION_BONUS
public static float WAYSTATION_BONUS -
SLIPSTREAM_FUEL_MULT
public static float SLIPSTREAM_FUEL_MULT -
HYPER_BURN_BONUS
public static float HYPER_BURN_BONUS -
KEY
-
RECENT_READINGS_TIMEOUT
public static float RECENT_READINGS_TIMEOUT -
RECENT_READINGS_RANGE_LY
public static float RECENT_READINGS_RANGE_LY -
recent
-
-
Constructor Details
-
HyperspaceTopographyEventIntel
-
-
Method Details
-
addFactorCreateIfNecessary
-
get
-
setup
protected void setup() -
readResolve
-
notifyEnding
protected void notifyEnding()- Overrides:
notifyEnding
in classBaseEventIntel
-
notifyEnded
protected void notifyEnded()- Overrides:
notifyEnded
in classBaseEventIntel
-
addBulletPoints
protected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, Color tc, float initPad) - Overrides:
addBulletPoints
in classBaseIntelPlugin
-
getImageSizeForStageDesc
- Overrides:
getImageSizeForStageDesc
in classBaseEventIntel
-
getImageIndentForStageDesc
- Overrides:
getImageIndentForStageDesc
in classBaseEventIntel
-
addStageDescriptionText
- Overrides:
addStageDescriptionText
in classBaseEventIntel
-
addStageDesc
-
getStageTooltipImpl
- Overrides:
getStageTooltipImpl
in classBaseEventIntel
-
getIcon
Description copied from interface:IntelInfoPlugin
40x40, no icon if null.- Specified by:
getIcon
in interfaceIntelInfoPlugin
- Overrides:
getIcon
in classBaseIntelPlugin
- Returns:
-
getStageIconImpl
- Overrides:
getStageIconImpl
in classBaseEventIntel
-
getBarColor
- Overrides:
getBarColor
in classBaseEventIntel
-
getBarProgressIndicatorColor
- Overrides:
getBarProgressIndicatorColor
in classBaseEventIntel
-
getStageImportance
- Overrides:
getStageImportance
in classBaseEventIntel
-
getName
- Overrides:
getName
in classBaseIntelPlugin
-
reportFleetDespawnedToListener
public void reportFleetDespawnedToListener(CampaignFleetAPI fleet, CampaignEventListener.FleetDespawnReason reason, Object param) - Specified by:
reportFleetDespawnedToListener
in interfaceFleetEventListener
-
reportBattleOccurred
public void reportBattleOccurred(CampaignFleetAPI fleet, CampaignFleetAPI primaryWinner, BattleAPI battle) Description copied from interface:FleetEventListener
"fleet" will be null if the listener is registered with the ListenerManager, and non-null if the listener is added directly to a fleet.- Specified by:
reportBattleOccurred
in interfaceFleetEventListener
-
getTopoResetMin
public int getTopoResetMin() -
getTopoResetMax
public int getTopoResetMax() -
resetTopographicData
public void resetTopographicData() -
getIntelTags
Description copied from interface:IntelInfoPlugin
Method NEEDS to handle map being null gracefully.- Specified by:
getIntelTags
in interfaceIntelInfoPlugin
- Overrides:
getIntelTags
in classBaseEventIntel
- Returns:
-
advanceImpl
protected void advanceImpl(float amount) - Overrides:
advanceImpl
in classBaseEventIntel
-
addAbility
-
notifyStageReached
- Overrides:
notifyStageReached
in classBaseEventIntel
-
reportCurrentLocationChanged
- Specified by:
reportCurrentLocationChanged
in interfaceCurrentLocationChangedListener
-
reportAboutToRefreshCharacterStatEffects
public void reportAboutToRefreshCharacterStatEffects()- Specified by:
reportAboutToRefreshCharacterStatEffects
in interfaceCharacterStatsRefreshListener
-
reportRefreshedCharacterStatEffects
public void reportRefreshedCharacterStatEffects()- Specified by:
reportRefreshedCharacterStatEffects
in interfaceCharacterStatsRefreshListener
-
applyFleetEffects
public void applyFleetEffects() -
updateMarketDetectionRanges
public void updateMarketDetectionRanges() -
gerSensorArrayBonusFor
-
withMonthlyFactors
public boolean withMonthlyFactors()- Overrides:
withMonthlyFactors
in classBaseEventIntel
-
addRecentReadings
public void addRecentReadings(org.lwjgl.util.vector.Vector2f loc) -
hasRecentReadingsNearPlayer
public static boolean hasRecentReadingsNearPlayer() -
hasRecentReadingsNear
public boolean hasRecentReadingsNear(org.lwjgl.util.vector.Vector2f loc) -
getSoundForStageReachedUpdate
- Overrides:
getSoundForStageReachedUpdate
in classBaseEventIntel
-
getSoundForOneTimeFactorUpdate
- Overrides:
getSoundForOneTimeFactorUpdate
in classBaseEventIntel
-