Starsector API
Loading...
Searching...
No Matches
VisualPanelAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.campaign;
2
3import java.util.Set;
4
5import java.awt.Color;
6
7import com.fs.starfarer.api.InteractionDialogImageVisual;
8import com.fs.starfarer.api.campaign.CampaignUIAPI.CoreUITradeMode;
9import com.fs.starfarer.api.characters.CharacterCreationData;
10import com.fs.starfarer.api.characters.PersonAPI;
11import com.fs.starfarer.api.fleet.FleetMemberAPI;
12import com.fs.starfarer.api.ui.CustomPanelAPI;
13
14public interface VisualPanelAPI {
15 void setVisualFade(float in, float out);
16
17 void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two);
18 void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context);
23
26
27 void showImagePortion(String category, String id,
28 float x, float y, float w, float h,
29 float xOffset, float yOffset,
30 float displayWidth, float displayHeight);
31 void showImagePortion(String category, String id,
32 float w, float h,
33 float xOffset, float yOffset,
34 float displayWidth, float displayHeight);
36
37 CustomPanelAPI showCustomPanel(float width, float height, CustomUIPanelPlugin plugin);
38
40
41 void showLoot(String title, CargoAPI otherCargo, boolean generatePods, CoreInteractionListener listener);
42 void showLoot(String title, CargoAPI otherCargo, boolean canLeavePersonnel, boolean revealMode, boolean generatePods, CoreInteractionListener listener);
43
52 @Deprecated void showCore(CoreUITabId tabId, SectorEntityToken other, boolean noCost, CoreInteractionListener listener);
53
55 void showCore(CoreUITabId tabId, SectorEntityToken other, CoreUITradeMode mode, CoreInteractionListener listener);
56 void hideCore();
57
59
60 void showPersonInfo(PersonAPI person, boolean minimalMode);
61
62 void showPreBattleJoinInfo(String playerTitle, CampaignFleetAPI playerFleet, String titleOne, String titleTwo,
64
65 void showFleetMemberInfo(FleetMemberAPI member, boolean recoveryMode);
66
67 void showFleetInfo(String titleOne, CampaignFleetAPI one, String titleTwo, CampaignFleetAPI two, FleetEncounterContextPlugin context, boolean recoveryMode);
68
70
72
74
76
77 void showPersonInfo(PersonAPI person, boolean minimalMode, boolean withRelBar);
80
81 void showCore(CoreUITabId tabId, SectorEntityToken other, Object custom, CoreInteractionListener listener);
82 void showCore(CoreUITabId tabId, SectorEntityToken other, Object custom, CoreUITradeMode mode, CoreInteractionListener listener);
83
84 void showMapMarker(SectorEntityToken marker, String title, Color titleColor,
85 boolean withIntel, String icon, String text, Set<String> intelTags);
86
88
91
93
98}
99
100
101
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)