테스트

aion-server 4.8

Gitteol
최고관리자 · 1 · 💬 0 클론/새로받기
 4.8 61f661d · 1 commits 새로받기(Pull)
game-server/src/com/aionemu/gameserver/model/craft/ExpertQuestsList.java
package com.aionemu.gameserver.model.craft;

import com.aionemu.gameserver.model.Race;

/**
 * @author synchro2
 */
public enum ExpertQuestsList {
	COOKING_ELYOS(new int[] { 1944, 1979, 1978, 3952, 3951, 3950 }, Race.ELYOS, 40001),
	COOKING_ASMODIANS(new int[] { 2934, 2979, 2978, 4956, 4955, 4954 }, Race.ASMODIANS, 40001),
	WEAPONSMITHING_ELYOS(new int[] { 1941, 1973, 1972, 3943, 3942, 3941 }, Race.ELYOS, 40002),
	WEAPONSMITHING_ASMODIANS(new int[] { 2931, 2973, 2972, 4947, 4946, 4945 }, Race.ASMODIANS, 40002),
	ARMORSMITHING_ELYOS(new int[] { 1942, 1975, 1974, 3946, 3945, 3944 }, Race.ELYOS, 40003),
	ARMORSMITHING_ASMODIANS(new int[] { 2912, 2975, 2974, 4950, 4949, 4948 }, Race.ASMODIANS, 40003),
	TAILORING_ELYOS(new int[] { 1946, 1983, 1982, 3958, 3957, 3956 }, Race.ELYOS, 40004),
	TAILORING_ASMODIANS(new int[] { 2936, 2983, 2982, 4962, 4961, 4960 }, Race.ASMODIANS, 40004),
	ALCHEMY_ELYOS(new int[] { 1945, 1981, 1980, 3955, 3954, 3953 }, Race.ELYOS, 40007),
	ALCHEMY_ASMODIANS(new int[] { 2935, 2981, 2980, 4959, 4958, 4957 }, Race.ASMODIANS, 40007),
	HANDICRAFTING_ELYOS(new int[] { 1943, 1977, 1976, 3949, 3948, 3947 }, Race.ELYOS, 40008),
	HANDICRAFTING_ASMODIANS(new int[] { 2933, 2977, 2976, 4953, 4952, 4951 }, Race.ASMODIANS, 40008),
	MENUSIER_ELYOS(new int[] { 19050, 19053, 19052, 19056, 19055, 19054 }, Race.ELYOS, 40010),
	MENUSIER_ASMODIANS(new int[] { 29050, 29053, 29052, 29056, 29055, 29054 }, Race.ASMODIANS, 40010);

	private int[] questIds;
	private Race race;
	private int craftSkillId;

	ExpertQuestsList(int[] questIds, Race race, int craftSkillId) {
		this.questIds = questIds;
		this.race = race;
		this.craftSkillId = craftSkillId;
	}

	private Race getRace() {
		return race;
	}

	private int getCraftSkillId() {
		return craftSkillId;
	}

	public static int[] getQuestIds(int craftSkillId, Race race) {
		for (ExpertQuestsList eql : values()) {
			if (race == eql.getRace() && craftSkillId == eql.getCraftSkillId())
				return eql.questIds;
		}
		throw new IllegalArgumentException("Invalid craftSkillId: " + craftSkillId + " or race: " + race);
	}
}

📎 첨부파일

댓글 작성 권한이 없습니다.
🏆 포인트 랭킹 TOP 10
순위 닉네임 포인트
1 no_profile 타키야겐지쪽지보내기 자기소개 아이디로 검색 전체게시물 102,949
2 no_profile 동가리쪽지보내기 자기소개 아이디로 검색 전체게시물 63,733
3 no_profile 라프텔쪽지보내기 자기소개 아이디로 검색 전체게시물 51,771
4 no_profile 불멸의행복쪽지보내기 자기소개 아이디로 검색 전체게시물 36,923
5 서번트쪽지보내기 자기소개 아이디로 검색 전체게시물 35,011
6 no_profile 닥터스쪽지보내기 자기소개 아이디로 검색 전체게시물 29,470
7 no_profile 검은고양이쪽지보내기 자기소개 아이디로 검색 전체게시물 29,077
8 no_profile Revolution쪽지보내기 자기소개 아이디로 검색 전체게시물 28,199
9 no_profile 보거스쪽지보내기 자기소개 아이디로 검색 전체게시물 26,731
10 no_profile 호롤롤로쪽지보내기 자기소개 아이디로 검색 전체게시물 17,020
알림 0