Enum Class EquipAdditions
- All Implemented Interfaces:
Serializable, Comparable<EquipAdditions>, Constable
裝備附加屬性類型的列舉,對應 WZ 資料中裝備的特殊加成鍵名。
每個列舉常數持有兩個 WZ 子節點鍵名(i1、i2)及
是否為元素屬性加成(element)的旗標,供
server.MapleItemInformationProvider 在解析裝備資料時識別
elemboost、mobcategory、critical、boss 傷害、HP/MP 回復、技能加成等額外屬性。
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic final EquipAdditionsfromString(String str) final Stringfinal Stringfinal booleanstatic EquipAdditionsReturns the enum constant of this class with the specified name.static EquipAdditions[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
elemboost
-
mobcategory
-
critical
-
boss
-
mobdie
-
hpmpchange
-
skill
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue1
-
getValue2
-
isElement
public final boolean isElement() -
fromString
-