Starsector API
Loading...
Searching...
No Matches
VisualPanelAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.campaign;
2
3import java.awt.Color;
4import java.util.Set;
5
6import com.fs.starfarer.api.InteractionDialogImageVisual;
7import com.fs.starfarer.api.campaign.CampaignUIAPI.CoreUITradeMode;
8import com.fs.starfarer.api.characters.CharacterCreationData;
9import com.fs.starfarer.api.characters.PersonAPI;
10import com.fs.starfarer.api.fleet.FleetMemberAPI;
11import com.fs.starfarer.api.ui.CustomPanelAPI;
12
13public interface VisualPanelAPI {
14 void setVisualFade(float in, float out);
15
16 void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two);
17 void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context);
18 void showPersonInfo(PersonAPI person);
19 void showSecondPerson(PersonAPI person);
22 void showFleetMemberInfo(FleetMemberAPI member);
23
24 void showImagePortion(String category, String id,
25 float x, float y, float w, float h,
26 float xOffset, float yOffset,
27 float displayWidth, float displayHeight);
28 void showImagePortion(String category, String id,
29 float w, float h,
30 float xOffset, float yOffset,
31 float displayWidth, float displayHeight);
33
34 CustomPanelAPI showCustomPanel(float width, float height, CustomUIPanelPlugin plugin);
35
37
38 void showLoot(String title, CargoAPI otherCargo, boolean generatePods, CoreInteractionListener listener);
39 void showLoot(String title, CargoAPI otherCargo, boolean canLeavePersonnel, boolean revealMode, boolean generatePods, CoreInteractionListener listener);
40
49 @Deprecated void showCore(CoreUITabId tabId, SectorEntityToken other, boolean noCost, CoreInteractionListener listener);
50
52 void showCore(CoreUITabId tabId, SectorEntityToken other, CoreUITradeMode mode, CoreInteractionListener listener);
53 void hideCore();
54
55 void showNewGameOptionsPanel(CharacterCreationData data);
56
57 void showPersonInfo(PersonAPI person, boolean minimalMode);
58
59 void showPreBattleJoinInfo(String playerTitle, CampaignFleetAPI playerFleet, String titleOne, String titleTwo,
61
62 void showFleetMemberInfo(FleetMemberAPI member, boolean recoveryMode);
63
64 void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context, boolean recoveryMode);
65
67
69
71
73
74 void showPersonInfo(PersonAPI person, boolean minimalMode, boolean withRelBar);
75 void showThirdPerson(PersonAPI person);
77
78 void showCore(CoreUITabId tabId, SectorEntityToken other, Object custom, CoreInteractionListener listener);
79 void showCore(CoreUITabId tabId, SectorEntityToken other, Object custom, CoreUITradeMode mode, CoreInteractionListener listener);
80
81 void showMapMarker(SectorEntityToken marker, String title, Color titleColor,
82 boolean withIntel, String icon, String text, Set<String> intelTags);
83
85
88
90
94 boolean isShowingPersonInfo(PersonAPI person);
95}
96
97
98
void showCore(CoreUITabId tabId, SectorEntityToken other, boolean noCost, CoreInteractionListener listener)
void showPlanetInfo(SectorEntityToken planet)
void setVisualFade(float in, float out)
void showLoot(String title, CargoAPI otherCargo, boolean canLeavePersonnel, boolean revealMode, boolean generatePods, CoreInteractionListener listener)
void showCore(CoreUITabId tabId, SectorEntityToken other, Object custom, CoreUITradeMode mode, CoreInteractionListener listener)
void showFleetMemberInfo(FleetMemberAPI member, boolean recoveryMode)
void showImagePortion(String category, String id, float x, float y, float w, float h, float xOffset, float yOffset, float displayWidth, float displayHeight)
void showMapMarker(SectorEntityToken marker, String title, Color titleColor, boolean withIntel, String icon, String text, Set< String > intelTags)
boolean isShowingPersonInfo(PersonAPI person)
void showLoot(String title, CargoAPI otherCargo, boolean generatePods, CoreInteractionListener listener)
void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context)
void showCore(CoreUITabId tabId, SectorEntityToken other, CoreUITradeMode mode, CoreInteractionListener listener)
void showImagePortion(String category, String id, float w, float h, float xOffset, float yOffset, float displayWidth, float displayHeight)
void showNewGameOptionsPanel(CharacterCreationData data)
CustomPanelAPI showCustomPanel(float width, float height, CustomUIPanelPlugin plugin)
void showPersonInfo(PersonAPI person, boolean minimalMode)
void showPersonInfo(PersonAPI person, boolean minimalMode, boolean withRelBar)
void showLargePlanet(SectorEntityToken planet)
void showCore(CoreUITabId tabId, SectorEntityToken other, Object custom, CoreInteractionListener listener)
void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context, boolean recoveryMode)
void showCore(CoreUITabId tabId, SectorEntityToken other, CoreInteractionListener listener)
void showFleetMemberInfo(FleetMemberAPI member)
void showImageVisual(InteractionDialogImageVisual visual)
void showPreBattleJoinInfo(String playerTitle, CampaignFleetAPI playerFleet, String titleOne, String titleTwo, FleetEncounterContextPlugin context)
void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two)