public class TriTachLoanIntel extends BaseIntelPlugin
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData| Modifier and Type | Field and Description |
|---|---|
protected float |
daysRemaining |
protected TriTachLoanBarEvent |
event |
protected boolean |
loanRepaid |
protected boolean |
majorLoan |
protected MarketAPI |
market |
static java.lang.String |
NUM_REPAID_LOANS |
protected ReputationActionResponsePlugin.ReputationAdjustmentResult |
repResult |
protected boolean |
sentReminder |
protected boolean |
wasExtended |
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestampLIST_ITEM_TEXT_WIDTH, NEW_DAYS| Constructor and Description |
|---|
TriTachLoanIntel(TriTachLoanBarEvent event,
MarketAPI market) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBulletPoints(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
protected void |
advanceImpl(float amount) |
protected void |
applyExtendLoanRepLoss(InteractionDialogAPI dialog) |
boolean |
callEvent(java.lang.String ruleId,
InteractionDialogAPI dialog,
java.util.List<Misc.Token> params,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
void |
createIntelInfo(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
void |
createSmallDescription(TooltipMakerAPI info,
float width,
float height) |
protected void |
endNoPayment(InteractionDialogAPI dialog) |
protected void |
endWithPayment(InteractionDialogAPI dialog) |
protected void |
extendLoan(InteractionDialogAPI dialog) |
TriTachLoanBarEvent |
getEvent() |
protected float |
getExtensionDays() |
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) |
java.lang.String |
getName() |
PersonAPI |
getPerson() |
java.lang.String |
getSmallDescriptionTitle() |
java.lang.String |
getSortString() |
boolean |
isMajorLoan() |
protected void |
noPaymentMessage(InteractionDialogAPI dialog) |
protected void |
notifyEnded() |
protected void |
notifyEnding() |
void |
setMajorLoan(boolean majorLoan) |
addBulletPoints, addDays, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addLogTimestamp, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, buttonPressConfirmed, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createLargeDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, 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, unindentpublic static final java.lang.String NUM_REPAID_LOANS
protected TriTachLoanBarEvent event
protected ReputationActionResponsePlugin.ReputationAdjustmentResult repResult
protected float daysRemaining
protected boolean wasExtended
protected boolean sentReminder
protected boolean loanRepaid
protected boolean majorLoan
public TriTachLoanIntel(TriTachLoanBarEvent event, MarketAPI market)
public TriTachLoanBarEvent getEvent()
public boolean isMajorLoan()
public void setMajorLoan(boolean majorLoan)
protected float getExtensionDays()
public boolean callEvent(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
callEvent in interface CallEvent.CallableEventcallEvent in class BaseIntelPluginprotected void noPaymentMessage(InteractionDialogAPI dialog)
protected void notifyEnding()
notifyEnding in class BaseIntelPluginprotected void notifyEnded()
notifyEnded in class BaseIntelPluginprotected void extendLoan(InteractionDialogAPI dialog)
protected void applyExtendLoanRepLoss(InteractionDialogAPI dialog)
protected void endWithPayment(InteractionDialogAPI dialog)
protected void endNoPayment(InteractionDialogAPI dialog)
protected void advanceImpl(float amount)
advanceImpl in class BaseIntelPluginprotected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints in class BaseIntelPluginpublic void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo in interface IntelInfoPlugincreateIntelInfo in class BaseIntelPluginpublic java.lang.String getSortString()
getSortString in interface IntelInfoPlugingetSortString in class BaseIntelPluginpublic java.lang.String getName()
getName in class BaseIntelPluginpublic FactionAPI getFactionForUIColors()
getFactionForUIColors in interface IntelInfoPlugingetFactionForUIColors in class BaseIntelPluginpublic java.lang.String getSmallDescriptionTitle()
getSmallDescriptionTitle in interface IntelInfoPlugingetSmallDescriptionTitle in class BaseIntelPluginpublic void createSmallDescription(TooltipMakerAPI info, float width, float height)
createSmallDescription in interface IntelInfoPlugincreateSmallDescription in class BaseIntelPluginpublic java.lang.String getIcon()
IntelInfoPlugingetIcon in interface IntelInfoPlugingetIcon in class BaseIntelPluginpublic java.util.Set<java.lang.String> getIntelTags(SectorMapAPI map)
IntelInfoPlugingetIntelTags in interface IntelInfoPlugingetIntelTags in class BaseIntelPluginpublic SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation in interface IntelInfoPlugingetMapLocation in class BaseIntelPlugin