Enum Class SoundID

java.lang.Object
java.lang.Enum<SoundID>
games.stendhal.common.constants.SoundID
All Implemented Interfaces:
Serializable, Comparable<SoundID>, Constable

public enum SoundID extends Enum<SoundID>
IDs for sound events configured in the client.
  • Enum Constant Details

    • LEVEL_UP

      public static final SoundID LEVEL_UP
    • LEVEL_DOWN

      public static final SoundID LEVEL_DOWN
    • STAT_UP

      public static final SoundID STAT_UP
    • STAT_DOWN

      public static final SoundID STAT_DOWN
    • ACHIEVEMENT

      public static final SoundID ACHIEVEMENT
    • COMMERCE

      public static final SoundID COMMERCE
    • HEAL

      public static final SoundID HEAL
  • Method Details

    • values

      public static SoundID[] 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 SoundID 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SoundID>
    • getById

      public static SoundID getById(String id)