Class TriTachyonDeal
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.TriTachyonDeal
- All Implemented Interfaces:
IntelInfoPlugin
,EconomyAPI.EconomyUpdateListener
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,CallEvent.CallableEvent
-
Nested Class Summary
Nested ClassesNested 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 String
static final String
static String
protected TriTachyonDeal.AgreementEndingType
protected FactionAPI
static final String
static String
static float
static float
static String
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
static boolean
void
buttonPressConfirmed
(Object buttonId, IntelUIAPI ui) void
commodityUpdated
(String commodityId) protected float
protected float
protected float
computeColonySize
(String factionId) void
createConfirmationPrompt
(Object buttonId, TooltipMakerAPI prompt) void
createSmallDescription
(TooltipMakerAPI info, float width, float height) boolean
doesButtonHaveConfirmDialog
(Object buttonId) void
void
static TriTachyonDeal
get()
getIcon()
40x40, no icon if null.20x20, if null will use default.getIntelTags
(SectorMapAPI map) Method NEEDS to handle map being null gracefully.getName()
static boolean
hasDeal()
boolean
protected void
protected void
protected Object
static void
setBrokeDeal
(boolean broke) static void
setHasDeal
(boolean deal) void
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, advanceImpl, autoAddCampaignMessage, bullet, buttonPressCancelled, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createDeleteConfirmationPrompt, createIntelInfo, createLargeDescription, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortString, getSortStringNewestFirst, getSortStringNewestFirst, getSortTier, 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, unindent
-
Field Details
-
HAS_TRI_TACH_DEAL
- See Also:
-
BROKE_TRI_TACH_DEAL
- See Also:
-
REP_FOR_BREAKING_DEAL
public static float REP_FOR_BREAKING_DEAL -
MARKET_SIZE_TO_ACCESSIBILITY
public static float MARKET_SIZE_TO_ACCESSIBILITY -
KEY
-
BUTTON_END
-
UPDATE_PARAM_ACCEPTED
-
faction
-
endType
-
ACCESS_MOD_ID
-
-
Constructor Details
-
TriTachyonDeal
-
-
Method Details
-
hasDeal
public static boolean hasDeal() -
setHasDeal
public static void setHasDeal(boolean deal) -
brokeDeal
public static boolean brokeDeal() -
setBrokeDeal
public static void setBrokeDeal(boolean broke) -
get
-
notifyEnding
protected void notifyEnding()- Overrides:
notifyEnding
in classBaseIntelPlugin
-
notifyEnded
protected void notifyEnded()- Overrides:
notifyEnded
in classBaseIntelPlugin
-
readResolve
-
getBaseName
-
getAcceptedPostfix
-
getBrokenPostfix
-
getName
- Overrides:
getName
in classBaseIntelPlugin
-
getFactionForUIColors
- Specified by:
getFactionForUIColors
in interfaceIntelInfoPlugin
- Overrides:
getFactionForUIColors
in classBaseIntelPlugin
-
getSmallDescriptionTitle
- Specified by:
getSmallDescriptionTitle
in interfaceIntelInfoPlugin
- Overrides:
getSmallDescriptionTitle
in classBaseIntelPlugin
-
computeColonySize
-
computeAccessibilityBonusPlayer
protected float computeAccessibilityBonusPlayer() -
computeAccessibilityBonusTriTach
protected float computeAccessibilityBonusTriTach() -
addBulletPoints
- Overrides:
addBulletPoints
in classBaseIntelPlugin
-
createSmallDescription
- Specified by:
createSmallDescription
in interfaceIntelInfoPlugin
- Overrides:
createSmallDescription
in classBaseIntelPlugin
-
getIcon
Description copied from interface:IntelInfoPlugin
40x40, no icon if null.- Specified by:
getIcon
in interfaceIntelInfoPlugin
- Overrides:
getIcon
in classBaseIntelPlugin
- Returns:
-
getIntelTags
Description copied from interface:IntelInfoPlugin
Method NEEDS to handle map being null gracefully.- Specified by:
getIntelTags
in interfaceIntelInfoPlugin
- Overrides:
getIntelTags
in classBaseIntelPlugin
- Returns:
-
getImportantIcon
Description copied from interface:IntelInfoPlugin
20x20, if null will use default.- Specified by:
getImportantIcon
in interfaceIntelInfoPlugin
- Overrides:
getImportantIcon
in classBaseIntelPlugin
- Returns:
-
getMapLocation
- Specified by:
getMapLocation
in interfaceIntelInfoPlugin
- Overrides:
getMapLocation
in classBaseIntelPlugin
-
getFaction
-
endAgreement
-
buttonPressConfirmed
- Specified by:
buttonPressConfirmed
in interfaceIntelInfoPlugin
- Overrides:
buttonPressConfirmed
in classBaseIntelPlugin
-
createConfirmationPrompt
- Specified by:
createConfirmationPrompt
in interfaceIntelInfoPlugin
- Overrides:
createConfirmationPrompt
in classBaseIntelPlugin
-
doesButtonHaveConfirmDialog
- Specified by:
doesButtonHaveConfirmDialog
in interfaceIntelInfoPlugin
- Overrides:
doesButtonHaveConfirmDialog
in classBaseIntelPlugin
-
commodityUpdated
- Specified by:
commodityUpdated
in interfaceEconomyAPI.EconomyUpdateListener
-
economyUpdated
public void economyUpdated()- Specified by:
economyUpdated
in interfaceEconomyAPI.EconomyUpdateListener
-
unapplyAccessModifier
public void unapplyAccessModifier() -
isEconomyListenerExpired
public boolean isEconomyListenerExpired()- Specified by:
isEconomyListenerExpired
in interfaceEconomyAPI.EconomyUpdateListener
-