Enum Class MapleJob
- All Implemented Interfaces:
Serializable, Comparable<MapleJob>, Constable
楓之谷 v149 所有職業的列舉定義,每個常數對應一個職業代碼(
jobid)。
涵蓋全版本職業族群:
- 冒險家(job / 1000 == 0):劍士、法師、弓箭手、盜賊、海盜各轉職分支。
- 皇家騎士團(1xxx):聖魂劍士、烈焰巫師、破風使者、暗夜行者、閃雷悍將。
- 英雄團(2xxx):狂狼勇士、龍魔導士、精靈遊俠、幻影俠盜。
- 末日反抗軍(3xxx):惡魔殺手、惡魔復仇者、煉獄巫師、狂豹獵人、機甲戰神。
- 騎士團團長(5xxx):米哈逸。
- 管理員(800/900)及特殊職業(貴族 1000、市民 3000)。
提供豐富的靜態判斷方法(is冒險家、is英雄、is龍魔導士… 等)
供技能效果(MapleStatEffect)、等級提升(CharacterStatsManager)
與職業相關邏輯使用;getById(int) 依 ID 取得列舉值,未知 ID 回傳 未知;
getBeginner(short) 回傳同族群的初心者職業代碼;
getJobGrade(int) 回傳轉職次數(0 = 初心者,1~4 = 各轉)。
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic shortgetBeginner(short job) static MapleJobgetById(int id) intgetId()static intgetJobBranch(int job) static intgetJobBranch2nd(int job) static intgetJobGrade(int jobz) static intgetJobGroup(int job) static Stringstatic intget轉數(int jobid) static booleanisBeginner(int job) static booleanisExist(int id) static booleanisJob12000(int job) static booleanisJob12000HighLv(int job) static booleanisJob12000LowLv(int job) static booleanisNotMpJob(int job) static booleanisSameJob(int job, int job2) static booleanis大魔導士_火毒(int job) static booleanis大魔導士_冰雷(int job) static booleanis弓箭手(int job) static booleanis天使破壞者(int job) static booleanis幻影俠盜(int job) static booleanis幻獸師(int job) static booleanis主教(int job) static booleanis末日反抗軍(int job) static booleanis皮卡啾(int job) static booleanis米哈逸(int job) static booleanis狂狼勇士(int job) static booleanis狂豹獵人(int job) static booleanis夜光(int job) static booleanis夜使者(int job) static booleanis法師(int job) static booleanis初心者(int jobid) static booleanis冒險家(int job) static booleanis皇家騎士團(int job) static booleanis英雄(int job) static booleanis英雄團(int job) static booleanis重砲指揮官(int job) static booleanis拳霸(int job) static booleanis海盜(int job) static booleanis烈焰巫師(int job) static booleanis破風使者(int job) static booleanis神之子(int job) static booleanis神射手(int job) static booleanis閃雷悍將(int job) static booleanis陰陽師(int job) static booleanis傑諾(int job) static booleanis凱內西斯(int job) static booleanis凱撒(int job) static booleanis惡魔(int job) static booleanis惡魔殺手(int job) static booleanis惡魔復仇者(int job) static booleanis盜賊(int job) static booleanis超新星(int job) static booleanis黑騎士(int job) static booleanis暗夜行者(int job) static booleanis暗影神偷(int job) static booleanis煉獄巫師(int job) static booleanis聖魂劍士(int job) static booleanis聖騎士(int job) static booleanis槍神(int job) static booleanis管理員(int job) static booleanis精靈遊俠(int job) static booleanis蒼龍俠客(int job) static booleanis劍士(int job) static booleanis劍豪(int job) static booleanis影武者(int job) static booleanis箭神(int job) static booleanis曉の陣(int job) static booleanis機甲戰神(int job) static booleanis龍魔導士(int job) static booleanis隱月(int job) static booleanis騎士團團長(int job) static booleanis爆拳槍神(int job) static MapleJobReturns the enum constant of this class with the specified name.static MapleJob[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
初心者
-
劍士
-
狂戰士
-
十字軍
-
英雄
-
見習騎士
-
騎士
-
聖騎士
-
槍騎兵
-
嗜血狂騎
-
黑騎士
-
法師
-
巫師_火毒
-
魔導士_火毒
-
大魔導士_火毒
-
巫師_冰雷
-
魔導士_冰雷
-
大魔導士_冰雷
-
僧侶
-
祭司
-
主教
-
弓箭手
-
獵人
-
遊俠
-
箭神
-
弩弓手
-
狙擊手
-
神射手
-
盜賊
-
刺客
-
暗殺者
-
夜使者
-
俠盜
-
神偷
-
暗影神偷
-
下忍
-
中忍
-
上忍
-
隱忍
-
影武者
-
海盜
-
砲手
-
蒼龍俠客1轉
-
打手
-
格鬥家
-
拳霸
-
槍手
-
神槍手
-
槍神
-
重砲兵
-
重砲兵隊長
-
重砲指揮官
-
蒼龍俠客2轉
-
蒼龍俠客3轉
-
蒼龍俠客4轉
-
MANAGER
-
管理員
-
貴族
-
聖魂劍士1轉
-
聖魂劍士2轉
-
聖魂劍士3轉
-
聖魂劍士4轉
-
烈焰巫師1轉
-
烈焰巫師2轉
-
烈焰巫師3轉
-
烈焰巫師4轉
-
破風使者1轉
-
破風使者2轉
-
破風使者3轉
-
破風使者4轉
-
暗夜行者1轉
-
暗夜行者2轉
-
暗夜行者3轉
-
暗夜行者4轉
-
閃雷悍將1轉
-
閃雷悍將2轉
-
閃雷悍將3轉
-
閃雷悍將4轉
-
傳說
-
龍魔導士
-
精靈遊俠
-
幻影俠盜
-
幻影俠盜1轉
-
幻影俠盜2轉
-
幻影俠盜3轉
-
幻影俠盜4轉
-
狂狼勇士1轉
-
狂狼勇士2轉
-
狂狼勇士3轉
-
狂狼勇士4轉
-
龍魔導士1轉
-
龍魔導士2轉
-
龍魔導士3轉
-
龍魔導士4轉
-
龍魔導士5轉
-
龍魔導士6轉
-
龍魔導士7轉
-
龍魔導士8轉
-
龍魔導士9轉
-
龍魔導士10轉
-
精靈遊俠1轉
-
精靈遊俠2轉
-
精靈遊俠3轉
-
精靈遊俠4轉
-
市民
-
惡魔殺手
-
惡魔殺手1轉
-
惡魔殺手2轉
-
惡魔殺手3轉
-
惡魔殺手4轉
-
惡魔復仇者1轉
-
惡魔復仇者2轉
-
惡魔復仇者3轉
-
惡魔復仇者4轉
-
煉獄巫師1轉
-
煉獄巫師2轉
-
煉獄巫師3轉
-
煉獄巫師4轉
-
狂豹獵人1轉
-
狂豹獵人2轉
-
狂豹獵人3轉
-
狂豹獵人4轉
-
機甲戰神1轉
-
機甲戰神2轉
-
機甲戰神3轉
-
機甲戰神4轉
-
米哈逸
-
米哈逸1轉
-
米哈逸2轉
-
米哈逸3轉
-
米哈逸4轉
-
未知
-
-
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
-
getId
public int getId() -
getName
-
getById
-
isExist
public static boolean isExist(int id) -
is冒險家
public static boolean is冒險家(int job) -
is英雄
public static boolean is英雄(int job) -
is聖騎士
public static boolean is聖騎士(int job) -
is黑騎士
public static boolean is黑騎士(int job) -
is大魔導士_火毒
public static boolean is大魔導士_火毒(int job) -
is大魔導士_冰雷
public static boolean is大魔導士_冰雷(int job) -
is主教
public static boolean is主教(int job) -
is箭神
public static boolean is箭神(int job) -
is神射手
public static boolean is神射手(int job) -
is夜使者
public static boolean is夜使者(int job) -
is暗影神偷
public static boolean is暗影神偷(int job) -
is影武者
public static boolean is影武者(int job) -
is拳霸
public static boolean is拳霸(int job) -
is槍神
public static boolean is槍神(int job) -
is重砲指揮官
public static boolean is重砲指揮官(int job) -
is蒼龍俠客
public static boolean is蒼龍俠客(int job) -
is管理員
public static boolean is管理員(int job) -
is皇家騎士團
public static boolean is皇家騎士團(int job) -
is聖魂劍士
public static boolean is聖魂劍士(int job) -
is烈焰巫師
public static boolean is烈焰巫師(int job) -
is破風使者
public static boolean is破風使者(int job) -
is暗夜行者
public static boolean is暗夜行者(int job) -
is閃雷悍將
public static boolean is閃雷悍將(int job) -
is英雄團
public static boolean is英雄團(int job) -
is狂狼勇士
public static boolean is狂狼勇士(int job) -
is龍魔導士
public static boolean is龍魔導士(int job) -
is精靈遊俠
public static boolean is精靈遊俠(int job) -
is幻影俠盜
public static boolean is幻影俠盜(int job) -
is夜光
public static boolean is夜光(int job) -
is隱月
public static boolean is隱月(int job) -
is末日反抗軍
public static boolean is末日反抗軍(int job) -
is惡魔
public static boolean is惡魔(int job) -
is惡魔殺手
public static boolean is惡魔殺手(int job) -
is惡魔復仇者
public static boolean is惡魔復仇者(int job) -
is煉獄巫師
public static boolean is煉獄巫師(int job) -
is狂豹獵人
public static boolean is狂豹獵人(int job) -
is機甲戰神
public static boolean is機甲戰神(int job) -
is傑諾
public static boolean is傑諾(int job) -
is爆拳槍神
public static boolean is爆拳槍神(int job) -
is曉の陣
public static boolean is曉の陣(int job) -
is劍豪
public static boolean is劍豪(int job) -
is陰陽師
public static boolean is陰陽師(int job) -
is騎士團團長
public static boolean is騎士團團長(int job) -
is米哈逸
public static boolean is米哈逸(int job) -
is超新星
public static boolean is超新星(int job) -
is凱撒
public static boolean is凱撒(int job) -
is天使破壞者
public static boolean is天使破壞者(int job) -
is神之子
public static boolean is神之子(int job) -
is幻獸師
public static boolean is幻獸師(int job) -
is皮卡啾
public static boolean is皮卡啾(int job) -
is凱內西斯
public static boolean is凱內西斯(int job) -
is劍士
public static boolean is劍士(int job) -
is法師
public static boolean is法師(int job) -
is弓箭手
public static boolean is弓箭手(int job) -
is盜賊
public static boolean is盜賊(int job) -
is海盜
public static boolean is海盜(int job) -
getBeginner
public static short getBeginner(short job) -
isNotMpJob
public static boolean isNotMpJob(int job) -
is初心者
public static boolean is初心者(int jobid) -
isJob12000
public static boolean isJob12000(int job) -
isJob12000HighLv
public static boolean isJob12000HighLv(int job) -
isJob12000LowLv
public static boolean isJob12000LowLv(int job) -
get轉數
public static int get轉數(int jobid) -
isBeginner
public static boolean isBeginner(int job) -
isSameJob
public static boolean isSameJob(int job, int job2) -
getJobGroup
public static int getJobGroup(int job) -
getJobBranch
public static int getJobBranch(int job) -
getJobBranch2nd
public static int getJobBranch2nd(int job) -
getJobGrade
public static int getJobGrade(int jobz)
-