Enum Class AttributeEnum

java.lang.Object
java.lang.Enum<AttributeEnum>
cn.handyplus.lib.attribute.AttributeEnum
所有已实现的接口:
Serializable, Comparable<AttributeEnum>, java.lang.constant.Constable

public enum AttributeEnum extends Enum<AttributeEnum>
属性类型
作者:
handy
  • 枚举常量详细资料

    • ALL

      public static final AttributeEnum ALL
      ALL - 清理属性用
    • ATTRIBUTE_PLUS

      public static final AttributeEnum ATTRIBUTE_PLUS
      AttributePlus
    • ATTRIBUTE_SYSTEM

      public static final AttributeEnum ATTRIBUTE_SYSTEM
      AttributeSystem
    • SX_ATTRIBUTE

      public static final AttributeEnum SX_ATTRIBUTE
      SxAttribute
    • MMO_ITEMS

      public static final AttributeEnum MMO_ITEMS
      MMOItems
    • POTION_EFFECT

      public static final AttributeEnum POTION_EFFECT
      药水
    • MYTHIC_LIB

      public static final AttributeEnum MYTHIC_LIB
      MythicLib
  • 方法详细资料

    • values

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

      public static AttributeEnum 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getEnum

      public static AttributeEnum getEnum(String buffType)
      获取buff类型
      参数:
      buffType - buff
      返回:
      AttributeEnum