public class ListenerUtil
extends java.lang.Object
Constructor and Description |
---|
ListenerUtil() |
public static java.util.List<CampaignInputListener> getSortedInputListeners()
public static void processCampaignInputPreCore(java.util.List<InputEventAPI> events)
public static void processCampaignInputPostCore(java.util.List<InputEventAPI> events)
public static void processCampaignInputPreFleetControl(java.util.List<InputEventAPI> events)
public static void reportPlayerSurveyedPlanet(PlanetAPI planet)
public static void reportPlayerColonizedPlanet(PlanetAPI planet)
public static void reportPlayerAbandonedColony(MarketAPI colony)
public static void reportAboutToShowLootToPlayer(CargoAPI loot, InteractionDialogAPI dialog)
public static void reportSpecialCargoGainedFromRecoveredDerelict(CargoAPI loot, InteractionDialogAPI dialog)
public static void reportFleetDespawnedToListener(CampaignFleetAPI fleet, CampaignEventListener.FleetDespawnReason reason, java.lang.Object param)
public static void reportBattleOccurred(CampaignFleetAPI fleet, CampaignFleetAPI primaryWinner, BattleAPI battle)
public static void reportEconomyTick(int iterIndex)
public static void reportEconomyMonthEnd()
public static void reportEntityDiscovered(SectorEntityToken entity)
public static void reportObjectiveChangedHands(SectorEntityToken objective, FactionAPI from, FactionAPI to)
public static void reportObjectiveDestroyed(SectorEntityToken objective, SectorEntityToken stableLocation, FactionAPI enemy)
public static void reportRaidForValuablesFinishedBeforeCargoShown(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData, CargoAPI cargo)
public static void reportRaidToDisruptFinished(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData, Industry industry)
public static void reportTacticalBombardmentFinished(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData)
public static void reportSaturationBombardmentFinished(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData)
public static void reportExtraSalvageShown(SectorEntityToken entity)
public static void reportPlayerOpenedSubmarket(SubmarketAPI submarket, SubmarketInteractionListener.SubmarketInteractionType type)
public static void reportPlayerOpenedMarket(MarketAPI market)
public static void reportPlayerClosedMarket(MarketAPI market)
public static void reportPlayerOpenedMarketAndCargoUpdated(MarketAPI market)
public static void reportPlayerMarketTransaction(PlayerMarketTransaction transaction)
public static void modifyRaidObjectives(MarketAPI market, SectorEntityToken entity, java.util.List<GroundRaidObjectivePlugin> objectives, MarketCMD.RaidType type, int marineTokens, int priority)
public static void reportRaidObjectivesAchieved(GroundRaidObjectivesListener.RaidResultData data, InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
public static void addCommodityTooltipSectionAfterPrice(TooltipMakerAPI info, float width, boolean expanded, CargoStackAPI stack)
public static void reportCargoScreenOpened()
public static void reportSubmarketCargoAndShipsUpdated(SubmarketAPI submarket)
public static void reportPlayerLeftCargoPods(SectorEntityToken entity)
public static void reportPlayerNonMarketTransaction(PlayerMarketTransaction transaction, InteractionDialogAPI dialog)
public static void reportSubmarketOpened(SubmarketAPI submarket)
public static void printOtherFactors(TooltipMakerAPI text, SectorEntityToken entity)
public static void modifyMarineLossesStatPreRaid(MarketAPI market, java.util.List<GroundRaidObjectivePlugin> objectives, MutableStat stat)
public static void reportFleetTransitingGate(CampaignFleetAPI fleet, SectorEntityToken gateFrom, SectorEntityToken gateTo)
public static void reportShipsRecovered(java.util.List<FleetMemberAPI> ships, InteractionDialogAPI dialog)
public static void reportCurrentLocationChanged(LocationAPI prev, LocationAPI curr)
public static void reportColonyAboutToBeDecivilized(MarketAPI market, boolean fullyDestroyed)
public static void reportColonyDecivilized(MarketAPI market, boolean fullyDestroyed)
public static void updateSlipstreamBlockers(CollisionGridAPI grid, SlipstreamManager manager)
public static void updateSlipstreamConfig(java.lang.String prevConfig, WeightedRandomPicker<java.lang.String> nextConfigPicker, SlipstreamManager manager)
public static int countOtherFactors(SectorEntityToken entity)
public static boolean hasOtherFactors(SectorEntityToken entity)
public static java.util.List<EncounterPoint> generateEncounterPoints(LocationAPI where)
public static void reportCellDisrupted(LuddicPathCellsIntel cell)
public static void reportAboutToOpenCoreTab(CoreUITabId tab, java.lang.Object param)
public static void reportAboutToRefreshCharacterStatEffects()
public static void reportRefreshedCharacterStatEffects()
public static void renderInUICoordsBelowUI(ViewportAPI viewport)
public static void renderInUICoordsAboveUIBelowTooltips(ViewportAPI viewport)
public static void renderInUICoordsAboveUIAndTooltips(ViewportAPI viewport)
public static java.util.List<IndustryOptionProvider.IndustryOptionData> getIndustryOptions(Industry ind)
public static void addToIndustryTooltip(Industry ind, Industry.IndustryTooltipMode mode, TooltipMakerAPI tooltip, float width, boolean expanded)
public static void reportFleetInflated(CampaignFleetAPI fleet, FleetInflater inflater)
public static void reportNavigationDataSectionAboutToBeCreated(SectorEntityToken target)
public static void reportNavigationDataSectionWasCreated(SectorEntityToken target)
public static void reportCommissionEnded(FactionCommissionIntel intel)
public static void reportColonySizeChanged(MarketAPI market, int prevSize)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.