public class RaidIntel extends BaseIntelPlugin implements RouteManager.RouteFleetSpawner
| Modifier and Type | Class and Description |
|---|---|
static interface |
RaidIntel.RaidDelegate |
static interface |
RaidIntel.RaidStage |
static class |
RaidIntel.RaidStageStatus |
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData| Modifier and Type | Field and Description |
|---|---|
protected int |
currentStage |
protected float |
defenderStr |
protected RaidIntel.RaidDelegate |
delegate |
static java.lang.Object |
ENTERED_SYSTEM_UPDATE |
protected float |
extraDays |
protected FactionAPI |
faction |
protected int |
failStage |
protected java.lang.String |
id |
protected java.lang.String |
sid |
protected java.util.List<RaidIntel.RaidStage> |
stages |
protected StarSystemAPI |
system |
static java.lang.Object |
UPDATE_FAILED |
static java.lang.Object |
UPDATE_RETURNING |
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestampLIST_ITEM_TEXT_WIDTH, NEW_DAYS| Constructor and Description |
|---|
RaidIntel(StarSystemAPI system,
FactionAPI faction,
RaidIntel.RaidDelegate delegate) |
addBulletPoints, addDays, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addLogTimestamp, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, buttonPressConfirmed, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createLargeDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortStringNewestFirst, getSortStringNewestFirst, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, 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.lang.Object UPDATE_FAILED
public static java.lang.Object UPDATE_RETURNING
public static java.lang.Object ENTERED_SYSTEM_UPDATE
protected int currentStage
protected int failStage
protected java.util.List<RaidIntel.RaidStage> stages
protected java.lang.String id
protected java.lang.String sid
protected float extraDays
protected StarSystemAPI system
protected FactionAPI faction
protected float defenderStr
protected RaidIntel.RaidDelegate delegate
public RaidIntel(StarSystemAPI system, FactionAPI faction, RaidIntel.RaidDelegate delegate)
public void sendEnteredSystemUpdate()
public StarSystemAPI getSystem()
public int getCurrentStage()
public int getStageIndex(RaidIntel.RaidStage stage)
public int getFailStage()
public OrganizeStage getOrganizeStage()
public AssembleStage getAssembleStage()
public ActionStage getActionStage()
public void addStage(RaidIntel.RaidStage stage)
public java.lang.String getRouteSourceId()
public float getExtraDays()
public void setExtraDays(float extraDays)
public boolean canMakeVisibleToPlayer(boolean playerInRelayRange)
IntelInfoPlugincanMakeVisibleToPlayer in interface IntelInfoPlugincanMakeVisibleToPlayer in class BaseIntelPluginpublic boolean shouldSendUpdate()
public boolean isPlayerTargeted()
public java.lang.String getCommMessageSound()
getCommMessageSound in interface IntelInfoPlugingetCommMessageSound in class BaseIntelPluginprotected void advanceImpl(float amount)
advanceImpl in class BaseIntelPluginpublic void forceFail(boolean withUpdate)
protected void failedAtStage(RaidIntel.RaidStage stage)
protected void notifyEnded()
notifyEnded in class BaseIntelPluginprotected void notifyEnding()
notifyEnding in class BaseIntelPluginpublic float getETA()
protected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints in class BaseIntelPluginpublic void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo in interface IntelInfoPlugincreateIntelInfo in class BaseIntelPluginprotected MarketAPI getFirstSource()
public void createSmallDescription(TooltipMakerAPI info, float width, float height)
createSmallDescription in interface IntelInfoPlugincreateSmallDescription in class BaseIntelPluginpublic java.lang.String getIcon()
IntelInfoPlugingetIcon in interface IntelInfoPlugingetIcon in class BaseIntelPluginpublic java.util.Set<java.lang.String> getIntelTags(SectorMapAPI map)
IntelInfoPlugingetIntelTags in interface IntelInfoPlugingetIntelTags in class BaseIntelPluginpublic java.lang.String getSortString()
getSortString in interface IntelInfoPlugingetSortString in class BaseIntelPluginpublic java.lang.String getName()
getName in class BaseIntelPluginpublic boolean isFailed()
public boolean isSucceeded()
public FactionAPI getFactionForUIColors()
getFactionForUIColors in interface IntelInfoPlugingetFactionForUIColors in class BaseIntelPluginpublic FactionAPI getFaction()
public java.lang.String getSmallDescriptionTitle()
getSmallDescriptionTitle in interface IntelInfoPlugingetSmallDescriptionTitle in class BaseIntelPluginpublic SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation in interface IntelInfoPlugingetMapLocation in class BaseIntelPluginpublic java.util.List<IntelInfoPlugin.ArrowData> getArrowData(SectorMapAPI map)
getArrowData in interface IntelInfoPlugingetArrowData in class BaseIntelPluginpublic boolean shouldCancelRouteAfterDelayCheck(RouteManager.RouteData route)
shouldCancelRouteAfterDelayCheck in interface RouteManager.RouteFleetSpawnerpublic boolean shouldRepeat(RouteManager.RouteData route)
shouldRepeat in interface RouteManager.RouteFleetSpawnerpublic void reportAboutToBeDespawnedByRouteManager(RouteManager.RouteData route)
reportAboutToBeDespawnedByRouteManager in interface RouteManager.RouteFleetSpawnerpublic CampaignFleetAPI spawnFleet(RouteManager.RouteData route)
spawnFleet in interface RouteManager.RouteFleetSpawnerpublic RouteFleetAssignmentAI createAssignmentAI(CampaignFleetAPI fleet, RouteManager.RouteData route)
public CampaignFleetAPI createFleet(java.lang.String factionId, RouteManager.RouteData route, MarketAPI market, org.lwjgl.util.vector.Vector2f locInHyper, java.util.Random random)
public float getRaidFPAdjusted()
public float getRaidFP()
public float getNumFleets()
public float getOrigNumFleets()
public float getRaidStr()
protected java.lang.String getRaidStrDesc()
public void addStandardStrengthComparisons(TooltipMakerAPI info, MarketAPI target, FactionAPI targetFaction, boolean withGround, boolean withBombard, java.lang.String raid, java.lang.String raids)
public IntelInfoPlugin.IntelSortTier getSortTier()
getSortTier in interface IntelInfoPlugingetSortTier in class BaseIntelPlugin