Class StandardGroundRaidObjectivesCreator
java.lang.Object
com.fs.starfarer.api.impl.campaign.graid.StandardGroundRaidObjectivesCreator
- All Implemented Interfaces:
GroundRaidObjectivesListener
public class StandardGroundRaidObjectivesCreator
extends Object
implements GroundRaidObjectivesListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.campaign.listeners.GroundRaidObjectivesListener
GroundRaidObjectivesListener.RaidResultData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<CommodityOnMarketAPI,
Float> computeRaidValuables
(MarketAPI market) void
modifyRaidObjectives
(MarketAPI market, SectorEntityToken entity, List<GroundRaidObjectivePlugin> objectives, MarketCMD.RaidType type, int marineTokens, int priority) Called 10 times with priority from 0 to 9.void
reportRaidObjectivesAchieved
(GroundRaidObjectivesListener.RaidResultData data, InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap)
-
Constructor Details
-
StandardGroundRaidObjectivesCreator
public StandardGroundRaidObjectivesCreator()
-
-
Method Details
-
modifyRaidObjectives
public void modifyRaidObjectives(MarketAPI market, SectorEntityToken entity, List<GroundRaidObjectivePlugin> objectives, MarketCMD.RaidType type, int marineTokens, int priority) Description copied from interface:GroundRaidObjectivesListener
Called 10 times with priority from 0 to 9. An implementation should generally only modify objectives in one of those callse.- Specified by:
modifyRaidObjectives
in interfaceGroundRaidObjectivesListener
-
computeRaidValuables
-
reportRaidObjectivesAchieved
public void reportRaidObjectivesAchieved(GroundRaidObjectivesListener.RaidResultData data, InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap) - Specified by:
reportRaidObjectivesAchieved
in interfaceGroundRaidObjectivesListener
-