|
Starsector API
|
Classes | |
| enum | VisibilityLevel |
Copyright 2012 Fractal Softworks, LLC
Definition at line 27 of file SectorEntityToken.java.
| void com.fs.starfarer.api.campaign.SectorEntityToken.addAbility | ( | String | id | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addDropRandom | ( | DropData | data | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addDropRandom | ( | String | group, |
| int | chances ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addDropRandom | ( | String | group, |
| int | chances, | ||
| int | value ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addDropValue | ( | DropData | data | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addDropValue | ( | String | group, |
| int | value ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addFloatingText | ( | String | text, |
| Color | color, | ||
| float | duration ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addFloatingText | ( | String | text, |
| Color | color, | ||
| float | duration, | ||
| boolean | showWhenOnlySensorContact ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addScript | ( | EveryFrameScript | script | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.addTag | ( | String | tag | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.advance | ( | float | amount | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.autoUpdateHyperLocationBasedOnInSystemEntityAtRadius | ( | SectorEntityToken | entity, |
| float | radius ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.clearAbilities | ( | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.clearFloatingText | ( | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.clearTags | ( | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.fadeInIndicator | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| void com.fs.starfarer.api.campaign.SectorEntityToken.fadeOutIndicator | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| void com.fs.starfarer.api.campaign.SectorEntityToken.forceOutIndicator | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| void com.fs.starfarer.api.campaign.SectorEntityToken.forceSensorContactFaderBrightness | ( | float | b | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.forceSensorFaderBrightness | ( | float | b | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.forceSensorFaderOut | ( | ) |
| Map< String, AbilityPlugin > com.fs.starfarer.api.campaign.SectorEntityToken.getAbilities | ( | ) |
| AbilityPlugin com.fs.starfarer.api.campaign.SectorEntityToken.getAbility | ( | String | id | ) |
| PersonAPI com.fs.starfarer.api.campaign.SectorEntityToken.getActivePerson | ( | ) |
| Boolean com.fs.starfarer.api.campaign.SectorEntityToken.getAlwaysUseSensorFaderBrightness | ( | ) |
| String com.fs.starfarer.api.campaign.SectorEntityToken.getAutogenJumpPointNameInHyper | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getBaseSensorRangeToDetect | ( | float | sensorProfile | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| CargoAPI com.fs.starfarer.api.campaign.SectorEntityToken.getCargo | ( | ) |
For the player fleet, the actual cargo. For AI fleets, only non-logistics-related stuff - i.e. goods being carried, etc. NOT supplies/fuel/crew/etc.
| float com.fs.starfarer.api.campaign.SectorEntityToken.getCircularOrbitAngle | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getCircularOrbitPeriod | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getCircularOrbitRadius | ( | ) |
| Constellation com.fs.starfarer.api.campaign.SectorEntityToken.getConstellation | ( | ) |
| LocationAPI com.fs.starfarer.api.campaign.SectorEntityToken.getContainingLocation | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| Map< String, Object > com.fs.starfarer.api.campaign.SectorEntityToken.getCustomData | ( | ) |
| String com.fs.starfarer.api.campaign.SectorEntityToken.getCustomDescriptionId | ( | ) |
| CustomEntitySpecAPI com.fs.starfarer.api.campaign.SectorEntityToken.getCustomEntitySpec | ( | ) |
| String com.fs.starfarer.api.campaign.SectorEntityToken.getCustomEntityType | ( | ) |
| InteractionDialogImageVisual com.fs.starfarer.api.campaign.SectorEntityToken.getCustomInteractionDialogImageVisual | ( | ) |
| CustomCampaignEntityPlugin com.fs.starfarer.api.campaign.SectorEntityToken.getCustomPlugin | ( | ) |
Only returns non-null for custom campaign entities with a plugin.
| StatBonus com.fs.starfarer.api.campaign.SectorEntityToken.getDetectedRangeMod | ( | ) |
| Float com.fs.starfarer.api.campaign.SectorEntityToken.getDetectionRangeDetailsOverrideMult | ( | ) |
| Float com.fs.starfarer.api.campaign.SectorEntityToken.getDiscoveryXP | ( | ) |
| List< DropData > com.fs.starfarer.api.campaign.SectorEntityToken.getDropRandom | ( | ) |
| List< DropData > com.fs.starfarer.api.campaign.SectorEntityToken.getDropValue | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getExtendedDetectedAtRange | ( | ) |
Applies to the 5000/2000 max sensor range limit in normal/hyper space. Does not, by itself, increase the range at which the entity is detected, just applies to the limit.
| float com.fs.starfarer.api.campaign.SectorEntityToken.getFacing | ( | ) |
| FactionAPI com.fs.starfarer.api.campaign.SectorEntityToken.getFaction | ( | ) |
| String com.fs.starfarer.api.campaign.SectorEntityToken.getFullName | ( | ) |
| String com.fs.starfarer.api.campaign.SectorEntityToken.getId | ( | ) |
| Color com.fs.starfarer.api.campaign.SectorEntityToken.getIndicatorColor | ( | ) |
| Color com.fs.starfarer.api.campaign.SectorEntityToken.getLightColor | ( | ) |
| SectorEntityToken com.fs.starfarer.api.campaign.SectorEntityToken.getLightSource | ( | ) |
| Vector2f com.fs.starfarer.api.campaign.SectorEntityToken.getLocation | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| Vector2f com.fs.starfarer.api.campaign.SectorEntityToken.getLocationInHyperspace | ( | ) |
The location in hyperspace of the LocationAPI containing this entity, or this entity's location if it's already in hyperspace.
| MarketAPI com.fs.starfarer.api.campaign.SectorEntityToken.getMarket | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getMaxSensorRangeToDetect | ( | SectorEntityToken | other | ) |
Does not includes fleet radii - i.e. the returned range is from outer edge to outer edge.
| MemoryAPI com.fs.starfarer.api.campaign.SectorEntityToken.getMemory | ( | ) |
Will cause the relevant updateFacts() methods to run to update the entity's perception of the world. Return value should be stored and re-used rather than calling this method again, unless a fact update is needed.
Implements com.fs.starfarer.api.campaign.rules.HasMemory.
| MemoryAPI com.fs.starfarer.api.campaign.SectorEntityToken.getMemoryWithoutUpdate | ( | ) |
Get the memory without updating facts.
Implements com.fs.starfarer.api.campaign.rules.HasMemory.
| String com.fs.starfarer.api.campaign.SectorEntityToken.getName | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| OrbitAPI com.fs.starfarer.api.campaign.SectorEntityToken.getOrbit | ( | ) |
| SectorEntityToken com.fs.starfarer.api.campaign.SectorEntityToken.getOrbitFocus | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getRadius | ( | ) |
| Float com.fs.starfarer.api.campaign.SectorEntityToken.getSalvageXP | ( | ) |
| List< EveryFrameScript > com.fs.starfarer.api.campaign.SectorEntityToken.getScripts | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getSensorContactFaderBrightness | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getSensorFaderBrightness | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getSensorProfile | ( | ) |
| StatBonus com.fs.starfarer.api.campaign.SectorEntityToken.getSensorRangeMod | ( | ) |
| float com.fs.starfarer.api.campaign.SectorEntityToken.getSensorStrength | ( | ) |
| StarSystemAPI com.fs.starfarer.api.campaign.SectorEntityToken.getStarSystem | ( | ) |
| Collection< String > com.fs.starfarer.api.campaign.SectorEntityToken.getTags | ( | ) |
| Vector2f com.fs.starfarer.api.campaign.SectorEntityToken.getVelocity | ( | ) |
| VisibilityLevel com.fs.starfarer.api.campaign.SectorEntityToken.getVisibilityLevelOfPlayerFleet | ( | ) |
| VisibilityLevel com.fs.starfarer.api.campaign.SectorEntityToken.getVisibilityLevelTo | ( | SectorEntityToken | other | ) |
| VisibilityLevel com.fs.starfarer.api.campaign.SectorEntityToken.getVisibilityLevelToPlayerFleet | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.hasAbility | ( | String | id | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.hasDiscoveryXP | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.hasSalvageXP | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.hasScriptOfClass | ( | Class | c | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.hasSensorProfile | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.hasSensorStrength | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.hasTag | ( | String | tag | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isAlive | ( | ) |
Returns false if: 1) getContainingLocation() is null, or 2) getContainingLocation() doesn't contain this entity
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isDiscoverable | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isExpired | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isFreeTransfer | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isInCurrentLocation | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isInHyperspace | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isInOrNearSystem | ( | StarSystemAPI | system | ) |
True if in system or within commRelayRangeAroundSystem light-years.
| system |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isPlayerFleet | ( | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isSkipForJumpPointAutoGen | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isStar | ( | ) |
Implemented in com.fs.starfarer.api.campaign.PlanetAPI.
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isSystemCenter | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isTransponderOn | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isVisibleToPlayerFleet | ( | ) |
| boolean com.fs.starfarer.api.campaign.SectorEntityToken.isVisibleToSensorsOf | ( | SectorEntityToken | other | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.removeAbility | ( | String | id | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.removeScript | ( | EveryFrameScript | script | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.removeScriptsOfClass | ( | Class | c | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.removeTag | ( | String | tag | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setActivePerson | ( | PersonAPI | activePerson | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setAlwaysUseSensorFaderBrightness | ( | Boolean | alwaysUseSensorFaderBrightness | ) |
Always use sensor fader brightness for rendering circular indicator around the entity.
| alwaysUseSensorFaderBrightness |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setAutogenJumpPointNameInHyper | ( | String | autogenJumpPointNameInHyper | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setCircularOrbit | ( | SectorEntityToken | focus, |
| float | angle, | ||
| float | orbitRadius, | ||
| float | orbitDays ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setCircularOrbitAngle | ( | float | angle | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setCircularOrbitPointingDown | ( | SectorEntityToken | focus, |
| float | angle, | ||
| float | orbitRadius, | ||
| float | orbitDays ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setCircularOrbitWithSpin | ( | SectorEntityToken | focus, |
| float | angle, | ||
| float | orbitRadius, | ||
| float | orbitDays, | ||
| float | minSpin, | ||
| float | maxSpin ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setContainingLocation | ( | LocationAPI | location | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setCustomDescriptionId | ( | String | customDescriptionId | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setCustomInteractionDialogImageVisual | ( | InteractionDialogImageVisual | visual | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setDetectionRangeDetailsOverrideMult | ( | Float | detectionRangeDetailsOverrideMult | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setDiscoverable | ( | Boolean | discoverable | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setDiscoveryXP | ( | Float | discoveryXP | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setExpired | ( | boolean | expired | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setExtendedDetectedAtRange | ( | Float | extendedDetectedAtRange | ) |
Applies to the 5000/2000 max sensor range limit in normal/hyper space. Does not, by itself, increase the range at which the entity is detected, just applies to the limit.
| void com.fs.starfarer.api.campaign.SectorEntityToken.setFacing | ( | float | facing | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setFaction | ( | String | factionId | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setFixedLocation | ( | float | x, |
| float | y ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setFreeTransfer | ( | boolean | freeTransfer | ) |
Whether moving ships and items to and from this entity has a cost.
| freeTransfer |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setId | ( | String | id | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setInteractionImage | ( | String | category, |
| String | key ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setLightSource | ( | SectorEntityToken | star, |
| Color | color ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setLocation | ( | float | x, |
| float | y ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| void com.fs.starfarer.api.campaign.SectorEntityToken.setMarket | ( | MarketAPI | market | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setMemory | ( | MemoryAPI | memory | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setName | ( | String | name | ) |
Implemented in com.fs.starfarer.api.campaign.CampaignFleetAPI.
| void com.fs.starfarer.api.campaign.SectorEntityToken.setOrbit | ( | OrbitAPI | orbit | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setOrbitFocus | ( | SectorEntityToken | focus | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setSalvageXP | ( | Float | salvageXP | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setSensorProfile | ( | Float | sensorProfile | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setSensorStrength | ( | Float | sensorStrength | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setSkipForJumpPointAutoGen | ( | boolean | skipForJumpPointAutoGen | ) |
| void com.fs.starfarer.api.campaign.SectorEntityToken.setTransponderOn | ( | boolean | transponderOn | ) |