public class HubMissionBarEventWrapper extends BaseBarEvent
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Random |
genRandom |
protected HubMissionWithBarEvent |
mission |
protected long |
seed |
protected BarEventSpec |
spec |
protected java.lang.String |
specId |
dialog, done, memoryMap, noContinue, options, shownAt, text| Constructor and Description |
|---|
HubMissionBarEventWrapper(java.lang.String specId) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortMission() |
void |
addPromptAndOption(InteractionDialogAPI dialog,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
java.lang.String |
getBarEventId() |
HubMission |
getMission() |
java.lang.String |
getSpecId() |
protected java.lang.Object |
readResolve() |
boolean |
shouldShowAtMarket(MarketAPI market) |
advance, endWithContinue, getShownAt, init, isAlwaysShow, isDialogFinished, optionSelected, shouldRemoveEvent, wasShownAtMarketprotected long seed
protected transient BarEventSpec spec
protected java.lang.String specId
protected transient java.util.Random genRandom
protected transient HubMissionWithBarEvent mission
public HubMissionBarEventWrapper(java.lang.String specId)
protected java.lang.Object readResolve()
public java.lang.String getBarEventId()
getBarEventId in interface PortsideBarEventgetBarEventId in class BaseBarEventpublic boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket in interface PortsideBarEventshouldShowAtMarket in class BaseBarEventpublic java.lang.String getSpecId()
public HubMission getMission()
public void abortMission()
public void addPromptAndOption(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
addPromptAndOption in interface PortsideBarEventaddPromptAndOption in class BaseBarEvent