Starsector API
|
Public Member Functions | |
void | setVisualFade (float in, float out) |
void | showFleetInfo (String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two) |
void | showFleetInfo (String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context) |
void | showPersonInfo (PersonAPI person) |
void | showSecondPerson (PersonAPI person) |
void | hideSecondPerson () |
void | showPlanetInfo (SectorEntityToken planet) |
void | showFleetMemberInfo (FleetMemberAPI member) |
void | showImagePortion (String category, String id, float x, float y, float w, float h, float xOffset, float yOffset, float displayWidth, float displayHeight) |
void | showImagePortion (String category, String id, float w, float h, float xOffset, float yOffset, float displayWidth, float displayHeight) |
void | showImageVisual (InteractionDialogImageVisual visual) |
CustomPanelAPI | showCustomPanel (float width, float height, CustomUIPanelPlugin plugin) |
void | fadeVisualOut () |
void | showLoot (String title, CargoAPI otherCargo, boolean generatePods, CoreInteractionListener listener) |
void | showLoot (String title, CargoAPI otherCargo, boolean canLeavePersonnel, boolean revealMode, boolean generatePods, CoreInteractionListener listener) |
void | showCore (CoreUITabId tabId, SectorEntityToken other, boolean noCost, CoreInteractionListener listener) |
void | showCore (CoreUITabId tabId, SectorEntityToken other, CoreInteractionListener listener) |
void | showCore (CoreUITabId tabId, SectorEntityToken other, CoreUITradeMode mode, CoreInteractionListener listener) |
void | hideCore () |
void | showNewGameOptionsPanel (CharacterCreationData data) |
void | showPersonInfo (PersonAPI person, boolean minimalMode) |
void | showPreBattleJoinInfo (String playerTitle, CampaignFleetAPI playerFleet, String titleOne, String titleTwo, FleetEncounterContextPlugin context) |
void | showFleetMemberInfo (FleetMemberAPI member, boolean recoveryMode) |
void | showFleetInfo (String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context, boolean recoveryMode) |
void | finishFadeFast () |
void | saveCurrentVisual () |
void | restoreSavedVisual () |
void | closeCoreUI () |
void | showPersonInfo (PersonAPI person, boolean minimalMode, boolean withRelBar) |
void | showThirdPerson (PersonAPI person) |
void | hideThirdPerson () |
void | showCore (CoreUITabId tabId, SectorEntityToken other, Object custom, CoreInteractionListener listener) |
void | showCore (CoreUITabId tabId, SectorEntityToken other, Object custom, CoreUITradeMode mode, CoreInteractionListener listener) |
void | showMapMarker (SectorEntityToken marker, String title, Color titleColor, boolean withIntel, String icon, String text, Set< String > intelTags) |
void | removeMapMarkerFromPersonInfo () |
void | showFirstPerson () |
void | hideFirstPerson () |
void | showLargePlanet (SectorEntityToken planet) |
boolean | isShowingPersonInfo (PersonAPI person) |
Definition at line 13 of file VisualPanelAPI.java.
void com.fs.starfarer.api.campaign.VisualPanelAPI.closeCoreUI | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.fadeVisualOut | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.finishFadeFast | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.hideCore | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.hideFirstPerson | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.hideSecondPerson | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.hideThirdPerson | ( | ) |
boolean com.fs.starfarer.api.campaign.VisualPanelAPI.isShowingPersonInfo | ( | PersonAPI | person | ) |
Only checks the "first" person, not second or third.
void com.fs.starfarer.api.campaign.VisualPanelAPI.removeMapMarkerFromPersonInfo | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.restoreSavedVisual | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.saveCurrentVisual | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.setVisualFade | ( | float | in, |
float | out | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showCore | ( | CoreUITabId | tabId, |
SectorEntityToken | other, | ||
boolean | noCost, | ||
CoreInteractionListener | listener | ||
) |
The noCost parameter isn't used; (other.isFreeTranser() || other.getFaction().isNeutralFaction) is used instead. Use the other showCore() method.
tabId | |
other | |
noCost | |
listener |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showCore | ( | CoreUITabId | tabId, |
SectorEntityToken | other, | ||
CoreInteractionListener | listener | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showCore | ( | CoreUITabId | tabId, |
SectorEntityToken | other, | ||
CoreUITradeMode | mode, | ||
CoreInteractionListener | listener | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showCore | ( | CoreUITabId | tabId, |
SectorEntityToken | other, | ||
Object | custom, | ||
CoreInteractionListener | listener | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showCore | ( | CoreUITabId | tabId, |
SectorEntityToken | other, | ||
Object | custom, | ||
CoreUITradeMode | mode, | ||
CoreInteractionListener | listener | ||
) |
CustomPanelAPI com.fs.starfarer.api.campaign.VisualPanelAPI.showCustomPanel | ( | float | width, |
float | height, | ||
CustomUIPanelPlugin | plugin | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showFirstPerson | ( | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showFleetInfo | ( | String | titleOne, |
CampaignFleetAPI | one, | ||
String | titleTwo, | ||
CampaignFleetAPI | two | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showFleetInfo | ( | String | titleOne, |
CampaignFleetAPI | one, | ||
String | titleTwo, | ||
CampaignFleetAPI | two, | ||
FleetEncounterContextPlugin | context | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showFleetInfo | ( | String | titleOne, |
CampaignFleetAPI | one, | ||
String | titleTwo, | ||
CampaignFleetAPI | two, | ||
FleetEncounterContextPlugin | context, | ||
boolean | recoveryMode | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showFleetMemberInfo | ( | FleetMemberAPI | member | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showFleetMemberInfo | ( | FleetMemberAPI | member, |
boolean | recoveryMode | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showImagePortion | ( | String | category, |
String | id, | ||
float | w, | ||
float | h, | ||
float | xOffset, | ||
float | yOffset, | ||
float | displayWidth, | ||
float | displayHeight | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showImagePortion | ( | String | category, |
String | id, | ||
float | x, | ||
float | y, | ||
float | w, | ||
float | h, | ||
float | xOffset, | ||
float | yOffset, | ||
float | displayWidth, | ||
float | displayHeight | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showImageVisual | ( | InteractionDialogImageVisual | visual | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showLargePlanet | ( | SectorEntityToken | planet | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showLoot | ( | String | title, |
CargoAPI | otherCargo, | ||
boolean | canLeavePersonnel, | ||
boolean | revealMode, | ||
boolean | generatePods, | ||
CoreInteractionListener | listener | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showLoot | ( | String | title, |
CargoAPI | otherCargo, | ||
boolean | generatePods, | ||
CoreInteractionListener | listener | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showMapMarker | ( | SectorEntityToken | marker, |
String | title, | ||
Color | titleColor, | ||
boolean | withIntel, | ||
String | icon, | ||
String | text, | ||
Set< String > | intelTags | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showNewGameOptionsPanel | ( | CharacterCreationData | data | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showPersonInfo | ( | PersonAPI | person | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showPersonInfo | ( | PersonAPI | person, |
boolean | minimalMode | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showPersonInfo | ( | PersonAPI | person, |
boolean | minimalMode, | ||
boolean | withRelBar | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showPlanetInfo | ( | SectorEntityToken | planet | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showPreBattleJoinInfo | ( | String | playerTitle, |
CampaignFleetAPI | playerFleet, | ||
String | titleOne, | ||
String | titleTwo, | ||
FleetEncounterContextPlugin | context | ||
) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showSecondPerson | ( | PersonAPI | person | ) |
void com.fs.starfarer.api.campaign.VisualPanelAPI.showThirdPerson | ( | PersonAPI | person | ) |