public class BaseHistorianOffer extends BaseIntelPlugin implements HistorianData.HistorianOffer
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData| Modifier and Type | Field and Description |
|---|---|
protected HistorianData.HistorianOfferCreator |
creator |
protected InteractionDialogAPI |
dialog |
protected boolean |
done |
protected boolean |
endConversationOnReturning |
protected OptionPanelAPI |
options |
protected boolean |
remove |
protected TextPanelAPI |
text |
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestampLIST_ITEM_TEXT_WIDTH, NEW_DAYS| Constructor and Description |
|---|
BaseHistorianOffer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPromptAndOption(InteractionDialogAPI dialog) |
HistorianData.HistorianOfferCreator |
getCreator() |
java.lang.String |
getIcon()
40x40, no icon if null.
|
int |
getSortOrder() |
void |
init(InteractionDialogAPI dialog) |
boolean |
isInteractionFinished() |
void |
notifyAccepted() |
void |
optionSelected(java.lang.String optionText,
java.lang.Object optionData) |
void |
setCreator(HistorianData.HistorianOfferCreator creator) |
void |
setDone(boolean done) |
void |
setEndConversationOnReturning(boolean endConversationOnReturning) |
void |
setRemove(boolean remove) |
boolean |
shouldEndConversationOnReturning() |
boolean |
shouldRemoveOffer() |
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, unindentprotected transient boolean done
protected transient boolean remove
protected transient boolean endConversationOnReturning
protected transient InteractionDialogAPI dialog
protected transient TextPanelAPI text
protected transient OptionPanelAPI options
protected transient HistorianData.HistorianOfferCreator creator
public BaseHistorianOffer()
public void init(InteractionDialogAPI dialog)
init in interface HistorianData.HistorianOfferpublic HistorianData.HistorianOfferCreator getCreator()
getCreator in interface HistorianData.HistorianOfferpublic void setCreator(HistorianData.HistorianOfferCreator creator)
setCreator in interface HistorianData.HistorianOfferpublic void addPromptAndOption(InteractionDialogAPI dialog)
addPromptAndOption in interface HistorianData.HistorianOfferpublic boolean isInteractionFinished()
isInteractionFinished in interface HistorianData.HistorianOfferpublic void optionSelected(java.lang.String optionText, java.lang.Object optionData)
optionSelected in interface HistorianData.HistorianOfferpublic void setDone(boolean done)
public boolean shouldRemoveOffer()
shouldRemoveOffer in interface HistorianData.HistorianOfferpublic void setRemove(boolean remove)
public int getSortOrder()
getSortOrder in interface HistorianData.HistorianOfferpublic boolean shouldEndConversationOnReturning()
shouldEndConversationOnReturning in interface HistorianData.HistorianOfferpublic void setEndConversationOnReturning(boolean endConversationOnReturning)
public java.lang.String getIcon()
IntelInfoPlugingetIcon in interface IntelInfoPlugingetIcon in class BaseIntelPluginpublic void notifyAccepted()
notifyAccepted in interface HistorianData.HistorianOffer