Class DonationOffer
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.BaseHistorianOffer
com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.DonationOffer
- All Implemented Interfaces:
IntelInfoPlugin
,EveryFrameScript
,CommRelayEntityPlugin.CommSnifferReadableIntel
,HistorianData.HistorianOffer
,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
FieldsFields inherited from class com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.BaseHistorianOffer
creator, dialog, done, endConversationOnReturning, options, remove, text
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 TypeMethodDescriptionvoid
int
void
init
(InteractionDialogAPI dialog) void
optionSelected
(String optionText, Object optionData) Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.bar.events.historian.BaseHistorianOffer
getCreator, getIcon, isInteractionFinished, notifyAccepted, setCreator, setDone, setEndConversationOnReturning, setRemove, shouldEndConversationOnReturning, shouldRemoveOffer
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin
addBulletPoints, addBulletPoints, addDays, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addLogTimestamp, addMarketTable, addMarketToList, addMarketToList, advance, advanceImpl, autoAddCampaignMessage, bullet, buttonPressCancelled, buttonPressConfirmed, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createIntelInfo, createLargeDescription, createSmallDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getFactionForUIColors, getImportantIcon, getIntelTags, getListInfoParam, getMapLocation, getName, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSmallDescriptionTitle, 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, notifyEnded, notifyEnding, 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
-
credits
protected int credits
-
-
Constructor Details
-
DonationOffer
public DonationOffer()
-
-
Method Details
-
addPromptAndOption
- Specified by:
addPromptAndOption
in interfaceHistorianData.HistorianOffer
- Overrides:
addPromptAndOption
in classBaseHistorianOffer
-
init
- Specified by:
init
in interfaceHistorianData.HistorianOffer
- Overrides:
init
in classBaseHistorianOffer
-
optionSelected
- Specified by:
optionSelected
in interfaceHistorianData.HistorianOffer
- Overrides:
optionSelected
in classBaseHistorianOffer
-
getSortOrder
public int getSortOrder()- Specified by:
getSortOrder
in interfaceHistorianData.HistorianOffer
- Overrides:
getSortOrder
in classBaseHistorianOffer
-