Enum Class ExpeditionType
- All Implemented Interfaces:
Serializable, Comparable<ExpeditionType>, Constable
遠征隊(Expedition)活動的種類定義,包含每種 Boss 的人數限制與等級門檻。
每個列舉值對應一場 Boss 遠征,攜帶以下參數:
maxMembers:遠征隊最大人數上限。maxParty:可容納的最大隊伍數(依 maxMembers 推算)。exped:遠征隊 ID,用於getById查詢及封包識別。minLevel/maxLevel:參加的等級範圍。
由 MapleExpedition 在建立遠征隊實例時引用;
PartySearchType 內的 exped 旗標也對應此列舉的 ID。
封包層由 tools.packet.ExpeditionPacket 使用。
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpeditionTypegetById(int id) static ExpeditionTypeReturns the enum constant of this class with the specified name.static ExpeditionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Normal_Balrog
-
Zakum
-
Horntail
-
Pink_Bean
-
Chaos_Zakum
-
ChaosHT
-
Von_Leon
-
Akyrum
-
Hilla
-
Cygnus
-
-
Field Details
-
maxMembers
public int maxMembers -
maxParty
public int maxParty -
exped
public int exped -
minLevel
public int minLevel -
maxLevel
public int maxLevel
-
-
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
-
getById
-