Class BarEventSpec

java.lang.Object
com.fs.starfarer.api.loading.BarEventSpec

public class BarEventSpec extends Object
  • Field Details

    • id

      protected String id
    • tags

      protected Set<String> tags
    • freq

      protected float freq
    • prob

      protected float prob
    • minDur

      protected float minDur
    • maxDur

      protected float maxDur
    • minTimeout

      protected float minTimeout
    • maxTimeout

      protected float maxTimeout
    • minAcceptedTimeout

      protected float minAcceptedTimeout
    • maxAcceptedTimeout

      protected float maxAcceptedTimeout
    • pluginClass

      protected String pluginClass
  • Constructor Details

    • BarEventSpec

      public BarEventSpec(org.json.JSONObject row) throws org.json.JSONException
      Throws:
      org.json.JSONException
  • Method Details

    • isMission

      public boolean isMission()
    • createMission

      public HubMissionWithBarEvent createMission()
    • createEvent

      public PortsideBarEvent createEvent()
    • getTags

      public Set<String> getTags()
    • addTag

      public void addTag(String tag)
    • hasTag

      public boolean hasTag(String tag)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getFreq

      public float getFreq()
    • setFreq

      public void setFreq(float freq)
    • getProb

      public float getProb()
    • setProb

      public void setProb(float prob)
    • getMinDur

      public float getMinDur()
    • setMinDur

      public void setMinDur(float minDur)
    • getMaxDur

      public float getMaxDur()
    • setMaxDur

      public void setMaxDur(float maxDur)
    • getMinTimeout

      public float getMinTimeout()
    • setMinTimeout

      public void setMinTimeout(float minTimeout)
    • getMaxTimeout

      public float getMaxTimeout()
    • setMaxTimeout

      public void setMaxTimeout(float maxTimeout)
    • getMinAcceptedTimeout

      public float getMinAcceptedTimeout()
    • setMinAcceptedTimeout

      public void setMinAcceptedTimeout(float minAcceptedTimeout)
    • getMaxAcceptedTimeout

      public float getMaxAcceptedTimeout()
    • setMaxAcceptedTimeout

      public void setMaxAcceptedTimeout(float maxAcceptedTimeout)
    • getPluginClass

      public String getPluginClass()
    • setPluginClass

      public void setPluginClass(String pluginClass)