public class FactionCommissionIntel extends BaseMissionIntel implements EveryFrameScript, FleetEventListener, EconomyTickListener
| Modifier and Type | Class and Description |
|---|---|
static class |
FactionCommissionIntel.CommissionBountyResult |
static class |
FactionCommissionIntel.RepChangeData |
BaseMissionIntel.MissionResult, BaseMissionIntel.MissionStateIntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData| Modifier and Type | Field and Description |
|---|---|
protected float |
baseBounty |
protected FactionAPI |
faction |
protected FactionCommissionIntel.CommissionBountyResult |
latestResult |
static org.apache.log4j.Logger |
log |
protected java.util.LinkedHashMap<java.lang.String,FactionCommissionIntel.RepChangeData> |
repChanges |
static java.lang.String |
UPDATE_PARAM_ACCEPTED |
BUTTON_ABANDON, BUTTON_ACCEPT, duration, elapsedDays, missionResult, missionState, randomCancel, randomCancelProbBULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestampLIST_ITEM_TEXT_WIDTH, NEW_DAYS| Constructor and Description |
|---|
FactionCommissionIntel(FactionAPI faction) |
addAbandonButton, addAbandonButton, addAcceptButton, addAcceptButton, addAcceptOrAbandonButton, addAcceptOrAbandonButton, addGenericMissionState, advanceImpl, buttonPressConfirmed, canAbandonWithoutPenalty, cancel, createCancelledResult, createConfirmationPrompt, doesButtonHaveConfirmDialog, getDuration, getElapsedDays, getImportantIcon, getMissionResult, getMissionState, getPostfixForState, getTimeRemainingFraction, initRandomCancel, initRandomCancel, isAbandoned, isAccepted, isCancelled, isCompleted, isFailed, isPosted, setDuration, setElapsedDays, setMissionResult, setMissionState, shouldRemoveInteladdBulletPoints, addDays, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addLogTimestamp, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createDeleteConfirmationPrompt, createLargeDescription, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortStringNewestFirst, getSortStringNewestFirst, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, 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, storyActionConfirmed, tableRowClicked, unindentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadvance, isDone, runWhilePausedpublic static org.apache.log4j.Logger log
public static java.lang.String UPDATE_PARAM_ACCEPTED
protected float baseBounty
protected FactionAPI faction
protected FactionCommissionIntel.CommissionBountyResult latestResult
protected java.util.LinkedHashMap<java.lang.String,FactionCommissionIntel.RepChangeData> repChanges
public FactionCommissionIntel(FactionAPI faction)
protected java.lang.Object readResolve()
public void advanceMission(float amount)
advanceMission in class BaseMissionIntelpublic void missionAccepted()
missionAccepted in class BaseMissionIntelpublic void endMission()
endMission in class BaseMissionIntelpublic void endMission(InteractionDialogAPI dialog)
public void makeRepChanges(InteractionDialogAPI dialog)
public void makeHostile(FactionAPI other, InteractionDialogAPI dialog)
public void undoRepChange(FactionAPI other, InteractionDialogAPI dialog)
public void undoAllRepChanges(InteractionDialogAPI dialog)
public java.util.List<FactionAPI> getRelevantFactions()
public java.util.List<FactionAPI> getHostileFactions()
public float computeStipend()
public void reportFleetDespawnedToListener(CampaignFleetAPI fleet, CampaignEventListener.FleetDespawnReason reason, java.lang.Object param)
reportFleetDespawnedToListener in interface FleetEventListenerpublic void reportBattleOccurred(CampaignFleetAPI fleet, CampaignFleetAPI primaryWinner, BattleAPI battle)
FleetEventListenerreportBattleOccurred in interface FleetEventListenerprotected 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 FactionAPI getFaction()
public 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 void createSmallDescription(TooltipMakerAPI info, float width, float height, boolean forMarketConditionTooltip)
public 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 BaseMissionIntelpublic SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation in interface IntelInfoPlugingetMapLocation in class BaseIntelPluginprotected BaseMissionIntel.MissionResult createAbandonedResult(boolean withPenalty)
createAbandonedResult in class BaseMissionIntelpublic BaseMissionIntel.MissionResult createResignedCommissionResult(boolean withPenalty, boolean inPerson, InteractionDialogAPI dialog)
protected BaseMissionIntel.MissionResult createTimeRanOutFailedResult()
createTimeRanOutFailedResult in class BaseMissionIntelprotected java.lang.String getMissionTypeNoun()
getMissionTypeNoun in class BaseMissionIntelprotected float getNoPenaltyAbandonDays()
getNoPenaltyAbandonDays in class BaseMissionIntelpublic void reportEconomyMonthEnd()
reportEconomyMonthEnd in interface EconomyTickListenerpublic void reportEconomyTick(int iterIndex)
reportEconomyTick in interface EconomyTickListener