public class FleetLogEvent extends BaseEventPlugin
BaseEventPlugin.MarketFilterCampaignEventPlugin.CampaignEventCategory, CampaignEventPlugin.PriceUpdatePluginCampaignEventListener.FleetDespawnReason| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.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, useEventNameAsIdpublic static org.apache.log4j.Logger log
public FleetLogEvent()
public void init(java.lang.String type, CampaignEventTarget eventTarget)
CampaignEventPlugininit in interface CampaignEventPlugininit in class BaseEventPluginpublic void startEvent()
CampaignEventPluginstartEvent in interface CampaignEventPluginstartEvent in class BaseEventPluginpublic void advance(float amount)
advance in interface CampaignEventPluginadvance in class BaseEventPluginpublic boolean callEvent(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
CampaignEventPlugincallEvent in interface CampaignEventPlugincallEvent in interface CallEvent.CallableEventcallEvent in class BaseEventPluginpublic java.util.Map<java.lang.String,java.lang.String> getTokenReplacements()
CampaignEventPlugingetTokenReplacements in interface CampaignEventPlugingetTokenReplacements in class BaseEventPluginpublic java.lang.String[] getHighlights(java.lang.String stageId)
CampaignEventPlugingetHighlights in interface CampaignEventPlugingetHighlights in class BaseEventPluginpublic java.awt.Color[] getHighlightColors(java.lang.String stageId)
CampaignEventPlugingetHighlightColors in interface CampaignEventPlugingetHighlightColors in class BaseEventPluginpublic CampaignEventTarget getEventTarget()
getEventTarget in interface CampaignEventPlugingetEventTarget in class BaseEventPluginpublic boolean isDone()
isDone in interface CampaignEventPluginisDone in class BaseEventPluginpublic CampaignEventPlugin.CampaignEventCategory getEventCategory()
getEventCategory in interface CampaignEventPlugingetEventCategory in class BaseEventPluginpublic boolean showAllMessagesIfOngoing()
CampaignEventPluginshowAllMessagesIfOngoing in interface CampaignEventPluginshowAllMessagesIfOngoing in class BaseEventPlugin