public class PerseanLeagueMembership extends BaseIntelPlugin implements EconomyTickListener, CommissionEndedListener
| Modifier and Type | Class and Description |
|---|---|
static class |
PerseanLeagueMembership.AgreementEndingType |
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BUTTON_END |
static java.lang.String |
BUTTON_RENEGE_HANNAN |
static java.lang.String |
DEFEATED_BLOCKADE |
static java.lang.String |
DEFEATED_PUN_EX |
protected PerseanLeagueMembership.AgreementEndingType |
endType |
protected FactionAPI |
faction |
static java.lang.String |
IS_LEAGUE_MEMBER |
static java.lang.String |
KEY |
static java.lang.String |
LEFT_LEAGUE_WHEN_GOOD_DEAL |
static java.lang.String |
NUM_TIMES_LEFT_LEAGUE |
static java.lang.String |
PAYING_HOUSE_HANNAN |
static java.lang.String |
PL_MEMBERSHIP_GOOD_DEAL |
static int |
TIMES_LEFT_LEAGUE_FOR_NO_REJOIN |
static java.lang.String |
UPDATE_PARAM_ACCEPTED |
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestampLIST_ITEM_TEXT_WIDTH, NEW_DAYS| Constructor and Description |
|---|
PerseanLeagueMembership(InteractionDialogAPI dialog) |
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, unindentpublic static int TIMES_LEFT_LEAGUE_FOR_NO_REJOIN
public static final java.lang.String PL_MEMBERSHIP_GOOD_DEAL
public static final java.lang.String PAYING_HOUSE_HANNAN
public static final java.lang.String LEFT_LEAGUE_WHEN_GOOD_DEAL
public static final java.lang.String IS_LEAGUE_MEMBER
public static final java.lang.String NUM_TIMES_LEFT_LEAGUE
public static final java.lang.String DEFEATED_BLOCKADE
public static final java.lang.String DEFEATED_PUN_EX
public static java.lang.String KEY
public static java.lang.String BUTTON_END
public static java.lang.String BUTTON_RENEGE_HANNAN
public static java.lang.String UPDATE_PARAM_ACCEPTED
protected FactionAPI faction
protected PerseanLeagueMembership.AgreementEndingType endType
public PerseanLeagueMembership(InteractionDialogAPI dialog)
public static int getNumTimesLeftLeague()
public static void incrLeftLeagueCount()
public static boolean isDefeatedBlockadeOrPunEx()
public static void setDefeatedBlockade(boolean value)
public static void setDefeatedPunEx(boolean value)
public static boolean isGoodDeal()
public static boolean isPayingHouseHannan()
public static void setPayingHouseHannan(boolean value)
public static boolean isLeftLeagueWhenGoodDeal()
public static void setLeftLeagueWhenGoodDeal(boolean value)
public static boolean isLeagueMember()
public static void setLeagueMember(boolean member)
public static PerseanLeagueMembership get()
protected void notifyEnding()
notifyEnding in class BaseIntelPluginprotected void notifyEnded()
notifyEnded in class BaseIntelPluginprotected java.lang.Object readResolve()
public java.lang.String getBaseName()
public java.lang.String getAcceptedPostfix()
public java.lang.String getBrokenPostfix()
public java.lang.String getEndedPostfix()
public java.lang.String getExpiredPostfix()
public 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 BaseIntelPluginprotected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints 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 java.lang.String getImportantIcon()
IntelInfoPlugingetImportantIcon in interface IntelInfoPlugingetImportantIcon in class BaseIntelPluginpublic SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation in interface IntelInfoPlugingetMapLocation in class BaseIntelPluginpublic void reportEconomyMonthEnd()
reportEconomyMonthEnd in interface EconomyTickListenerpublic void reportEconomyTick(int iterIndex)
reportEconomyTick in interface EconomyTickListenerpublic MonthlyReport.FDNode getMonthlyReportNode()
public int computeCreditsPerMonth()
public static int computeCreditsPerTick()
public FactionAPI getFaction()
public void endMembership(PerseanLeagueMembership.AgreementEndingType type, InteractionDialogAPI dialog)
public static void stopPayingHouseHannan(boolean trustBroken, InteractionDialogAPI dialog)
public void buttonPressConfirmed(java.lang.Object buttonId, IntelUIAPI ui)
buttonPressConfirmed in interface IntelInfoPluginbuttonPressConfirmed in class BaseIntelPluginpublic void createConfirmationPrompt(java.lang.Object buttonId, TooltipMakerAPI prompt)
createConfirmationPrompt in interface IntelInfoPlugincreateConfirmationPrompt in class BaseIntelPluginpublic boolean doesButtonHaveConfirmDialog(java.lang.Object buttonId)
doesButtonHaveConfirmDialog in interface IntelInfoPlugindoesButtonHaveConfirmDialog in class BaseIntelPluginpublic void reportCommissionEnded(FactionCommissionIntel intel)
reportCommissionEnded in interface CommissionEndedListener