Enum Class MapleQuestActionType
- All Implemented Interfaces:
Serializable, Comparable<MapleQuestActionType>, Constable
任務動作的種類枚舉,對應 WZ 資料中
act.img 各動作節點的名稱與數字代碼。
每個常數持有一個 byte 型別代碼,可透過 getByType(byte) 以數字反查,
或透過 getByWZName(String) 以 WZ 節點名稱字串查找(查無時回傳 UNDEFINED)。
由 MapleQuestAction 在載入時使用,決定要對 MapleCharacter 執行的獎勵效果。
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MapleQuestActionTypegetByType(byte type) static MapleQuestActionTypegetByWZName(String name) bytegetType()static MapleQuestActionTypeReturns the enum constant of this class with the specified name.static MapleQuestActionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED
-
exp
-
item
-
nextQuest
-
money
-
quest
-
skill
-
pop
-
buffItemID
-
infoNumber
-
sp
-
charismaEXP
-
charmEXP
-
willEXP
-
insightEXP
-
senseEXP
-
craftEXP
-
-
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
-
getType
public byte getType() -
getByType
-
getByWZName
-