Package com.fs.starfarer.api.campaign
Interface VisualPanelAPI
public interface VisualPanelAPI
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
hideCore()
void
void
void
void
boolean
isShowingPersonInfo
(PersonAPI person) Only checks the "first" person, not second or third.void
void
void
void
setVisualFade
(float in, float out) void
showCore
(CoreUITabId tabId, SectorEntityToken other, boolean noCost, CoreInteractionListener listener) Deprecated.void
showCore
(CoreUITabId tabId, SectorEntityToken other, CampaignUIAPI.CoreUITradeMode mode, CoreInteractionListener listener) void
showCore
(CoreUITabId tabId, SectorEntityToken other, CoreInteractionListener listener) void
showCore
(CoreUITabId tabId, SectorEntityToken other, Object custom, CampaignUIAPI.CoreUITradeMode mode, CoreInteractionListener listener) void
showCore
(CoreUITabId tabId, SectorEntityToken other, Object custom, CoreInteractionListener listener) showCustomPanel
(float width, float height, CustomUIPanelPlugin plugin) void
void
showFleetInfo
(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two) void
showFleetInfo
(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context) void
showFleetInfo
(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context, boolean recoveryMode) void
showFleetMemberInfo
(FleetMemberAPI member) void
showFleetMemberInfo
(FleetMemberAPI member, boolean recoveryMode) void
showImagePortion
(String category, String id, float w, float h, float xOffset, float yOffset, float displayWidth, float displayHeight) void
showImagePortion
(String category, String id, float x, float y, float w, float h, float xOffset, float yOffset, float displayWidth, float displayHeight) void
void
showLargePlanet
(SectorEntityToken planet) void
showLoot
(String title, CargoAPI otherCargo, boolean canLeavePersonnel, boolean revealMode, boolean generatePods, CoreInteractionListener listener) void
showLoot
(String title, CargoAPI otherCargo, boolean generatePods, CoreInteractionListener listener) void
showMapMarker
(SectorEntityToken marker, String title, Color titleColor, boolean withIntel, String icon, String text, Set<String> intelTags) void
void
showPersonInfo
(PersonAPI person) void
showPersonInfo
(PersonAPI person, boolean minimalMode) void
showPersonInfo
(PersonAPI person, boolean minimalMode, boolean withRelBar) void
showPlanetInfo
(SectorEntityToken planet) void
showPreBattleJoinInfo
(String playerTitle, CampaignFleetAPI playerFleet, String titleOne, String titleTwo, FleetEncounterContextPlugin context) void
showSecondPerson
(PersonAPI person) void
showThirdPerson
(PersonAPI person)
-
Method Details
-
setVisualFade
void setVisualFade(float in, float out) -
showFleetInfo
-
showFleetInfo
void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context) -
showPersonInfo
-
showSecondPerson
-
hideSecondPerson
void hideSecondPerson() -
hideRankNamePost
void hideRankNamePost() -
showPlanetInfo
-
showFleetMemberInfo
-
showImagePortion
-
showImagePortion
-
showImageVisual
-
showCustomPanel
-
fadeVisualOut
void fadeVisualOut() -
showLoot
void showLoot(String title, CargoAPI otherCargo, boolean generatePods, CoreInteractionListener listener) -
showLoot
void showLoot(String title, CargoAPI otherCargo, boolean canLeavePersonnel, boolean revealMode, boolean generatePods, CoreInteractionListener listener) -
showCore
@Deprecated void showCore(CoreUITabId tabId, SectorEntityToken other, boolean noCost, CoreInteractionListener listener) Deprecated.The noCost parameter isn't used; (other.isFreeTranser() || other.getFaction().isNeutralFaction) is used instead. Use the other showCore() method.- Parameters:
tabId
-other
-noCost
-listener
-
-
showCore
-
showCore
void showCore(CoreUITabId tabId, SectorEntityToken other, CampaignUIAPI.CoreUITradeMode mode, CoreInteractionListener listener) -
hideCore
void hideCore() -
showNewGameOptionsPanel
-
showPersonInfo
-
showPreBattleJoinInfo
void showPreBattleJoinInfo(String playerTitle, CampaignFleetAPI playerFleet, String titleOne, String titleTwo, FleetEncounterContextPlugin context) -
showFleetMemberInfo
-
showFleetInfo
void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context, boolean recoveryMode) -
finishFadeFast
void finishFadeFast() -
saveCurrentVisual
void saveCurrentVisual() -
restoreSavedVisual
void restoreSavedVisual() -
closeCoreUI
void closeCoreUI() -
showPersonInfo
-
showThirdPerson
-
hideThirdPerson
void hideThirdPerson() -
showCore
void showCore(CoreUITabId tabId, SectorEntityToken other, Object custom, CoreInteractionListener listener) -
showCore
void showCore(CoreUITabId tabId, SectorEntityToken other, Object custom, CampaignUIAPI.CoreUITradeMode mode, CoreInteractionListener listener) -
showMapMarker
-
removeMapMarkerFromPersonInfo
void removeMapMarkerFromPersonInfo() -
showFirstPerson
void showFirstPerson() -
hideFirstPerson
void hideFirstPerson() -
showLargePlanet
-
isShowingPersonInfo
Only checks the "first" person, not second or third.
-