Package me.qscbm.inlayx.socket
Enum Class SocketResult.Status
- All Implemented Interfaces:
Serializable,Comparable<SocketResult.Status>,Constable
- Enclosing class:
SocketResult
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription被插件事件监听器取消镶嵌成功率判定失败装备或宝石为空宝石配置的允许材质列表不包含当前装备装备没有空槽位(无槽位或已满)物品不是宝石装备槽位总数超过配置上限, 视为异常装备镶嵌成功存在空槽位, 但没有与宝石类型匹配的槽位宝石 ID 无法识别(配置被删除或变更) -
Method Summary
Modifier and TypeMethodDescriptionstatic SocketResult.StatusReturns the enum constant of this class with the specified name.static SocketResult.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
镶嵌成功 -
INVALID_INPUT
装备或宝石为空 -
NOT_A_GEM
物品不是宝石 -
UNKNOWN_GEM
宝石 ID 无法识别(配置被删除或变更) -
NO_SOCKET
装备没有空槽位(无槽位或已满) -
TYPE_MISMATCH
存在空槽位, 但没有与宝石类型匹配的槽位 -
MATERIAL_MISMATCH
宝石配置的允许材质列表不包含当前装备 -
OVER_CAP_LIMIT
装备槽位总数超过配置上限, 视为异常装备 -
FAILED
镶嵌成功率判定失败 -
CANCELLED
被插件事件监听器取消
-
-
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
-