테스트

aion-server 4.8

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

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;

/**
 * @author AionCool
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GlobalRule")
public class GlobalRule {

	@XmlElementWrapper(name = "gd_items", required = true)
	@XmlElement(name = "gd_item", required = true)
	private List<GlobalDropItem> gdItems;

	@XmlElement(name = "gd_maps")
	private GlobalDropMaps gdMaps;

	@XmlElement(name = "gd_races")
	private GlobalDropRaces gdRaces;

	@XmlElement(name = "gd_tribes")
	private GlobalDropTribes gdTribes;

	@XmlElement(name = "gd_ratings")
	private GlobalDropRatings gdRatings;

	@XmlElement(name = "gd_worlds")
	private GlobalDropWorlds gdWorlds;

	@XmlElement(name = "gd_npcs")
	private GlobalDropNpcs gdNpcs;

	@XmlElement(name = "gd_npc_names")
	private GlobalDropNpcNames gdNpcNames;

	@XmlElement(name = "gd_npc_groups")
	private GlobalDropNpcGroups gdNpcGroups;

	@XmlElement(name = "gd_excluded_npcs")
	private GlobalDropExcludedNpcs gdExcludedNpcs;

	@XmlElement(name = "gd_zones")
	private GlobalDropZones gdZones;

	@XmlAttribute(name = "rule_name", required = true)
	private String ruleName;
	@XmlAttribute(name = "chance", required = true)
	private float chance;
	@XmlAttribute(name = "min_diff")
	private int minDiff = -99;
	@XmlAttribute(name = "max_diff")
	private int maxDiff = 99;
	@XmlAttribute(name = "restriction_race")
	private RestrictionRace restrictionRace;
	@XmlAttribute(name = "level_based_chance_reduction")
	private boolean useLevelBasedChanceReduction;
	@XmlAttribute(name = "member_limit")
	private int memberLimit = 1;
	@XmlAttribute(name = "max_drop_rule")
	private int maxDropRule = 1;
	@XmlAttribute(name = "dynamic_chance")
	private boolean dynamicChance;

	public List<GlobalDropItem> getDropItems() {
		return gdItems;
	}

	public GlobalDropWorlds getGlobalRuleWorlds() {
		return gdWorlds;
	}

	public GlobalDropRaces getGlobalRuleRaces() {
		return gdRaces;
	}

	public GlobalDropRatings getGlobalRuleRatings() {
		return gdRatings;
	}

	public GlobalDropMaps getGlobalRuleMaps() {
		return gdMaps;
	}

	public GlobalDropTribes getGlobalRuleTribes() {
		return gdTribes;
	}

	public GlobalDropNpcs getGlobalRuleNpcs() {
		return gdNpcs;
	}

	public void setNpcs(GlobalDropNpcs value) {
		this.gdNpcs = value;
	}

	public GlobalDropNpcNames getGlobalRuleNpcNames() {
		return gdNpcNames;
	}

	public GlobalDropNpcGroups getGlobalRuleNpcGroups() {
		return gdNpcGroups;
	}

	public GlobalDropExcludedNpcs getGlobalRuleExcludedNpcs() {
		return gdExcludedNpcs;
	}

	public GlobalDropZones getGlobalRuleZones() {
		return gdZones;
	}

	public String getRuleName() {
		return ruleName;
	}

	public float getChance() {
		return chance;
	}

	public int getMinDiff() {
		return minDiff;
	}

	public int getMaxDiff() {
		return maxDiff;
	}

	public RestrictionRace getRestrictionRace() {
		return restrictionRace;
	}

	public boolean isUseLevelBasedChanceReduction() {
		return useLevelBasedChanceReduction;
	}

	public int getMemberLimit() {
		return memberLimit;
	}

	public int getMaxDropRule() {
		return maxDropRule;
	}

	public boolean isDynamicChance() {
		return dynamicChance;
	}

	@XmlType(name = "race_restriction")
	@XmlEnum
	public enum RestrictionRace {
		ASMODIANS,
		ELYOS
	}
}

📎 첨부파일

댓글 작성 권한이 없습니다.
🏆 포인트 랭킹 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