Uses of Interface
com.fs.starfarer.api.campaign.PlanetAPI
Packages that use PlanetAPI
Package
Description
-
Uses of PlanetAPI in com.fs.starfarer.api.campaign
Methods in com.fs.starfarer.api.campaign that return PlanetAPIModifier and TypeMethodDescriptionLocationAPI.addPlanet
(String id, SectorEntityToken focus, String name, String type, float angle, float radius, float orbitRadius, float orbitDays) StarSystemAPI.getSecondary()
StarSystemAPI.getStar()
StarSystemAPI.getTertiary()
StarSystemAPI.initStar
(String id, String type, float radius, float hyperspaceLocationX, float hyperspaceLocationY, float coronaSize) Also automatically creates a wormhole/jump point leading to the star from hyperspace.StarSystemAPI.initStar
(String id, String type, float radius, float coronaSize, float windBurnLevel, float flareProbability, float crLossMult) Will not automatically generate a hyperspace anchor for the star.Deprecated.Methods in com.fs.starfarer.api.campaign that return types with arguments of type PlanetAPIMethods in com.fs.starfarer.api.campaign with parameters of type PlanetAPIModifier and TypeMethodDescriptionvoid
StarSystemAPI.setSecondary
(PlanetAPI secondary) void
void
StarSystemAPI.setTertiary
(PlanetAPI tertiary) -
Uses of PlanetAPI in com.fs.starfarer.api.campaign.econ
Methods in com.fs.starfarer.api.campaign.econ that return PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.campaign.listeners
Methods in com.fs.starfarer.api.campaign.listeners with parameters of type PlanetAPIModifier and TypeMethodDescriptionstatic void
ListenerUtil.reportPlayerColonizedPlanet
(PlanetAPI planet) void
PlayerColonizationListener.reportPlayerColonizedPlanet
(PlanetAPI planet) void
CoreDiscoverEntityPlugin.reportPlayerSurveyedPlanet
(PlanetAPI planet) static void
ListenerUtil.reportPlayerSurveyedPlanet
(PlanetAPI planet) void
SurveyPlanetListener.reportPlayerSurveyedPlanet
(PlanetAPI planet) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign
Methods in com.fs.starfarer.api.impl.campaign with parameters of type PlanetAPIModifier and TypeMethodDescriptionSurveyPluginImpl.getSurveyDataType
(PlanetAPI planet) void
SurveyPluginImpl.init
(CampaignFleetAPI fleet, PlanetAPI planet) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.abilities
Methods in com.fs.starfarer.api.impl.campaign.abilities that return PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.econ.impl
Methods in com.fs.starfarer.api.impl.campaign.econ.impl with parameters of type PlanetAPIModifier and TypeMethodDescriptionvoid
Mining.applyVisuals
(PlanetAPI planet) static void
PlanetaryShield.applyVisuals
(PlanetAPI planet) void
Mining.unapplyVisuals
(PlanetAPI planet) static void
PlanetaryShield.unapplyVisuals
(PlanetAPI planet) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.enc
Methods in com.fs.starfarer.api.impl.campaign.enc that return PlanetAPIModifier and TypeMethodDescriptionAbyssalRogueStellarObjectEPEC.addBlackHole
(StarSystemAPI system, StarSystemGenerator.GenContext context, HyperspaceAbyssPluginImpl.AbyssalEPData data) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.intel
Fields in com.fs.starfarer.api.impl.campaign.intel declared as PlanetAPIFields in com.fs.starfarer.api.impl.campaign.intel with type parameters of type PlanetAPIModifier and TypeFieldDescriptionprotected WeightedRandomPicker<PlanetAPI>
SurveyPlanetIntelCreator.planetPicker
Methods in com.fs.starfarer.api.impl.campaign.intel that return PlanetAPIModifier and TypeMethodDescriptionSurveyPlanetMissionIntel.getPlanet()
protected PlanetAPI
SurveyPlanetIntelCreator.pickPlanet()
Methods in com.fs.starfarer.api.impl.campaign.intel with parameters of type PlanetAPIModifier and TypeMethodDescriptionstatic boolean
SurveyPlanetIntelCreator.isValidMissionTarget
(PlanetAPI planet) void
SurveyPlanetMissionIntel.reportPlayerSurveyedPlanet
(PlanetAPI planet) Constructors in com.fs.starfarer.api.impl.campaign.intel with parameters of type PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.intel.bar.events
Fields in com.fs.starfarer.api.impl.campaign.intel.bar.events declared as PlanetAPIMethods in com.fs.starfarer.api.impl.campaign.intel.bar.events that return PlanetAPIConstructors in com.fs.starfarer.api.impl.campaign.intel.bar.events with parameters of type PlanetAPIModifierConstructorDescriptionPlanetaryShieldIntel
(PlanetAPI planet, PlanetaryShieldBarEvent event) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.intel.bar.events.historian
Methods in com.fs.starfarer.api.impl.campaign.intel.bar.events.historian that return PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.intel.misc
Fields in com.fs.starfarer.api.impl.campaign.intel.misc declared as PlanetAPIModifier and TypeFieldDescriptionprotected PlanetAPI
RemoteSurveyDataForPlanetIntel.planet
protected PlanetAPI
SurveyDataForPlanetIntel.planet
Constructors in com.fs.starfarer.api.impl.campaign.intel.misc with parameters of type PlanetAPIModifierConstructorDescriptionSurveyDataForPlanetIntel
(PlanetAPI planet, String longText, TextPanelAPI textPanel) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.missions
Fields in com.fs.starfarer.api.impl.campaign.missions declared as PlanetAPIModifier and TypeFieldDescriptionprotected PlanetAPI
RaidSecretOutpostMission.planet
protected PlanetAPI
RuinsDataSwapMission.planet
Methods in com.fs.starfarer.api.impl.campaign.missions that return PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.missions.academy
Fields in com.fs.starfarer.api.impl.campaign.missions.academy declared as PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.missions.hub
Fields in com.fs.starfarer.api.impl.campaign.missions.hub declared as PlanetAPIMethods in com.fs.starfarer.api.impl.campaign.missions.hub that return PlanetAPIModifier and TypeMethodDescriptionHubMissionWithSearch.pickPlanet()
HubMissionWithSearch.pickPlanet
(boolean resetSearch) Methods in com.fs.starfarer.api.impl.campaign.missions.hub with parameters of type PlanetAPIModifier and TypeMethodDescriptionBaseHubMission.getGoToPlanetTextPre
(PlanetAPI planet) BaseHubMission.getGoToPlanetTextShort
(PlanetAPI planet) boolean
HubMissionWithSearch.MultiplePlanetRequirements.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.PlanetFullySurveyedReq.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.PlanetInDirectionOfOtherMissionsReq.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.PlanetIsGasGiantReq.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.PlanetIsPopulatedReq.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.PlanetOrbitIsNotNearJumpPoint.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.PlanetRequirement.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.PlanetUnexploredRuinsReq.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.PlanetUnsurveyedReq.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.RequiredPlanetConditions.planetMatchesRequirement
(PlanetAPI planet) boolean
HubMissionWithSearch.RequiredPlanetTags.planetMatchesRequirement
(PlanetAPI planet) void
HubMissionWithSearch.requirePlanetNot
(PlanetAPI planet) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.plog
Methods in com.fs.starfarer.api.impl.campaign.plog with parameters of type PlanetAPIModifier and TypeMethodDescriptionvoid
PlaythroughLog.reportPlayerColonizedPlanet
(PlanetAPI planet) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.procgen
Fields in com.fs.starfarer.api.impl.campaign.procgen declared as PlanetAPIModifier and TypeFieldDescriptionStarSystemGenerator.GenContext.parent
protected PlanetAPI
EventTestPluginImpl.planet
protected PlanetAPI
ProcGenTestPluginImpl.planet
StarSystemGenerator.GeneratedPlanet.planet
protected PlanetAPI
StarSystemGenerator.secondary
protected PlanetAPI
StarSystemGenerator.star
protected PlanetAPI
StarSystemGenerator.tertiary
Fields in com.fs.starfarer.api.impl.campaign.procgen with type parameters of type PlanetAPIModifier and TypeFieldDescriptionprotected Map<SectorEntityToken,
PlanetAPI> Constellation.lagrangeParentMap
protected Map<SectorEntityToken,
PlanetAPI> StarSystemGenerator.lagrangeParentMap
Methods in com.fs.starfarer.api.impl.campaign.procgen that return PlanetAPIModifier and TypeMethodDescriptionprotected PlanetAPI
StarSystemGenerator.addRandomStar
(String id, String name) Methods in com.fs.starfarer.api.impl.campaign.procgen that return types with arguments of type PlanetAPIModifier and TypeMethodDescriptionConstellation.getLagrangeParentMap()
StarSystemGenerator.getLagrangeParentMap()
Methods in com.fs.starfarer.api.impl.campaign.procgen with parameters of type PlanetAPIModifier and TypeMethodDescriptionvoid
ColdConditionGenerator.addConditions
(Set<String> conditionsSoFar, StarSystemGenerator.GenContext context, PlanetAPI planet) void
GravityConditionGenerator.addConditions
(Set<String> conditionsSoFar, StarSystemGenerator.GenContext context, PlanetAPI planet) void
HotConditionGenerator.addConditions
(Set<String> conditionsSoFar, StarSystemGenerator.GenContext context, PlanetAPI planet) void
LightConditionGenerator.addConditions
(Set<String> conditionsSoFar, StarSystemGenerator.GenContext context, PlanetAPI planet) void
PlanetConditionGenerator.ConditionGenerator.addConditions
(Set<String> conditionsSoFar, StarSystemGenerator.GenContext context, PlanetAPI planet) void
RadiationConditionGenerator.addConditions
(Set<String> conditionsSoFar, StarSystemGenerator.GenContext context, PlanetAPI planet) protected void
StarSystemGenerator.addFarStar
(PlanetAPI farStar, float orbitAngle, float baseOrbitRadius, float orbitPeriod) PlanetConditionGenerator.createContext
(PlanetAPI planet, StarAge age) static void
PlanetConditionGenerator.generateConditionsForPlanet
(PlanetAPI planet, StarAge age) static void
PlanetConditionGenerator.generateConditionsForPlanet
(StarSystemGenerator.GenContext context, PlanetAPI planet) static void
PlanetConditionGenerator.generateConditionsForPlanet
(StarSystemGenerator.GenContext context, PlanetAPI planet, StarAge age) static WeightedRandomPicker<String>
PlanetConditionGenerator.getGroupPicker
(String group, Set<String> conditionsSoFar, StarSystemGenerator.GenContext context, PlanetAPI planet) protected Color
StarSystemGenerator.pickLightColorForStar
(PlanetAPI star) protected void
StarSystemGenerator.setBlackHoleIfBlackHole
(PlanetAPI star) protected void
StarSystemGenerator.setPulsarIfNeutron
(PlanetAPI star) Method parameters in com.fs.starfarer.api.impl.campaign.procgen with type arguments of type PlanetAPIModifier and TypeMethodDescriptionvoid
Constellation.setLagrangeParentMap
(Map<SectorEntityToken, PlanetAPI> lagrangeParentMap) Constructors in com.fs.starfarer.api.impl.campaign.procgen with parameters of type PlanetAPIModifierConstructorDescriptionGenContext
(StarSystemGenerator gen, StarSystemAPI system, SectorEntityToken center, StarGenDataSpec starData, PlanetAPI parent, int orbitIndex, String age, float currentRadius, float maxOrbitRadius, String parentCategory, int parentOrbitIndex) GeneratedPlanet
(SectorEntityToken parent, PlanetAPI planet, boolean isMoon, float orbitDays, float orbitRadius, float orbitAngle) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.procgen.themes
Fields in com.fs.starfarer.api.impl.campaign.procgen.themes with type parameters of type PlanetAPIModifier and TypeFieldDescriptionBaseThemeGenerator.StarSystemData.gasGiants
BaseThemeGenerator.StarSystemData.habitable
BaseThemeGenerator.StarSystemData.planets
BaseThemeGenerator.StarSystemData.resourceRich
BaseThemeGenerator.StarSystemData.stars
Methods in com.fs.starfarer.api.impl.campaign.procgen.themes that return PlanetAPIModifier and TypeMethodDescriptionstatic PlanetAPI
DerelictThemeGenerator.findInterestingPlanet
(List<StarSystemAPI> systems, Set<PlanetAPI> exclude) static PlanetAPI
DerelictThemeGenerator.findInterestingPlanet
(List<StarSystemAPI> systems, Set<PlanetAPI> exclude, boolean includeKnown, boolean includeRuins, Random random) Methods in com.fs.starfarer.api.impl.campaign.procgen.themes with parameters of type PlanetAPIModifier and TypeMethodDescriptionvoid
static String
DerelictThemeGenerator.getInterestingCondition
(PlanetAPI planet, boolean includeRuins) BaseThemeGenerator.pickRuinsType
(PlanetAPI planet) boolean
BaseThemeGenerator.shouldHaveDecivilized
(PlanetAPI planet, String ruins) Method parameters in com.fs.starfarer.api.impl.campaign.procgen.themes with type arguments of type PlanetAPIModifier and TypeMethodDescriptionstatic PlanetAPI
DerelictThemeGenerator.findInterestingPlanet
(List<StarSystemAPI> systems, Set<PlanetAPI> exclude) static PlanetAPI
DerelictThemeGenerator.findInterestingPlanet
(List<StarSystemAPI> systems, Set<PlanetAPI> exclude, boolean includeKnown, boolean includeRuins, Random random) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.rulecmd.salvage
Fields in com.fs.starfarer.api.impl.campaign.rulecmd.salvage declared as PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.rulecmd.salvage.special
Methods in com.fs.starfarer.api.impl.campaign.rulecmd.salvage.special with parameters of type PlanetAPIModifier and TypeMethodDescriptionstatic String
BreadcrumbSpecial.getStarColorName
(PlanetAPI star) static String
DomainSurveyDerelictSpecial.getStarDescription
(PlanetAPI star) static String
BreadcrumbSpecial.getStarTypeName
(PlanetAPI star) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.tutorial
Fields in com.fs.starfarer.api.impl.campaign.tutorial declared as PlanetAPIModifier and TypeFieldDescriptionprotected PlanetAPI
CampaignTutorialScript.ancyra
protected PlanetAPI
TutorialMissionEvent.ancyra
protected PlanetAPI
TutorialMissionIntel.ancyra
protected PlanetAPI
TutorialMissionEvent.jangala
protected PlanetAPI
TutorialMissionIntel.jangala
protected PlanetAPI
TutorialMissionEvent.pontus
protected PlanetAPI
TutorialMissionIntel.pontus
protected PlanetAPI
TutorialMissionEvent.tetra
protected PlanetAPI
TutorialMissionIntel.tetra
Methods in com.fs.starfarer.api.impl.campaign.tutorial with parameters of type PlanetAPIModifier and TypeMethodDescriptionstatic PersonAPI
TutorialMissionEvent.createMainContact
(PlanetAPI ancyra) static PersonAPI
TutorialMissionIntel.createMainContact
(PlanetAPI ancyra) -
Uses of PlanetAPI in com.fs.starfarer.api.impl.campaign.world
Methods in com.fs.starfarer.api.impl.campaign.world with parameters of type PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.impl.combat
Fields in com.fs.starfarer.api.impl.combat declared as PlanetAPIModifier and TypeFieldDescriptionprotected PlanetAPI
BattleCreationPluginImpl.NearbyPlanetData.planet
Methods in com.fs.starfarer.api.impl.combat that return PlanetAPIModifier and TypeMethodDescriptionprotected PlanetAPI
BattleCreationPluginImpl.getClosestPlanet
(CampaignFleetAPI playerFleet) Constructors in com.fs.starfarer.api.impl.combat with parameters of type PlanetAPIModifierConstructorDescriptionNearbyPlanetData
(org.lwjgl.util.vector.Vector2f offset, PlanetAPI planet) -
Uses of PlanetAPI in com.fs.starfarer.api.mission
Methods in com.fs.starfarer.api.mission with parameters of type PlanetAPI -
Uses of PlanetAPI in com.fs.starfarer.api.plugins
Methods in com.fs.starfarer.api.plugins with parameters of type PlanetAPIModifier and TypeMethodDescriptiondefault int
SurveyPlugin.getSurveyDataScore
(PlanetAPI planet) SurveyPlugin.getSurveyDataType
(PlanetAPI planet) void
SurveyPlugin.init
(CampaignFleetAPI fleet, PlanetAPI planet) -
Uses of PlanetAPI in com.fs.starfarer.api.ui
Methods in com.fs.starfarer.api.ui with parameters of type PlanetAPIModifier and TypeMethodDescriptionvoid
TooltipMakerAPI.showFullSurveyReqs
(PlanetAPI planet, boolean withText, float pad) void
TooltipMakerAPI.showPlanetInfo
(PlanetAPI planet, float pad) void
TooltipMakerAPI.showPlanetInfo
(PlanetAPI planet, float w, float h, boolean withName, float pad) void
TooltipMakerAPI.showPlanetInfo
(PlanetAPI planet, float w, float h, TooltipMakerAPI.PlanetInfoParams params, float pad) -
Uses of PlanetAPI in com.fs.starfarer.api.util
Methods in com.fs.starfarer.api.util that return PlanetAPIMethods in com.fs.starfarer.api.util with parameters of type PlanetAPIModifier and TypeMethodDescriptionstatic void
Misc.addSurveyDataFor
(PlanetAPI planet, TextPanelAPI text) static StarCoronaTerrainPlugin
Misc.getCoronaFor
(PlanetAPI star) static int
Misc.getEstimatedOrbitIndex
(PlanetAPI planet) static JumpPointAPI
Misc.getJumpPointTo
(PlanetAPI star) static MagneticFieldTerrainPlugin
Misc.getMagneticFieldFor
(PlanetAPI planet) static String
Misc.getPlanetSurveyClass
(PlanetAPI planet) static PulsarBeamTerrainPlugin
Misc.getPulsarFor
(PlanetAPI star) static String
static void
Misc.initConditionMarket
(PlanetAPI planet) static void
Misc.initEconomyMarket
(PlanetAPI planet)