Enum Class CombatantType

java.lang.Object
java.lang.Enum<CombatantType>
gg.xp.xivsupport.models.CombatantType
All Implemented Interfaces:
Serializable, Comparable<CombatantType>, Constable

public enum CombatantType extends Enum<CombatantType>
  • Enum Constant Details

    • PC

      public static final CombatantType PC
      Player characters (Any player, not just *the* player)
    • NPC

      public static final CombatantType NPC
      NPC, including pets/minions/companions
    • PET

      public static final CombatantType PET
      Pet of a player
    • FAKE

      public static final CombatantType FAKE
      Special type for fake actors that are related to a real actor. Note that fake actors that do not seem to match up to a real actor still return 'NPC'
    • NONCOM

      public static final CombatantType NONCOM
      Non-combat NPC
    • GP

      public static final CombatantType GP
      Gathering point
    • OTHER

      public static final CombatantType OTHER
      Catch-all for everything else (housing items, etc)
  • Method Details

    • values

      public static CombatantType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CombatantType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null