Enum Class PartySearchType

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

public enum PartySearchType extends Enum<PartySearchType>
組隊搜尋公告的活動種類定義,涵蓋道場與各大 Boss 遠征。

每個列舉值攜帶:

  • id:對應伺服器端的活動/遠征 ID(與 ExpeditionType.exped 相符)。
  • minLevel / maxLevel:可加入的等級範圍。
  • expedtrue 表示為遠征隊類型(公告有效期 20 分鐘),false 為一般組隊(5 分鐘)。
  • timeLimit:公告存活分鐘數,由 PartySearch 的排程任務使用。

PartySearch 在建立公告時引用,並透過 getById 依 ID 反查種類。

  • Enum Constant Details

  • Field Details

    • id

      public int id
    • minLevel

      public int minLevel
    • maxLevel

      public int maxLevel
    • timeLimit

      public int timeLimit
    • exped

      public boolean exped
  • Method Details

    • values

      public static PartySearchType[] 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 PartySearchType 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 PartySearchType getById(int id)