public class InvestigationEventSmugglingV2 extends BaseEventPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
InvestigationEventSmugglingV2.InvSmugglingParams |
BaseEventPlugin.MarketFilterCampaignEventPlugin.CampaignEventCategory, CampaignEventPlugin.PriceUpdatePluginCampaignEventListener.FleetDespawnReason| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log |
static java.lang.String |
PERSON_CHECKOUT_REASON |
entity, eventTarget, eventType, faction, market, memory, started, startProbability, statModId| Constructor and Description |
|---|
InvestigationEventSmugglingV2() |
| 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).
|
protected void |
endEvent() |
java.lang.String |
getEventName() |
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() |
void |
startEvent()
Called when the event starts.
|
addFactionNameTokens, addPersonTokens, addTokensToList, allowMultipleOngoingForSameTarget, cleanup, findMatchingMarkets, findNearestMarket, getCurrentImage, getCurrentMessageIcon, getDefaultPriority, getEventCategory, getEventIcon, getEventTarget, getEventType, getHighlightColors, 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, showAllMessagesIfOngoing, showLatestMessageIfOngoing, startEvent, useEventNameAsIdpublic static final java.lang.String PERSON_CHECKOUT_REASON
public static org.apache.log4j.Logger log
public InvestigationEventSmugglingV2()
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 java.lang.String getEventName()
getEventName in interface CampaignEventPlugingetEventName 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 BaseEventPluginprotected void endEvent()
public boolean isDone()
isDone in interface CampaignEventPluginisDone in class BaseEventPlugin