Class UltimatumResolvedEvent

java.lang.Object
megamek.common.event.MMEvent
mekhq.campaign.events.CampaignEvent
mekhq.campaign.events.UltimatumResolvedEvent

public class UltimatumResolvedEvent extends CampaignEvent
Triggered once the player has answered a Faction Standing ultimatum and its consequences have been applied. An ultimatum the GM ignored triggers nothing, since it had no consequences.
Since:
0.51.01
  • Constructor Details

    • UltimatumResolvedEvent

      public UltimatumResolvedEvent(Campaign campaign, String ultimatumName, Faction chosenFaction, boolean wentRogue, List<Person> departed)
      Parameters:
      campaign - the campaign that received the ultimatum
      ultimatumName - the ultimatum's unique name
      chosenFaction - the faction the campaign now belongs to: the chosen side's, or Mercenary or Pirate
      wentRogue - true if the player went Mercenary or Pirate instead of choosing a side
      departed - everyone who left the campaign or died because of the decision
  • Method Details

    • getUltimatumName

      public String getUltimatumName()
    • getChosenFaction

      public Faction getChosenFaction()
    • isWentRogue

      public boolean isWentRogue()
    • getDeparted

      public List<Person> getDeparted()
      Returns:
      everyone who left the campaign or died because of the decision