Class CBTrader
java.lang.Object
com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBountyCreator
com.fs.starfarer.api.impl.campaign.missions.cb.CBTrader
- All Implemented Interfaces:
CustomBountyCreator
,HubMissionWithSearch.GenericRequirement
,HubMissionWithSearch.StarSystemRequirement
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.impl.campaign.missions.cb.CustomBountyCreator
CustomBountyCreator.CustomBountyData
-
Field Summary
FieldsFields inherited from class com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBountyCreator
DEFAULT_FREQUENCY, STAGE
Fields inherited from interface com.fs.starfarer.api.impl.campaign.missions.cb.CustomBountyCreator
MAX_DIFFICULTY, MIN_DIFFICULTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBounty
(MarketAPI createdAt, HubMissionWithBarEvent mission, int difficulty, Object bountyStage) float
float
getFrequency
(HubMissionWithBarEvent mission, int difficulty) int
int
void
notifyAccepted
(MarketAPI createdAt, HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) Methods inherited from class com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBountyCreator
addFleetDescription, addIntelAssessment, addTargetLocationAndDescription, addTargetLocationAndDescriptionBulletPoint, beginFleet, createFleet, getBaseBountyName, getIconName, getId, getNumCompletedForPerson, getNumCompletedGlobal, getNumCompletedGlobalKey, getNumCompletedPerPersonKey, getRepFaction, getRepPerson, getSystemWithNoTimeLimit, isReduceFrequencyBasedOnNumberOfCompletions, isRepeatableGlobally, isRepeatablePerPerson, notifyCompleted, notifyFailed, setRepChangesBasedOnDifficulty, systemMatchesRequirement, updateInteractionData
-
Field Details
-
PROB_IN_SYSTEM_WITH_BASE
public static float PROB_IN_SYSTEM_WITH_BASE
-
-
Constructor Details
-
CBTrader
public CBTrader()
-
-
Method Details
-
getFrequency
- Specified by:
getFrequency
in interfaceCustomBountyCreator
- Overrides:
getFrequency
in classBaseCustomBountyCreator
-
getBountyNamePostfix
public String getBountyNamePostfix(HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) - Specified by:
getBountyNamePostfix
in interfaceCustomBountyCreator
- Overrides:
getBountyNamePostfix
in classBaseCustomBountyCreator
-
getBountyDays
public float getBountyDays()- Specified by:
getBountyDays
in interfaceCustomBountyCreator
- Overrides:
getBountyDays
in classBaseCustomBountyCreator
-
createBounty
public CustomBountyCreator.CustomBountyData createBounty(MarketAPI createdAt, HubMissionWithBarEvent mission, int difficulty, Object bountyStage) - Specified by:
createBounty
in interfaceCustomBountyCreator
- Overrides:
createBounty
in classBaseCustomBountyCreator
-
notifyAccepted
public void notifyAccepted(MarketAPI createdAt, HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) - Specified by:
notifyAccepted
in interfaceCustomBountyCreator
- Overrides:
notifyAccepted
in classBaseCustomBountyCreator
-
getMaxDifficulty
public int getMaxDifficulty()- Specified by:
getMaxDifficulty
in interfaceCustomBountyCreator
- Overrides:
getMaxDifficulty
in classBaseCustomBountyCreator
-
getMinDifficulty
public int getMinDifficulty()- Specified by:
getMinDifficulty
in interfaceCustomBountyCreator
- Overrides:
getMinDifficulty
in classBaseCustomBountyCreator
-