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, timestamp
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
Constructor and Description |
---|
RaidIntel(StarSystemAPI system,
FactionAPI faction,
RaidIntel.RaidDelegate delegate) |
addBulletPoints, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, 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, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, 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, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindent
public 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)
IntelInfoPlugin
canMakeVisibleToPlayer
in interface IntelInfoPlugin
canMakeVisibleToPlayer
in class BaseIntelPlugin
public boolean shouldSendUpdate()
public boolean isPlayerTargeted()
public java.lang.String getCommMessageSound()
getCommMessageSound
in interface IntelInfoPlugin
getCommMessageSound
in class BaseIntelPlugin
protected void advanceImpl(float amount)
advanceImpl
in class BaseIntelPlugin
public void forceFail(boolean withUpdate)
protected void failedAtStage(RaidIntel.RaidStage stage)
protected void notifyEnded()
notifyEnded
in class BaseIntelPlugin
protected void notifyEnding()
notifyEnding
in class BaseIntelPlugin
public float getETA()
protected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints
in class BaseIntelPlugin
public void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo
in interface IntelInfoPlugin
createIntelInfo
in class BaseIntelPlugin
protected MarketAPI getFirstSource()
public void createSmallDescription(TooltipMakerAPI info, float width, float height)
createSmallDescription
in interface IntelInfoPlugin
createSmallDescription
in class BaseIntelPlugin
public java.lang.String getIcon()
IntelInfoPlugin
getIcon
in interface IntelInfoPlugin
getIcon
in class BaseIntelPlugin
public java.util.Set<java.lang.String> getIntelTags(SectorMapAPI map)
IntelInfoPlugin
getIntelTags
in interface IntelInfoPlugin
getIntelTags
in class BaseIntelPlugin
public java.lang.String getSortString()
getSortString
in interface IntelInfoPlugin
getSortString
in class BaseIntelPlugin
public java.lang.String getName()
getName
in class BaseIntelPlugin
public boolean isFailed()
public boolean isSucceeded()
public FactionAPI getFactionForUIColors()
getFactionForUIColors
in interface IntelInfoPlugin
getFactionForUIColors
in class BaseIntelPlugin
public FactionAPI getFaction()
public java.lang.String getSmallDescriptionTitle()
getSmallDescriptionTitle
in interface IntelInfoPlugin
getSmallDescriptionTitle
in class BaseIntelPlugin
public SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation
in interface IntelInfoPlugin
getMapLocation
in class BaseIntelPlugin
public java.util.List<IntelInfoPlugin.ArrowData> getArrowData(SectorMapAPI map)
getArrowData
in interface IntelInfoPlugin
getArrowData
in class BaseIntelPlugin
public boolean shouldCancelRouteAfterDelayCheck(RouteManager.RouteData route)
shouldCancelRouteAfterDelayCheck
in interface RouteManager.RouteFleetSpawner
public boolean shouldRepeat(RouteManager.RouteData route)
shouldRepeat
in interface RouteManager.RouteFleetSpawner
public void reportAboutToBeDespawnedByRouteManager(RouteManager.RouteData route)
reportAboutToBeDespawnedByRouteManager
in interface RouteManager.RouteFleetSpawner
public CampaignFleetAPI spawnFleet(RouteManager.RouteData route)
spawnFleet
in interface RouteManager.RouteFleetSpawner
public RouteFleetAssignmentAI createAssignmentAI(CampaignFleetAPI fleet, RouteManager.RouteData route)
public CampaignFleetAPI createFleet(java.lang.String factionId, RouteManager.RouteData route, MarketAPI market, 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 IntelInfoPlugin
getSortTier
in class BaseIntelPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.