public class CommSnifferIntel extends BaseIntelPlugin
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
Modifier and Type | Field and Description |
---|---|
protected IntervalUtil |
check |
protected SectorEntityToken |
relay |
static java.lang.String |
UNINSTALL |
protected java.lang.Boolean |
uninstalled |
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, timestamp
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
Constructor and Description |
---|
CommSnifferIntel(SectorEntityToken relay) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBulletPoints(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
protected void |
advanceImpl(float amount) |
void |
buttonPressConfirmed(java.lang.Object buttonId,
IntelUIAPI ui) |
void |
createConfirmationPrompt(java.lang.Object buttonId,
TooltipMakerAPI prompt) |
void |
createIntelInfo(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
void |
createSmallDescription(TooltipMakerAPI info,
float width,
float height) |
boolean |
doesButtonHaveConfirmDialog(java.lang.Object buttonId) |
protected float |
getBaseLoseProb() |
java.lang.String |
getCommMessageSound() |
protected float |
getCurrLoseProb() |
static CommSnifferIntel |
getExistingSnifferIntelForRelay(SectorEntityToken relay) |
FactionAPI |
getFactionForUIColors() |
java.lang.String |
getIcon()
40x40, no icon if null.
|
java.util.Set<java.lang.String> |
getIntelTags(SectorMapAPI map)
Method NEEDS to handle map being null gracefully.
|
SectorEntityToken |
getMapLocation(SectorMapAPI map) |
protected float |
getMax() |
java.lang.String |
getName() |
SectorEntityToken |
getRelay() |
java.lang.String |
getSmallDescriptionTitle() |
java.lang.String |
getSortString() |
protected void |
notifyEnded() |
boolean |
shouldRemoveIntel() |
void |
uninstall() |
addBulletPoints, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createDeleteConfirmationPrompt, createLargeDescription, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, storyActionConfirmed, tableRowClicked, unindent
public static final java.lang.String UNINSTALL
protected SectorEntityToken relay
protected IntervalUtil check
protected java.lang.Boolean uninstalled
public CommSnifferIntel(SectorEntityToken relay)
public static CommSnifferIntel getExistingSnifferIntelForRelay(SectorEntityToken relay)
protected void notifyEnded()
notifyEnded
in class BaseIntelPlugin
protected void advanceImpl(float amount)
advanceImpl
in class BaseIntelPlugin
public SectorEntityToken getRelay()
protected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints
in class BaseIntelPlugin
protected float getMax()
protected float getBaseLoseProb()
protected float getCurrLoseProb()
public void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo
in interface IntelInfoPlugin
createIntelInfo
in class BaseIntelPlugin
public void createSmallDescription(TooltipMakerAPI info, float width, float height)
createSmallDescription
in interface IntelInfoPlugin
createSmallDescription
in class BaseIntelPlugin
public void uninstall()
public void buttonPressConfirmed(java.lang.Object buttonId, IntelUIAPI ui)
buttonPressConfirmed
in interface IntelInfoPlugin
buttonPressConfirmed
in class BaseIntelPlugin
public void createConfirmationPrompt(java.lang.Object buttonId, TooltipMakerAPI prompt)
createConfirmationPrompt
in interface IntelInfoPlugin
createConfirmationPrompt
in class BaseIntelPlugin
public boolean doesButtonHaveConfirmDialog(java.lang.Object buttonId)
doesButtonHaveConfirmDialog
in interface IntelInfoPlugin
doesButtonHaveConfirmDialog
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 FactionAPI getFactionForUIColors()
getFactionForUIColors
in interface IntelInfoPlugin
getFactionForUIColors
in class BaseIntelPlugin
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 boolean shouldRemoveIntel()
shouldRemoveIntel
in interface IntelInfoPlugin
shouldRemoveIntel
in class BaseIntelPlugin
public java.lang.String getCommMessageSound()
getCommMessageSound
in interface IntelInfoPlugin
getCommMessageSound
in class BaseIntelPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.