Starsector API
Loading...
Searching...
No Matches
HubMissionWithBarEvent.java
Go to the documentation of this file.
1package com.fs.starfarer.api.impl.campaign.missions.hub;
2
3import com.fs.starfarer.api.campaign.econ.MarketAPI;
4
5
6
7public abstract class HubMissionWithBarEvent extends HubMissionWithSearch {
8
18 public boolean shouldShowAtMarket(MarketAPI market) {
19 return true;
20 }
21
22// transient protected InteractionDialogAPI dialog;
23// transient protected TextPanelAPI text;
24// transient protected OptionPanelAPI options;
25// transient protected Map<String, MemoryAPI> memoryMap;
26//
27// public void init(InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap) {
35// }
36//
37// public boolean shouldShowAtMarket(MarketAPI market) {
38// return true;
39// }
40//
41// public void addPromptAndOption(InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap) {
42// setMissionId("cheapCom");
43// setGenRandom(new Random());
44// create();
45// setGenRandom(null);
46// if (isMissionCreationAborted()) return;
47//
48// updateInteractionData(dialog, memoryMap);
49//
50// FireBest.fire(null, dialog, memoryMap, getTriggerPrefix() + "_blurbBar true");
51// FireBest.fire(null, dialog, memoryMap, getTriggerPrefix() + "_optionBar true");
52// }
53//
54// public void wasShownAtMarket(MarketAPI market) {
55//
56// }
57//
58// public boolean endWithContinue() {
59// return false;
60// }
61//
62// public boolean isDialogFinished() {
63// return false;
64// }
65//
66// public void optionSelected(String optionText, Object optionData) {
67//
68// }
69//
70// public boolean shouldRemoveEvent() {
71// return false;
72// }
73
74}