Class BatchallFactions

java.lang.Object
mekhq.campaign.universe.factionStanding.BatchallFactions

@Deprecated(since="0.50.07", forRemoval=true) public class BatchallFactions extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Unused outside deprecated classes and methods
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<String>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getGreeting(Campaign campaign, String factionCode)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieves the greeting for faction based on infamy.
    static boolean
    usesBatchalls(String factionCode)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Determines whether a given faction engages in batchalling.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BATCHALL_FACTIONS

      public static final List<String> BATCHALL_FACTIONS
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • BatchallFactions

      public BatchallFactions()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • usesBatchalls

      public static boolean usesBatchalls(String factionCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Determines whether a given faction engages in batchalling.
      Parameters:
      factionCode - The faction code to check eligibility for. Must be a non-null String.
      Returns:
      true if the faction code engages in batchalling, false otherwise.
    • getGreeting

      public static String getGreeting(Campaign campaign, String factionCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieves the greeting for faction based on infamy.
      Parameters:
      campaign - The campaign for which to retrieve the greeting.
      factionCode - The faction code for which to retrieve the greeting.
      Returns:
      The greeting message as a String.