public class HyperspaceTopographyEventIntel extends BaseEventIntel implements FleetEventListener, CharacterStatsRefreshListener, CurrentLocationChangedListener
| Modifier and Type | Class and Description |
|---|---|
static class |
HyperspaceTopographyEventIntel.RecentTopographyReadings |
static class |
HyperspaceTopographyEventIntel.Stage |
BaseEventIntel.EventStageData, BaseEventIntel.EventStageDisplayData, BaseEventIntel.RandomizedStageType, BaseEventIntel.StageIconSizeIntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData| Modifier and Type | Field and Description |
|---|---|
static java.awt.Color |
BAR_COLOR |
static float |
BASE_DETECTION_RANGE_LY |
static float |
HYPER_BURN_BONUS |
static java.lang.String |
KEY |
static int |
MAX_SENSOR_ARRAYS |
static int |
PROGRESS_1 |
static int |
PROGRESS_2 |
static int |
PROGRESS_3 |
static int |
PROGRESS_4 |
static int |
PROGRESS_5 |
static int |
PROGRESS_MAX |
static float |
RANGE_PER_DOMAIN_SENSOR_ARRAY |
static float |
RANGE_PER_MAKESHIFT_SENSOR_ARRAY |
static float |
RANGE_WITHIN_WHICH_SENSOR_ARRAYS_HELP_LY |
protected TimeoutTracker<HyperspaceTopographyEventIntel.RecentTopographyReadings> |
recent |
static float |
RECENT_READINGS_RANGE_LY |
static float |
RECENT_READINGS_TIMEOUT |
static float |
SLIPSTREAM_FUEL_MULT |
static float |
WAYSTATION_BONUS |
addingFactorDialog, factors, maxProgress, prevProgressDeltaWasPositive, progress, progressDeltaRemainder, random, RANDOM_EVENT_NONE, sortTier, stages, uiWidthBULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestampLIST_ITEM_TEXT_WIDTH, NEW_DAYS| Constructor and Description |
|---|
HyperspaceTopographyEventIntel(TextPanelAPI text,
boolean withIntelNotification) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAbility(java.lang.String id) |
protected void |
addBulletPoints(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode,
boolean isUpdate,
java.awt.Color tc,
float initPad) |
static void |
addFactorCreateIfNecessary(EventFactor factor,
InteractionDialogAPI dialog) |
void |
addRecentReadings(org.lwjgl.util.vector.Vector2f loc) |
void |
addStageDesc(TooltipMakerAPI info,
java.lang.Object stageId,
float initPad,
boolean forTooltip) |
void |
addStageDescriptionText(TooltipMakerAPI info,
float width,
java.lang.Object stageId) |
protected void |
advanceImpl(float amount) |
void |
applyFleetEffects() |
float |
gerSensorArrayBonusFor(MarketAPI market,
float range) |
static HyperspaceTopographyEventIntel |
get() |
java.awt.Color |
getBarColor() |
java.awt.Color |
getBarProgressIndicatorColor() |
java.lang.String |
getIcon()
40x40, no icon if null.
|
float |
getImageIndentForStageDesc(java.lang.Object stageId) |
float |
getImageSizeForStageDesc(java.lang.Object stageId) |
java.util.Set<java.lang.String> |
getIntelTags(SectorMapAPI map)
Method NEEDS to handle map being null gracefully.
|
protected java.lang.String |
getName() |
protected java.lang.String |
getSoundForOneTimeFactorUpdate(EventFactor factor) |
protected java.lang.String |
getSoundForStageReachedUpdate(java.lang.Object stageId) |
protected java.lang.String |
getStageIconImpl(java.lang.Object stageId) |
protected int |
getStageImportance(java.lang.Object stageId) |
TooltipMakerAPI.TooltipCreator |
getStageTooltipImpl(java.lang.Object stageId) |
int |
getTopoResetMax() |
int |
getTopoResetMin() |
boolean |
hasRecentReadingsNear(org.lwjgl.util.vector.Vector2f loc) |
static boolean |
hasRecentReadingsNearPlayer() |
protected void |
notifyEnded() |
protected void |
notifyEnding() |
protected void |
notifyStageReached(BaseEventIntel.EventStageData stage) |
protected java.lang.Object |
readResolve() |
void |
reportAboutToRefreshCharacterStatEffects() |
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,
java.lang.Object param) |
void |
reportRefreshedCharacterStatEffects() |
void |
resetTopographicData() |
protected void |
setup() |
void |
updateMarketDetectionRanges() |
boolean |
withMonthlyFactors() |
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, withOneTimeFactorsaddBulletPoints, 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, unindentpublic static java.awt.Color BAR_COLOR
public static int PROGRESS_MAX
public static int PROGRESS_1
public static int PROGRESS_2
public static int PROGRESS_3
public static int PROGRESS_4
public static int PROGRESS_5
public static float BASE_DETECTION_RANGE_LY
public static float RANGE_WITHIN_WHICH_SENSOR_ARRAYS_HELP_LY
public static float RANGE_PER_DOMAIN_SENSOR_ARRAY
public static float RANGE_PER_MAKESHIFT_SENSOR_ARRAY
public static int MAX_SENSOR_ARRAYS
public static float WAYSTATION_BONUS
public static float SLIPSTREAM_FUEL_MULT
public static float HYPER_BURN_BONUS
public static java.lang.String KEY
public static float RECENT_READINGS_TIMEOUT
public static float RECENT_READINGS_RANGE_LY
protected TimeoutTracker<HyperspaceTopographyEventIntel.RecentTopographyReadings> recent
public HyperspaceTopographyEventIntel(TextPanelAPI text, boolean withIntelNotification)
public static void addFactorCreateIfNecessary(EventFactor factor, InteractionDialogAPI dialog)
public static HyperspaceTopographyEventIntel get()
protected void setup()
protected java.lang.Object readResolve()
protected void notifyEnding()
notifyEnding in class BaseEventIntelprotected void notifyEnded()
notifyEnded in class BaseEventIntelprotected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, java.awt.Color tc, float initPad)
addBulletPoints in class BaseIntelPluginpublic float getImageSizeForStageDesc(java.lang.Object stageId)
getImageSizeForStageDesc in class BaseEventIntelpublic float getImageIndentForStageDesc(java.lang.Object stageId)
getImageIndentForStageDesc in class BaseEventIntelpublic void addStageDescriptionText(TooltipMakerAPI info, float width, java.lang.Object stageId)
addStageDescriptionText in class BaseEventIntelpublic void addStageDesc(TooltipMakerAPI info, java.lang.Object stageId, float initPad, boolean forTooltip)
public TooltipMakerAPI.TooltipCreator getStageTooltipImpl(java.lang.Object stageId)
getStageTooltipImpl in class BaseEventIntelpublic java.lang.String getIcon()
IntelInfoPlugingetIcon in interface IntelInfoPlugingetIcon in class BaseIntelPluginprotected java.lang.String getStageIconImpl(java.lang.Object stageId)
getStageIconImpl in class BaseEventIntelpublic java.awt.Color getBarColor()
getBarColor in class BaseEventIntelpublic java.awt.Color getBarProgressIndicatorColor()
getBarProgressIndicatorColor in class BaseEventIntelprotected int getStageImportance(java.lang.Object stageId)
getStageImportance in class BaseEventIntelprotected java.lang.String getName()
getName in class BaseIntelPluginpublic void reportFleetDespawnedToListener(CampaignFleetAPI fleet, CampaignEventListener.FleetDespawnReason reason, java.lang.Object param)
reportFleetDespawnedToListener in interface FleetEventListenerpublic void reportBattleOccurred(CampaignFleetAPI fleet, CampaignFleetAPI primaryWinner, BattleAPI battle)
FleetEventListenerreportBattleOccurred in interface FleetEventListenerpublic int getTopoResetMin()
public int getTopoResetMax()
public void resetTopographicData()
public java.util.Set<java.lang.String> getIntelTags(SectorMapAPI map)
IntelInfoPlugingetIntelTags in interface IntelInfoPlugingetIntelTags in class BaseEventIntelprotected void advanceImpl(float amount)
advanceImpl in class BaseEventIntelpublic void addAbility(java.lang.String id)
protected void notifyStageReached(BaseEventIntel.EventStageData stage)
notifyStageReached in class BaseEventIntelpublic void reportCurrentLocationChanged(LocationAPI prev, LocationAPI curr)
reportCurrentLocationChanged in interface CurrentLocationChangedListenerpublic void reportAboutToRefreshCharacterStatEffects()
reportAboutToRefreshCharacterStatEffects in interface CharacterStatsRefreshListenerpublic void reportRefreshedCharacterStatEffects()
reportRefreshedCharacterStatEffects in interface CharacterStatsRefreshListenerpublic void applyFleetEffects()
public void updateMarketDetectionRanges()
public float gerSensorArrayBonusFor(MarketAPI market, float range)
public boolean withMonthlyFactors()
withMonthlyFactors in class BaseEventIntelpublic void addRecentReadings(org.lwjgl.util.vector.Vector2f loc)
public static boolean hasRecentReadingsNearPlayer()
public boolean hasRecentReadingsNear(org.lwjgl.util.vector.Vector2f loc)
protected java.lang.String getSoundForStageReachedUpdate(java.lang.Object stageId)
getSoundForStageReachedUpdate in class BaseEventIntelprotected java.lang.String getSoundForOneTimeFactorUpdate(EventFactor factor)
getSoundForOneTimeFactorUpdate in class BaseEventIntel