public class FleetLogEvent extends BaseEventPlugin
BaseEventPlugin.MarketFilter
CampaignEventPlugin.CampaignEventCategory, CampaignEventPlugin.PriceUpdatePlugin
CampaignEventListener.FleetDespawnReason
Modifier and Type | Field and Description |
---|---|
static Logger |
log |
entity, eventTarget, eventType, faction, market, memory, started, startProbability, statModId
Constructor and Description |
---|
FleetLogEvent() |
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount) |
boolean |
callEvent(java.lang.String ruleId,
InteractionDialogAPI dialog,
java.util.List<Misc.Token> params,
java.util.Map<java.lang.String,MemoryAPI> memoryMap)
Called by the CallEvent command (called from rules.csv).
|
CampaignEventPlugin.CampaignEventCategory |
getEventCategory() |
CampaignEventTarget |
getEventTarget() |
java.awt.Color[] |
getHighlightColors(java.lang.String stageId)
Since multiple reports (possibly from different channels) are possible per stage:
1) All reports must have the highlighted text occur in the same order, which is the order
this method returns them in, and
2) Not all highlights have to occur in every report.
|
java.lang.String[] |
getHighlights(java.lang.String stageId)
Since multiple reports (possibly from different channels) are possible per stage:
1) All reports must have the highlighted text occur in the same order, which is the order
this method returns them in, and
2) Not all highlights have to occur in every report.
|
java.util.Map<java.lang.String,java.lang.String> |
getTokenReplacements()
Token values for filling out descriptions from reports.csv.
|
void |
init(java.lang.String type,
CampaignEventTarget eventTarget)
Called when the EventProbability for this event is accessed.
|
boolean |
isDone() |
boolean |
showAllMessagesIfOngoing()
If true, messages for an ongoing event will be shown in the intel UI even if
they don't meet the "last week/month/cycle" criteria.
|
void |
startEvent()
Called when the event starts.
|
addFactionNameTokens, addPersonTokens, addTokensToList, allowMultipleOngoingForSameTarget, cleanup, findMatchingMarkets, findNearestMarket, getCurrentImage, getCurrentMessageIcon, getDefaultPriority, getEventIcon, getEventName, getEventType, getId, getLoggingId, getMemory, getPriceUpdates, getRelatedCommodities, getStageIdForLikely, getStageIdForPossible, getStatModId, getTargetName, getWarningWhenLikelyPriority, getWarningWhenPossiblePriority, increaseRecentUnrest, init, isEventStarted, reportBattleFinished, reportBattleOccurred, reportEconomyMonthEnd, reportEconomyTick, reportEncounterLootGenerated, reportFleetDespawned, reportFleetJumped, reportFleetReachedEntity, reportFleetSpawned, reportPlayerActivatedAbility, reportPlayerClosedMarket, reportPlayerDeactivatedAbility, reportPlayerDidNotTakeCargo, reportPlayerDumpedCargo, reportPlayerEngagement, reportPlayerMarketTransaction, reportPlayerOpenedMarket, reportPlayerOpenedMarketAndCargoUpdated, reportPlayerReputationChange, reportPlayerReputationChange, reportShownInteractionDialog, setParam, setProbability, setTarget, showLatestMessageIfOngoing, startEvent, useEventNameAsId
public void init(java.lang.String type, CampaignEventTarget eventTarget)
CampaignEventPlugin
init
in interface CampaignEventPlugin
init
in class BaseEventPlugin
public void startEvent()
CampaignEventPlugin
startEvent
in interface CampaignEventPlugin
startEvent
in class BaseEventPlugin
public void advance(float amount)
advance
in interface CampaignEventPlugin
advance
in class BaseEventPlugin
public boolean callEvent(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
CampaignEventPlugin
callEvent
in interface CampaignEventPlugin
callEvent
in interface CallEvent.CallableEvent
callEvent
in class BaseEventPlugin
public java.util.Map<java.lang.String,java.lang.String> getTokenReplacements()
CampaignEventPlugin
getTokenReplacements
in interface CampaignEventPlugin
getTokenReplacements
in class BaseEventPlugin
public java.lang.String[] getHighlights(java.lang.String stageId)
CampaignEventPlugin
getHighlights
in interface CampaignEventPlugin
getHighlights
in class BaseEventPlugin
public java.awt.Color[] getHighlightColors(java.lang.String stageId)
CampaignEventPlugin
getHighlightColors
in interface CampaignEventPlugin
getHighlightColors
in class BaseEventPlugin
public CampaignEventTarget getEventTarget()
getEventTarget
in interface CampaignEventPlugin
getEventTarget
in class BaseEventPlugin
public boolean isDone()
isDone
in interface CampaignEventPlugin
isDone
in class BaseEventPlugin
public CampaignEventPlugin.CampaignEventCategory getEventCategory()
getEventCategory
in interface CampaignEventPlugin
getEventCategory
in class BaseEventPlugin
public boolean showAllMessagesIfOngoing()
CampaignEventPlugin
showAllMessagesIfOngoing
in interface CampaignEventPlugin
showAllMessagesIfOngoing
in class BaseEventPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.