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, timestamp
LIST_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, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, 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, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, 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, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindent
public static final java.lang.String NUM_REPAID_LOANS
protected TriTachLoanBarEvent event
protected MarketAPI market
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)
public PersonAPI getPerson()
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.CallableEvent
callEvent
in class BaseIntelPlugin
protected void noPaymentMessage(InteractionDialogAPI dialog)
protected void notifyEnding()
notifyEnding
in class BaseIntelPlugin
protected void notifyEnded()
notifyEnded
in class BaseIntelPlugin
protected 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 BaseIntelPlugin
protected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints
in class BaseIntelPlugin
public void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo
in interface IntelInfoPlugin
createIntelInfo
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 void createSmallDescription(TooltipMakerAPI info, float width, float height)
createSmallDescription
in interface IntelInfoPlugin
createSmallDescription
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 SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation
in interface IntelInfoPlugin
getMapLocation
in class BaseIntelPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.