1package com.fs.starfarer.api.campaign;
7import com.fs.starfarer.api.Script;
8import com.fs.starfarer.api.campaign.comm.CommMessageAPI.MessageClickAction;
9import com.fs.starfarer.api.campaign.comm.IntelInfoPlugin;
10import com.fs.starfarer.api.combat.BattleCreationContext;
11import com.fs.starfarer.api.loading.HullModSpecAPI;
12import com.fs.starfarer.api.ui.HintPanelAPI;
13import com.fs.starfarer.api.util.FaderUtil;
16 public static enum CoreUITradeMode {
22 public static interface DismissDialogDelegate {
23 void dialogDismissed();
30 void addMessage(String text, Color color, String h1, String h2, Color hc1, Color hc2);
void showHelpPopupIfPossible(String id)
boolean showConfirmDialog(String message, String ok, String cancel, float width, float height, Script onOk, Script onCancel)
void setSuppressFuelRangeRenderingOneFrame(boolean suppressFuelRangeRenderingOneFrame)
HintPanelAPI getHintPanel()
void suppressMusic(float maxLevel)
boolean showConfirmDialog(String message, String ok, String cancel, Script onOk, Script onCancel)
void showCoreUITab(CoreUITabId tab, Object custom)
List< String > getAvailableHullModIds()
void restartEncounterMusic(SectorEntityToken interactionTarget)
InteractionDialogAPI getCurrentInteractionDialog()
boolean showInteractionDialog(InteractionDialogPlugin plugin, SectorEntityToken interactionTarget)
SectorEntityToken getCurrentCourseTarget()
void addMessage(String text)
void setZoomFactor(float zoomFactor)
List< HullModSpecAPI > getAvailableHullModsCopy()
void cmdExitWithoutSaving()
boolean isHullModAvailable(String id)
void setMaxZoomFactor(float max)
void addMessage(IntelInfoPlugin intel, MessageClickAction action)
boolean isPlayerFleetFollowingMouse()
CoreUITabId getCurrentCoreTab()
MessageDisplayAPI getMessageDisplay()
SectorEntityToken getNextStepForCourse(SectorEntityToken courseTarget)
void setMinZoomFactor(float min)
void showMessageDialog(String message)
void setMaxIntelMapIcons(int maxIntelMapIcons)
void setHideUI(boolean hideUI)
boolean showInteractionDialog(SectorEntityToken interactionTarget)
float getLastLegDistance(SectorEntityToken courseTarget)
boolean isSuppressFuelRangeRenderingOneFrame()
void addMessage(String text, Color color)
boolean showInteractionDialogFromCargo(InteractionDialogPlugin plugin, SectorEntityToken interactionTarget, DismissDialogDelegate delegate)
void addMessage(String text, Color color, String h1, String h2, Color hc1, Color hc2)
void startBattle(BattleCreationContext context)
FaderUtil getSharedFader()
boolean isShowingDialog()
void setDisallowPlayerInteractionsForOneFrame()
String getNameForCourseTarget(SectorEntityToken entity, boolean isEndpoint)
boolean isFollowingDirectCommand()
int getMaxIntelMapIcons()
boolean showPlayerFactionConfigDialog()
void addMessage(IntelInfoPlugin intel, MessageClickAction action, Object custom)
void setFollowingDirectCommand(boolean followingDirectCommand)
void layInCourseForNextStep(SectorEntityToken courseTarget)
void addMessage(IntelInfoPlugin intel)
void showCoreUITab(CoreUITabId tab)
SectorEntityToken getUltimateCourseTarget()