public static MapleJob getById(int id) { for (MapleJob l : values()) { if (l.getId() == id) { return l; } } return 未知; }
public static boolean isExist(int id) { for (MapleJob job : values()) { if (job.getId() == id) { return true; } } return false; }
public static String getName(MapleJob mjob) { return mjob.name(); }