Enum Class PartySearchType
- All Implemented Interfaces:
Serializable, Comparable<PartySearchType>, Constable
組隊搜尋公告的活動種類定義,涵蓋道場與各大 Boss 遠征。
每個列舉值攜帶:
id:對應伺服器端的活動/遠征 ID(與ExpeditionType.exped相符)。minLevel/maxLevel:可加入的等級範圍。exped:true表示為遠征隊類型(公告有效期 20 分鐘),false為一般組隊(5 分鐘)。timeLimit:公告存活分鐘數,由PartySearch的排程任務使用。
由 PartySearch 在建立公告時引用,並透過 getById 依 ID 反查種類。
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PartySearchTypegetById(int id) static PartySearchTypeReturns the enum constant of this class with the specified name.static PartySearchType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Dojo
-
Balrog_Normal
-
Zakum
-
Horntail
-
PinkBean
-
ChaosZakum
-
ChaosHT
-
VonLeon
-
DarkEreb
-
Hilla
-
Akayrum
-
-
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
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
-