Enum Class StatusID

java.lang.Object
java.lang.Enum<StatusID>
games.stendhal.client.entity.StatusID
All Implemented Interfaces:
Serializable, Comparable<StatusID>, Constable

public enum StatusID extends Enum<StatusID>
Status IDs.
  • Enum Constant Details

    • HEALER

      public static final StatusID HEALER
    • MERCHANT

      public static final StatusID MERCHANT
    • CONFUSE

      public static final StatusID CONFUSE
    • POISON

      public static final StatusID POISON
    • SHOCK

      public static final StatusID SHOCK
    • ZOMBIE

      public static final StatusID ZOMBIE
    • HEAVY

      public static final StatusID HEAVY
  • Method Details

    • values

      public static StatusID[] 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 StatusID 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
    • getAttribute

      public String getAttribute()
      Get the attribute corresponding to the status.
      Returns:
      attribute name
    • getStatusID

      public static StatusID getStatusID(String status)
      Find the status ID using the status name.
      Parameters:
      status - Name of status
      Returns:
      Status ID, or null if no status ID matches the name