Package com.fs.starfarer.api.impl
Class SharedUnlockData
java.lang.Object
com.fs.starfarer.api.impl.BaseSharedJSONFile
com.fs.starfarer.api.impl.SharedUnlockData
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 Summary
FieldsModifier and TypeFieldDescriptionstatic String
static String
static String
static String
static String
static String
static String
protected static SharedUnlockData
static String
static String
static String
static String
static String
static String
static String
Fields inherited from class com.fs.starfarer.api.impl.BaseSharedJSONFile
json, setCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkIfImageIsIllustrationAndMakeAware
(String spriteName) static SharedUnlockData
get()
protected String
boolean
isEntryLocked
(String entryId) boolean
isPlayerAwareOfAbility
(String abilityId) boolean
isPlayerAwareOfCommodity
(String commodityId) boolean
isPlayerAwareOfCondition
(String conditionId) boolean
isPlayerAwareOfFighter
(String fighterId) boolean
isPlayerAwareOfHullmod
(String hullmodId) boolean
boolean
isPlayerAwareOfIndustry
(String industryId) boolean
isPlayerAwareOfPlanet
(String planetId) boolean
isPlayerAwareOfShip
(String hullId) boolean
isPlayerAwareOfShipSystem
(String sysId) boolean
isPlayerAwareOfSkill
(String skillId) boolean
isPlayerAwareOfSpecialItem
(String itemId) boolean
isPlayerAwareOfWeapon
(String weaponId) boolean
reportPlayerAwareOfAbility
(String abilityId, boolean withSave) boolean
reportPlayerAwareOfCommodity
(String commodityId, boolean withSave) boolean
reportPlayerAwareOfCondition
(String conditionId, boolean withSave) boolean
reportPlayerAwareOfFighter
(String fighterId, boolean withSave) boolean
reportPlayerAwareOfHullmod
(String hullmodId, boolean withSave) boolean
reportPlayerAwareOfIllustration
(String key, boolean withSave) boolean
reportPlayerAwareOfIndustry
(String industryId, boolean withSave) boolean
reportPlayerAwareOfPlanet
(String planetId, boolean withSave) boolean
reportPlayerAwareOfShip
(String hullId, boolean withSave) boolean
reportPlayerAwareOfShipSystem
(String sysId, boolean withSave) boolean
reportPlayerAwareOfSkill
(String skillId, boolean withSave) boolean
reportPlayerAwareOfSpecialItem
(String itemId, boolean withSave) protected boolean
reportPlayerAwareOfThing
(String thingId, String setId, String codexEntryId, boolean withSave) boolean
reportPlayerAwareOfWeapon
(String weaponId, boolean withSave) Methods inherited from class com.fs.starfarer.api.impl.BaseSharedJSONFile
addToSet, doesSetContain, getSet, loadIfNeeded, optBoolean, optFloat, optInt, optString, saveIfNeeded, setBoolean, setFloat, setInt, setString, unset
-
Field Details
-
SHARED_UNLOCKS_DATA_FILE
-
ITEMS
-
ILLUSTRATIONS
-
SHIPS
-
FIGHTERS
-
WEAPONS
-
SHIP_SYSTEMS
-
HULLMODS
-
COMMODITIES
-
INDUSTRIES
-
PLANETS
-
CONDITIONS
-
SKILLS
-
ABILITIES
-
instance
-
ILLUSTRATION_KEY_LOOKUP
-
-
Constructor Details
-
SharedUnlockData
public SharedUnlockData()
-
-
Method Details
-
get
-
getFilename
- Specified by:
getFilename
in classBaseSharedJSONFile
-
isPlayerAwareOfSpecialItem
-
reportPlayerAwareOfSpecialItem
-
isPlayerAwareOfIllustration
-
reportPlayerAwareOfIllustration
-
isPlayerAwareOfShip
-
reportPlayerAwareOfShip
-
isPlayerAwareOfFighter
-
reportPlayerAwareOfFighter
-
isPlayerAwareOfWeapon
-
reportPlayerAwareOfWeapon
-
isPlayerAwareOfShipSystem
-
reportPlayerAwareOfShipSystem
-
isPlayerAwareOfHullmod
-
reportPlayerAwareOfHullmod
-
isPlayerAwareOfCommodity
-
reportPlayerAwareOfCommodity
-
isPlayerAwareOfIndustry
-
reportPlayerAwareOfIndustry
-
isPlayerAwareOfPlanet
-
reportPlayerAwareOfPlanet
-
isPlayerAwareOfCondition
-
reportPlayerAwareOfCondition
-
isPlayerAwareOfSkill
-
reportPlayerAwareOfSkill
-
isPlayerAwareOfAbility
-
reportPlayerAwareOfAbility
-
checkIfImageIsIllustrationAndMakeAware
-
reportPlayerAwareOfThing
-
isEntryLocked
-