Enum Class ExpeditionType

java.lang.Object
java.lang.Enum<ExpeditionType>
handling.world.exped.ExpeditionType
All Implemented Interfaces:
Serializable, Comparable<ExpeditionType>, Constable

public enum ExpeditionType extends Enum<ExpeditionType>
遠征隊(Expedition)活動的種類定義,包含每種 Boss 的人數限制與等級門檻。

每個列舉值對應一場 Boss 遠征,攜帶以下參數:

  • maxMembers:遠征隊最大人數上限。
  • maxParty:可容納的最大隊伍數(依 maxMembers 推算)。
  • exped:遠征隊 ID,用於 getById 查詢及封包識別。
  • minLevel / maxLevel:參加的等級範圍。

MapleExpedition 在建立遠征隊實例時引用; PartySearchType 內的 exped 旗標也對應此列舉的 ID。 封包層由 tools.packet.ExpeditionPacket 使用。

  • Enum Constant Details

  • 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

      public static ExpeditionType[] 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 ExpeditionType 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
    • getById

      public static ExpeditionType getById(int id)