Enum Class MapleQuestRequirementType
- All Implemented Interfaces:
Serializable, Comparable<MapleQuestRequirementType>, Constable
任務前置條件的種類枚舉,對應 WZ 資料中
check.img 各條件節點的名稱與數字代碼。
每個常數持有一個 byte 型別代碼,可透過 getByType(byte) 以數字反查,
或透過 getByWZName(String) 以 WZ 節點名稱字串查找(查無時回傳 UNDEFINED)。
由 MapleQuestRequirement 在載入時使用,決定要對 MapleCharacter 執行的條件檢查種類;
startscript/endscript 旗標亦在 MapleQuest.loadQuest(ResultSet, MemRS.Grouped, MemRS.Grouped, MemRS.Grouped, MemRS.Grouped, MemRS.Grouped, MemRS.Grouped) 中據此設定,
使任務接取或完成時改由 JS 腳本處理。
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MapleQuestRequirementTypegetByType(byte type) static MapleQuestRequirementTypegetByWZName(String name) getITEM()bytegetType()static MapleQuestRequirementTypeReturns the enum constant of this class with the specified name.static MapleQuestRequirementType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED
-
job
-
item
-
quest
-
lvmin
-
lvmax
-
end
-
mob
-
npc
-
fieldEnter
-
interval
-
startscript
-
endscript
-
pet
-
pettamenessmin
-
mbmin
-
questComplete
-
pop
-
skill
-
mbcard
-
subJobFlags
-
dayByDay
-
normalAutoStart
-
partyQuest_S
-
charmMin
-
senseMin
-
craftMin
-
willMin
-
charismaMin
-
insightMin
-
-
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
-
getITEM
-
getType
public byte getType() -
getByType
-
getByWZName
-