Interface MarketConditionAPI
public interface MarketConditionAPI
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Id of the condition spec, i.e.Globally unique id for this specific condition, i.e.getName()
getSpec()
boolean
Calls MarketConditionPlugin.isPlanetary().boolean
boolean
void
setSurveyed
(boolean wasSurveyed)
-
Method Details
-
getId
String getId()Id of the condition spec, i.e. "ore_sparse".- Returns:
-
getName
String getName() -
getPlugin
MarketConditionPlugin getPlugin() -
getIdForPluginModifications
String getIdForPluginModifications()Globally unique id for this specific condition, i.e. "ore_sparse_b44c3".- Returns:
-
isSurveyed
boolean isSurveyed() -
setSurveyed
void setSurveyed(boolean wasSurveyed) -
requiresSurveying
boolean requiresSurveying() -
getGenSpec
ConditionGenDataSpec getGenSpec() -
isPlanetary
boolean isPlanetary()Calls MarketConditionPlugin.isPlanetary(). "Planetary" conditions show up on the right side of the conditions widget. "Market" conditions show up in a group to the left of the planetary conditions.- Returns:
-
getSpec
MarketConditionSpecAPI getSpec()
-