Class SharedUnlockData

java.lang.Object
com.fs.starfarer.api.impl.BaseSharedJSONFile
com.fs.starfarer.api.impl.SharedUnlockData

public class SharedUnlockData extends BaseSharedJSONFile
DO NOT store references to the instance anywhere that makes them end up in the savefile, this does not belong in the campaign savefile.
Author:
Alex
  • Field Details

    • SHARED_UNLOCKS_DATA_FILE

      public static String SHARED_UNLOCKS_DATA_FILE
    • ITEMS

      public static String ITEMS
    • ILLUSTRATIONS

      public static String ILLUSTRATIONS
    • SHIPS

      public static String SHIPS
    • FIGHTERS

      public static String FIGHTERS
    • WEAPONS

      public static String WEAPONS
    • SHIP_SYSTEMS

      public static String SHIP_SYSTEMS
    • HULLMODS

      public static String HULLMODS
    • COMMODITIES

      public static String COMMODITIES
    • INDUSTRIES

      public static String INDUSTRIES
    • PLANETS

      public static String PLANETS
    • CONDITIONS

      public static String CONDITIONS
    • SKILLS

      public static String SKILLS
    • ABILITIES

      public static String ABILITIES
    • instance

      protected static SharedUnlockData instance
    • ILLUSTRATION_KEY_LOOKUP

      public static Map<String,String> ILLUSTRATION_KEY_LOOKUP
  • Constructor Details

    • SharedUnlockData

      public SharedUnlockData()
  • Method Details

    • get

      public static SharedUnlockData get()
    • getFilename

      protected String getFilename()
      Specified by:
      getFilename in class BaseSharedJSONFile
    • isPlayerAwareOfSpecialItem

      public boolean isPlayerAwareOfSpecialItem(String itemId)
    • reportPlayerAwareOfSpecialItem

      public boolean reportPlayerAwareOfSpecialItem(String itemId, boolean withSave)
    • isPlayerAwareOfIllustration

      public boolean isPlayerAwareOfIllustration(String key)
    • reportPlayerAwareOfIllustration

      public boolean reportPlayerAwareOfIllustration(String key, boolean withSave)
    • isPlayerAwareOfShip

      public boolean isPlayerAwareOfShip(String hullId)
    • reportPlayerAwareOfShip

      public boolean reportPlayerAwareOfShip(String hullId, boolean withSave)
    • isPlayerAwareOfFighter

      public boolean isPlayerAwareOfFighter(String fighterId)
    • reportPlayerAwareOfFighter

      public boolean reportPlayerAwareOfFighter(String fighterId, boolean withSave)
    • isPlayerAwareOfWeapon

      public boolean isPlayerAwareOfWeapon(String weaponId)
    • reportPlayerAwareOfWeapon

      public boolean reportPlayerAwareOfWeapon(String weaponId, boolean withSave)
    • isPlayerAwareOfShipSystem

      public boolean isPlayerAwareOfShipSystem(String sysId)
    • reportPlayerAwareOfShipSystem

      public boolean reportPlayerAwareOfShipSystem(String sysId, boolean withSave)
    • isPlayerAwareOfHullmod

      public boolean isPlayerAwareOfHullmod(String hullmodId)
    • reportPlayerAwareOfHullmod

      public boolean reportPlayerAwareOfHullmod(String hullmodId, boolean withSave)
    • isPlayerAwareOfCommodity

      public boolean isPlayerAwareOfCommodity(String commodityId)
    • reportPlayerAwareOfCommodity

      public boolean reportPlayerAwareOfCommodity(String commodityId, boolean withSave)
    • isPlayerAwareOfIndustry

      public boolean isPlayerAwareOfIndustry(String industryId)
    • reportPlayerAwareOfIndustry

      public boolean reportPlayerAwareOfIndustry(String industryId, boolean withSave)
    • isPlayerAwareOfPlanet

      public boolean isPlayerAwareOfPlanet(String planetId)
    • reportPlayerAwareOfPlanet

      public boolean reportPlayerAwareOfPlanet(String planetId, boolean withSave)
    • isPlayerAwareOfCondition

      public boolean isPlayerAwareOfCondition(String conditionId)
    • reportPlayerAwareOfCondition

      public boolean reportPlayerAwareOfCondition(String conditionId, boolean withSave)
    • isPlayerAwareOfSkill

      public boolean isPlayerAwareOfSkill(String skillId)
    • reportPlayerAwareOfSkill

      public boolean reportPlayerAwareOfSkill(String skillId, boolean withSave)
    • isPlayerAwareOfAbility

      public boolean isPlayerAwareOfAbility(String abilityId)
    • reportPlayerAwareOfAbility

      public boolean reportPlayerAwareOfAbility(String abilityId, boolean withSave)
    • checkIfImageIsIllustrationAndMakeAware

      public void checkIfImageIsIllustrationAndMakeAware(String spriteName)
    • reportPlayerAwareOfThing

      protected boolean reportPlayerAwareOfThing(String thingId, String setId, String codexEntryId, boolean withSave)
    • isEntryLocked

      public boolean isEntryLocked(String entryId)