Enum Class EquipAdditions

java.lang.Object
java.lang.Enum<EquipAdditions>
client.inventory.EquipAdditions
All Implemented Interfaces:
Serializable, Comparable<EquipAdditions>, Constable

public enum EquipAdditions extends Enum<EquipAdditions>
裝備附加屬性類型的列舉,對應 WZ 資料中裝備的特殊加成鍵名。

每個列舉常數持有兩個 WZ 子節點鍵名(i1i2)及 是否為元素屬性加成(element)的旗標,供 server.MapleItemInformationProvider 在解析裝備資料時識別 elemboost、mobcategory、critical、boss 傷害、HP/MP 回復、技能加成等額外屬性。

  • Enum Constant Details

  • Method Details

    • values

      public static EquipAdditions[] 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 EquipAdditions 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
    • getValue1

      public final String getValue1()
    • getValue2

      public final String getValue2()
    • isElement

      public final boolean isElement()
    • fromString

      public static final EquipAdditions fromString(String str)