Enum Class BuffType

java.lang.Object
java.lang.Enum<BuffType>
studio.magemonkey.fabled.api.util.BuffType
All Implemented Interfaces:
Serializable, Comparable<BuffType>, Constable

public enum BuffType extends Enum<BuffType>
Fabled studio.magemonkey.fabled.api.util.BuffType

The MIT License (MIT)

Copyright (c) 2024 MageMonkeyStudio

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

  • Enum Constant Details

    • DAMAGE

      public static final BuffType DAMAGE
    • DEFENSE

      public static final BuffType DEFENSE
    • SKILL_DAMAGE

      public static final BuffType SKILL_DAMAGE
    • SKILL_DEFENSE

      public static final BuffType SKILL_DEFENSE
    • HEALING

      public static final BuffType HEALING
    • INVISIBILITY

      public static final BuffType INVISIBILITY
  • Method Details

    • values

      public static BuffType[] 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 BuffType 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
    • getByNameOrLocal

      public static BuffType getByNameOrLocal(String name)
    • getLocalizedName

      public String getLocalizedName()