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, timestamp
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
Constructor and Description |
---|
PerseanLeagueMembership(InteractionDialogAPI dialog) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBulletPoints(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
void |
buttonPressConfirmed(java.lang.Object buttonId,
IntelUIAPI ui) |
int |
computeCreditsPerMonth() |
static int |
computeCreditsPerTick() |
void |
createConfirmationPrompt(java.lang.Object buttonId,
TooltipMakerAPI prompt) |
void |
createSmallDescription(TooltipMakerAPI info,
float width,
float height) |
boolean |
doesButtonHaveConfirmDialog(java.lang.Object buttonId) |
void |
endMembership(PerseanLeagueMembership.AgreementEndingType type,
InteractionDialogAPI dialog) |
static PerseanLeagueMembership |
get() |
java.lang.String |
getAcceptedPostfix() |
java.lang.String |
getBaseName() |
java.lang.String |
getBrokenPostfix() |
java.lang.String |
getEndedPostfix() |
java.lang.String |
getExpiredPostfix() |
FactionAPI |
getFaction() |
FactionAPI |
getFactionForUIColors() |
java.lang.String |
getIcon()
40x40, no icon if null.
|
java.lang.String |
getImportantIcon()
20x20, if null will use default.
|
java.util.Set<java.lang.String> |
getIntelTags(SectorMapAPI map)
Method NEEDS to handle map being null gracefully.
|
SectorEntityToken |
getMapLocation(SectorMapAPI map) |
MonthlyReport.FDNode |
getMonthlyReportNode() |
java.lang.String |
getName() |
static int |
getNumTimesLeftLeague() |
java.lang.String |
getSmallDescriptionTitle() |
static void |
incrLeftLeagueCount() |
static boolean |
isDefeatedBlockadeOrPunEx() |
static boolean |
isGoodDeal() |
static boolean |
isLeagueMember() |
static boolean |
isLeftLeagueWhenGoodDeal() |
static boolean |
isPayingHouseHannan() |
protected void |
notifyEnded() |
protected void |
notifyEnding() |
protected java.lang.Object |
readResolve() |
void |
reportCommissionEnded(FactionCommissionIntel intel) |
void |
reportEconomyMonthEnd() |
void |
reportEconomyTick(int iterIndex) |
static void |
setDefeatedBlockade(boolean value) |
static void |
setDefeatedPunEx(boolean value) |
static void |
setLeagueMember(boolean member) |
static void |
setLeftLeagueWhenGoodDeal(boolean value) |
static void |
setPayingHouseHannan(boolean value) |
static void |
stopPayingHouseHannan(boolean trustBroken,
InteractionDialogAPI dialog) |
addBulletPoints, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, 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, 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 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 BaseIntelPlugin
protected void notifyEnded()
notifyEnded
in class BaseIntelPlugin
protected 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 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
protected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints
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 java.lang.String getImportantIcon()
IntelInfoPlugin
getImportantIcon
in interface IntelInfoPlugin
getImportantIcon
in class BaseIntelPlugin
public SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation
in interface IntelInfoPlugin
getMapLocation
in class BaseIntelPlugin
public void reportEconomyMonthEnd()
reportEconomyMonthEnd
in interface EconomyTickListener
public void reportEconomyTick(int iterIndex)
reportEconomyTick
in interface EconomyTickListener
public 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 IntelInfoPlugin
buttonPressConfirmed
in class BaseIntelPlugin
public void createConfirmationPrompt(java.lang.Object buttonId, TooltipMakerAPI prompt)
createConfirmationPrompt
in interface IntelInfoPlugin
createConfirmationPrompt
in class BaseIntelPlugin
public boolean doesButtonHaveConfirmDialog(java.lang.Object buttonId)
doesButtonHaveConfirmDialog
in interface IntelInfoPlugin
doesButtonHaveConfirmDialog
in class BaseIntelPlugin
public void reportCommissionEnded(FactionCommissionIntel intel)
reportCommissionEnded
in interface CommissionEndedListener
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.