Class CBPatrol
java.lang.Object
com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBountyCreator
com.fs.starfarer.api.impl.campaign.missions.cb.CBPatrol
- 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
Fields 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 TypeMethodDescriptionvoid
addTargetLocationAndDescription
(TooltipMakerAPI info, float width, float height, HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) void
addTargetLocationAndDescriptionBulletPoint
(TooltipMakerAPI info, Color tc, float pad, HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) createBounty
(MarketAPI createdAt, HubMissionWithBarEvent mission, int difficulty, Object bountyStage) float
getFrequency
(HubMissionWithBarEvent mission, int difficulty) int
int
void
Methods inherited from class com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBountyCreator
addFleetDescription, addIntelAssessment, beginFleet, createFleet, getBaseBountyName, getBountyDays, getIconName, getId, getNumCompletedForPerson, getNumCompletedGlobal, getNumCompletedGlobalKey, getNumCompletedPerPersonKey, getRepFaction, getRepPerson, getSystemWithNoTimeLimit, isReduceFrequencyBasedOnNumberOfCompletions, isRepeatableGlobally, isRepeatablePerPerson, notifyAccepted, notifyCompleted, notifyFailed, setRepChangesBasedOnDifficulty, systemMatchesRequirement
-
Constructor Details
-
CBPatrol
public CBPatrol()
-
-
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
-
addTargetLocationAndDescriptionBulletPoint
public void addTargetLocationAndDescriptionBulletPoint(TooltipMakerAPI info, Color tc, float pad, HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) - Specified by:
addTargetLocationAndDescriptionBulletPoint
in interfaceCustomBountyCreator
- Overrides:
addTargetLocationAndDescriptionBulletPoint
in classBaseCustomBountyCreator
-
addTargetLocationAndDescription
public void addTargetLocationAndDescription(TooltipMakerAPI info, float width, float height, HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) - Specified by:
addTargetLocationAndDescription
in interfaceCustomBountyCreator
- Overrides:
addTargetLocationAndDescription
in classBaseCustomBountyCreator
-
createBounty
public CustomBountyCreator.CustomBountyData createBounty(MarketAPI createdAt, HubMissionWithBarEvent mission, int difficulty, Object bountyStage) - Specified by:
createBounty
in interfaceCustomBountyCreator
- Overrides:
createBounty
in classBaseCustomBountyCreator
-
updateInteractionData
public void updateInteractionData(HubMissionWithBarEvent mission, CustomBountyCreator.CustomBountyData data) - Specified by:
updateInteractionData
in interfaceCustomBountyCreator
- Overrides:
updateInteractionData
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
-