Class CustomOption

java.lang.Object
mekhq.campaign.personnel.CustomOption

public class CustomOption extends Object
Parses custom SPA file and passes data to the PersonnelOption constructor so the custom abilities are included.
  • Method Details

    • getName

      public String getName()
    • getGroup

      public String getGroup()
    • getType

      public int getType()
    • getDefault

      public Object getDefault()
    • getCustomAbilities

      public static List<CustomOption> getCustomAbilities()
      Loads custom abilities from the data directory the first time it is called.
      Returns:
      The list of user-defined special abilities.
    • generateInstanceFromXML

      public static CustomOption generateInstanceFromXML(Node wn)