- * Java class for AbstractTemplate complex type. + *
Java class for AbstractTemplate complex type. * - *
- * The following schema fragment specifies the expected content contained within - * this class. + *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="AbstractTemplate">
@@ -35,8 +34,15 @@ import javax.xml.bind.annotation.XmlType;
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractTemplate")
-@XmlSeeAlso({ ItemTemplate.class, ActorTemplate.class, SkillTemplate.class,
- com.l2jserver.model.template.Teleports.Teleport.class })
-public abstract class AbstractTemplate implements Template {
+@XmlSeeAlso({
+ ItemTemplate.class,
+ ActorTemplate.class,
+ SkillTemplate.class,
+ TeleportationTemplate.class
+})
+public abstract class AbstractTemplate
+ implements Template
+{
+
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ActorTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ActorTemplate.java
index 65db073f8..c9c5fc78c 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ActorTemplate.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ActorTemplate.java
@@ -2,9 +2,10 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
@@ -12,13 +13,11 @@ import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
+
/**
- *
- * Java class for ActorTemplate complex type.
+ *
Java class for ActorTemplate complex type.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ActorTemplate">
@@ -33,7 +32,13 @@ import javax.xml.bind.annotation.XmlType;
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ActorTemplate")
-@XmlSeeAlso({ CharacterTemplate.class, NPCTemplate.class })
-public abstract class ActorTemplate extends AbstractTemplate {
+@XmlSeeAlso({
+ CharacterTemplate.class,
+ NPCTemplate.class
+})
+public abstract class ActorTemplate
+ extends AbstractTemplate
+{
+
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunction.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunction.java
index afd8009c8..1a67502be 100644
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunction.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunction.java
@@ -2,22 +2,21 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
+
/**
- *
- * Java class for CalculatorFunction complex type.
+ *
Java class for CalculatorFunction complex type.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CalculatorFunction">
@@ -37,97 +36,113 @@ import javax.xml.bind.annotation.XmlType;
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CalculatorFunction", propOrder = { "set", "add", "subtract",
- "random" })
+@XmlType(name = "CalculatorFunction", propOrder = {
+ "set",
+ "add",
+ "subtract",
+ "random"
+})
public class CalculatorFunction {
- protected CalculatorFunctionOperation set;
- protected CalculatorFunctionOperation add;
- protected CalculatorFunctionOperation subtract;
- protected CalculatorFunctionOperation random;
+ protected CalculatorFunctionOperation set;
+ protected CalculatorFunctionOperation add;
+ protected CalculatorFunctionOperation subtract;
+ protected CalculatorFunctionOperation random;
- /**
- * Gets the value of the set property.
- *
- * @return possible object is {@link CalculatorFunctionOperation }
- *
- */
- public CalculatorFunctionOperation getSet() {
- return set;
- }
+ /**
+ * Gets the value of the set property.
+ *
+ * @return
+ * possible object is
+ * {@link CalculatorFunctionOperation }
+ *
+ */
+ public CalculatorFunctionOperation getSet() {
+ return set;
+ }
- /**
- * Sets the value of the set property.
- *
- * @param value
- * allowed object is {@link CalculatorFunctionOperation }
- *
- */
- public void setSet(CalculatorFunctionOperation value) {
- this.set = value;
- }
+ /**
+ * Sets the value of the set property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CalculatorFunctionOperation }
+ *
+ */
+ public void setSet(CalculatorFunctionOperation value) {
+ this.set = value;
+ }
- /**
- * Gets the value of the add property.
- *
- * @return possible object is {@link CalculatorFunctionOperation }
- *
- */
- public CalculatorFunctionOperation getAdd() {
- return add;
- }
+ /**
+ * Gets the value of the add property.
+ *
+ * @return
+ * possible object is
+ * {@link CalculatorFunctionOperation }
+ *
+ */
+ public CalculatorFunctionOperation getAdd() {
+ return add;
+ }
- /**
- * Sets the value of the add property.
- *
- * @param value
- * allowed object is {@link CalculatorFunctionOperation }
- *
- */
- public void setAdd(CalculatorFunctionOperation value) {
- this.add = value;
- }
+ /**
+ * Sets the value of the add property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CalculatorFunctionOperation }
+ *
+ */
+ public void setAdd(CalculatorFunctionOperation value) {
+ this.add = value;
+ }
- /**
- * Gets the value of the subtract property.
- *
- * @return possible object is {@link CalculatorFunctionOperation }
- *
- */
- public CalculatorFunctionOperation getSubtract() {
- return subtract;
- }
+ /**
+ * Gets the value of the subtract property.
+ *
+ * @return
+ * possible object is
+ * {@link CalculatorFunctionOperation }
+ *
+ */
+ public CalculatorFunctionOperation getSubtract() {
+ return subtract;
+ }
- /**
- * Sets the value of the subtract property.
- *
- * @param value
- * allowed object is {@link CalculatorFunctionOperation }
- *
- */
- public void setSubtract(CalculatorFunctionOperation value) {
- this.subtract = value;
- }
+ /**
+ * Sets the value of the subtract property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CalculatorFunctionOperation }
+ *
+ */
+ public void setSubtract(CalculatorFunctionOperation value) {
+ this.subtract = value;
+ }
- /**
- * Gets the value of the random property.
- *
- * @return possible object is {@link CalculatorFunctionOperation }
- *
- */
- public CalculatorFunctionOperation getRandom() {
- return random;
- }
+ /**
+ * Gets the value of the random property.
+ *
+ * @return
+ * possible object is
+ * {@link CalculatorFunctionOperation }
+ *
+ */
+ public CalculatorFunctionOperation getRandom() {
+ return random;
+ }
- /**
- * Sets the value of the random property.
- *
- * @param value
- * allowed object is {@link CalculatorFunctionOperation }
- *
- */
- public void setRandom(CalculatorFunctionOperation value) {
- this.random = value;
- }
+ /**
+ * Sets the value of the random property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CalculatorFunctionOperation }
+ *
+ */
+ public void setRandom(CalculatorFunctionOperation value) {
+ this.random = value;
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunctionOperation.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunctionOperation.java
index 655e639ce..bc360c649 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunctionOperation.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunctionOperation.java
@@ -2,25 +2,23 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import java.math.BigInteger;
-
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
+
/**
- *
- * Java class for CalculatorFunctionOperation complex type.
+ *
Java class for CalculatorFunctionOperation complex type.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CalculatorFunctionOperation">
@@ -39,46 +37,49 @@ import javax.xml.bind.annotation.XmlType;
@XmlType(name = "CalculatorFunctionOperation")
public class CalculatorFunctionOperation {
- @XmlAttribute(name = "order", required = true)
- protected BigInteger order;
- @XmlAttribute(name = "value", required = true)
- protected double value;
+ @XmlAttribute(name = "order", required = true)
+ protected BigInteger order;
+ @XmlAttribute(name = "value", required = true)
+ protected double value;
- /**
- * Gets the value of the order property.
- *
- * @return possible object is {@link BigInteger }
- *
- */
- public BigInteger getOrder() {
- return order;
- }
+ /**
+ * Gets the value of the order property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getOrder() {
+ return order;
+ }
- /**
- * Sets the value of the order property.
- *
- * @param value
- * allowed object is {@link BigInteger }
- *
- */
- public void setOrder(BigInteger value) {
- this.order = value;
- }
+ /**
+ * Sets the value of the order property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setOrder(BigInteger value) {
+ this.order = value;
+ }
- /**
- * Gets the value of the value property.
- *
- */
- public double getValue() {
- return value;
- }
+ /**
+ * Gets the value of the value property.
+ *
+ */
+ public double getValue() {
+ return value;
+ }
- /**
- * Sets the value of the value property.
- *
- */
- public void setValue(double value) {
- this.value = value;
- }
+ /**
+ * Sets the value of the value property.
+ *
+ */
+ public void setValue(double value) {
+ this.value = value;
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CharacterTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CharacterTemplate.java
index 900e264ac..0afa041c7 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CharacterTemplate.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CharacterTemplate.java
@@ -2,9 +2,10 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
@@ -14,17 +15,14 @@ import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
import com.l2jserver.model.id.template.CharacterTemplateID;
import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter;
+
/**
- *
- * Java class for character element declaration.
+ *
Java class for character element declaration.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="character">
@@ -226,1642 +224,1671 @@ import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter;
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = { "stats", "collision" })
+@XmlType(name = "", propOrder = {
+ "stats",
+ "collision"
+})
@XmlRootElement(name = "character", namespace = "http://schemas.l2jserver2.com/character")
-public class CharacterTemplate extends ActorTemplate {
-
- @XmlElement(required = true)
- protected CharacterTemplate.Stats stats;
- @XmlElement(required = true)
- protected CharacterTemplate.Collision collision;
- @XmlAttribute(name = "class", required = true)
- @XmlJavaTypeAdapter(CharacterTemplateIDAdapter.class)
- protected CharacterTemplateID id;
-
- /**
- * Gets the value of the stats property.
- *
- * @return possible object is {@link CharacterTemplate.Stats }
- *
- */
- public CharacterTemplate.Stats getStats() {
- return stats;
- }
-
- /**
- * Sets the value of the stats property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Stats }
- *
- */
- public void setStats(CharacterTemplate.Stats value) {
- this.stats = value;
- }
-
- /**
- * Gets the value of the collision property.
- *
- * @return possible object is {@link CharacterTemplate.Collision }
- *
- */
- public CharacterTemplate.Collision getCollision() {
- return collision;
- }
-
- /**
- * Sets the value of the collision property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Collision }
- *
- */
- public void setCollision(CharacterTemplate.Collision value) {
- this.collision = value;
- }
-
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public CharacterTemplateID getID() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setID(CharacterTemplateID value) {
- this.id = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="male">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="female">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "male", "female" })
- public static class Collision {
-
- @XmlElement(required = true)
- protected CharacterTemplate.Collision.Male male;
- @XmlElement(required = true)
- protected CharacterTemplate.Collision.Female female;
-
- /**
- * Gets the value of the male property.
- *
- * @return possible object is {@link CharacterTemplate.Collision.Male }
- *
- */
- public CharacterTemplate.Collision.Male getMale() {
- return male;
- }
-
- /**
- * Sets the value of the male property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Collision.Male }
- *
- */
- public void setMale(CharacterTemplate.Collision.Male value) {
- this.male = value;
- }
-
- /**
- * Gets the value of the female property.
- *
- * @return possible object is {@link CharacterTemplate.Collision.Female }
- *
- */
- public CharacterTemplate.Collision.Female getFemale() {
- return female;
- }
-
- /**
- * Sets the value of the female property.
- *
- * @param value
- * allowed object is
- * {@link CharacterTemplate.Collision.Female }
- *
- */
- public void setFemale(CharacterTemplate.Collision.Female value) {
- this.female = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Female {
-
- @XmlAttribute(name = "radius", required = true)
- protected double radius;
- @XmlAttribute(name = "heigth", required = true)
- protected double heigth;
-
- /**
- * Gets the value of the radius property.
- *
- */
- public double getRadius() {
- return radius;
- }
-
- /**
- * Sets the value of the radius property.
- *
- */
- public void setRadius(double value) {
- this.radius = value;
- }
-
- /**
- * Gets the value of the heigth property.
- *
- */
- public double getHeigth() {
- return heigth;
- }
-
- /**
- * Sets the value of the heigth property.
- *
- */
- public void setHeigth(double value) {
- this.heigth = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Male {
-
- @XmlAttribute(name = "radius", required = true)
- protected double radius;
- @XmlAttribute(name = "heigth", required = true)
- protected double heigth;
-
- /**
- * Gets the value of the radius property.
- *
- */
- public double getRadius() {
- return radius;
- }
-
- /**
- * Sets the value of the radius property.
- *
- */
- public void setRadius(double value) {
- this.radius = value;
- }
-
- /**
- * Gets the value of the heigth property.
- *
- */
- public double getHeigth() {
- return heigth;
- }
-
- /**
- * Sets the value of the heigth property.
- *
- */
- public void setHeigth(double value) {
- this.heigth = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="hp">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="mp">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="cp">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="attack">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="accuracy" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="defense">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="move">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="base">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="maxload" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * </sequence>
- * <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="crafter" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "hp", "mp", "cp", "attack", "defense",
- "move", "base", "maxload" })
- public static class Stats {
-
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Hp hp;
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Mp mp;
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Cp cp;
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Attack attack;
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Defense defense;
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Move move;
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Base base;
- protected int maxload;
- @XmlAttribute(name = "level", required = true)
- protected int level;
- @XmlAttribute(name = "crafter", required = true)
- protected boolean crafter;
-
- /**
- * Gets the value of the hp property.
- *
- * @return possible object is {@link CharacterTemplate.Stats.Hp }
- *
- */
- public CharacterTemplate.Stats.Hp getHp() {
- return hp;
- }
-
- /**
- * Sets the value of the hp property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Stats.Hp }
- *
- */
- public void setHp(CharacterTemplate.Stats.Hp value) {
- this.hp = value;
- }
-
- /**
- * Gets the value of the mp property.
- *
- * @return possible object is {@link CharacterTemplate.Stats.Mp }
- *
- */
- public CharacterTemplate.Stats.Mp getMp() {
- return mp;
- }
-
- /**
- * Sets the value of the mp property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Stats.Mp }
- *
- */
- public void setMp(CharacterTemplate.Stats.Mp value) {
- this.mp = value;
- }
-
- /**
- * Gets the value of the cp property.
- *
- * @return possible object is {@link CharacterTemplate.Stats.Cp }
- *
- */
- public CharacterTemplate.Stats.Cp getCp() {
- return cp;
- }
-
- /**
- * Sets the value of the cp property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Stats.Cp }
- *
- */
- public void setCp(CharacterTemplate.Stats.Cp value) {
- this.cp = value;
- }
-
- /**
- * Gets the value of the attack property.
- *
- * @return possible object is {@link CharacterTemplate.Stats.Attack }
- *
- */
- public CharacterTemplate.Stats.Attack getAttack() {
- return attack;
- }
-
- /**
- * Sets the value of the attack property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Stats.Attack }
- *
- */
- public void setAttack(CharacterTemplate.Stats.Attack value) {
- this.attack = value;
- }
-
- /**
- * Gets the value of the defense property.
- *
- * @return possible object is {@link CharacterTemplate.Stats.Defense }
- *
- */
- public CharacterTemplate.Stats.Defense getDefense() {
- return defense;
- }
-
- /**
- * Sets the value of the defense property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Stats.Defense }
- *
- */
- public void setDefense(CharacterTemplate.Stats.Defense value) {
- this.defense = value;
- }
-
- /**
- * Gets the value of the move property.
- *
- * @return possible object is {@link CharacterTemplate.Stats.Move }
- *
- */
- public CharacterTemplate.Stats.Move getMove() {
- return move;
- }
-
- /**
- * Sets the value of the move property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Stats.Move }
- *
- */
- public void setMove(CharacterTemplate.Stats.Move value) {
- this.move = value;
- }
-
- /**
- * Gets the value of the base property.
- *
- * @return possible object is {@link CharacterTemplate.Stats.Base }
- *
- */
- public CharacterTemplate.Stats.Base getBase() {
- return base;
- }
-
- /**
- * Sets the value of the base property.
- *
- * @param value
- * allowed object is {@link CharacterTemplate.Stats.Base }
- *
- */
- public void setBase(CharacterTemplate.Stats.Base value) {
- this.base = value;
- }
-
- /**
- * Gets the value of the maxload property.
- *
- */
- public int getMaxload() {
- return maxload;
- }
-
- /**
- * Sets the value of the maxload property.
- *
- */
- public void setMaxload(int value) {
- this.maxload = value;
- }
-
- /**
- * Gets the value of the level property.
- *
- */
- public int getLevel() {
- return level;
- }
-
- /**
- * Sets the value of the level property.
- *
- */
- public void setLevel(int value) {
- this.level = value;
- }
-
- /**
- * Gets the value of the crafter property.
- *
- */
- public boolean isCrafter() {
- return crafter;
- }
-
- /**
- * Sets the value of the crafter property.
- *
- */
- public void setCrafter(boolean value) {
- this.crafter = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="accuracy" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "physical", "magical" })
- public static class Attack {
-
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Attack.Physical physical;
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Attack.Magical magical;
- @XmlAttribute(name = "evasion", required = true)
- protected int evasion;
- @XmlAttribute(name = "critical", required = true)
- protected int critical;
- @XmlAttribute(name = "accuracy", required = true)
- protected int accuracy;
-
- /**
- * Gets the value of the physical property.
- *
- * @return possible object is
- * {@link CharacterTemplate.Stats.Attack.Physical }
- *
- */
- public CharacterTemplate.Stats.Attack.Physical getPhysical() {
- return physical;
- }
-
- /**
- * Sets the value of the physical property.
- *
- * @param value
- * allowed object is
- * {@link CharacterTemplate.Stats.Attack.Physical }
- *
- */
- public void setPhysical(
- CharacterTemplate.Stats.Attack.Physical value) {
- this.physical = value;
- }
-
- /**
- * Gets the value of the magical property.
- *
- * @return possible object is
- * {@link CharacterTemplate.Stats.Attack.Magical }
- *
- */
- public CharacterTemplate.Stats.Attack.Magical getMagical() {
- return magical;
- }
-
- /**
- * Sets the value of the magical property.
- *
- * @param value
- * allowed object is
- * {@link CharacterTemplate.Stats.Attack.Magical }
- *
- */
- public void setMagical(CharacterTemplate.Stats.Attack.Magical value) {
- this.magical = value;
- }
-
- /**
- * Gets the value of the evasion property.
- *
- */
- public int getEvasion() {
- return evasion;
- }
-
- /**
- * Sets the value of the evasion property.
- *
- */
- public void setEvasion(int value) {
- this.evasion = value;
- }
-
- /**
- * Gets the value of the critical property.
- *
- */
- public int getCritical() {
- return critical;
- }
-
- /**
- * Sets the value of the critical property.
- *
- */
- public void setCritical(int value) {
- this.critical = value;
- }
-
- /**
- * Gets the value of the accuracy property.
- *
- */
- public int getAccuracy() {
- return accuracy;
- }
-
- /**
- * Sets the value of the accuracy property.
- *
- */
- public void setAccuracy(int value) {
- this.accuracy = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Magical {
-
- @XmlAttribute(name = "damage", required = true)
- protected double damage;
- @XmlAttribute(name = "speed", required = true)
- protected double speed;
-
- /**
- * Gets the value of the damage property.
- *
- */
- public double getDamage() {
- return damage;
- }
-
- /**
- * Sets the value of the damage property.
- *
- */
- public void setDamage(double value) {
- this.damage = value;
- }
-
- /**
- * Gets the value of the speed property.
- *
- */
- public double getSpeed() {
- return speed;
- }
-
- /**
- * Sets the value of the speed property.
- *
- */
- public void setSpeed(double value) {
- this.speed = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Physical {
-
- @XmlAttribute(name = "damage", required = true)
- protected double damage;
- @XmlAttribute(name = "speed", required = true)
- protected double speed;
-
- /**
- * Gets the value of the damage property.
- *
- */
- public double getDamage() {
- return damage;
- }
-
- /**
- * Sets the value of the damage property.
- *
- */
- public void setDamage(double value) {
- this.damage = value;
- }
-
- /**
- * Gets the value of the speed property.
- *
- */
- public double getSpeed() {
- return speed;
- }
-
- /**
- * Sets the value of the speed property.
- *
- */
- public void setSpeed(double value) {
- this.speed = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Base {
-
- @XmlAttribute(name = "int", required = true)
- protected int _int;
- @XmlAttribute(name = "str", required = true)
- protected int str;
- @XmlAttribute(name = "con", required = true)
- protected int con;
- @XmlAttribute(name = "men", required = true)
- protected int men;
- @XmlAttribute(name = "dex", required = true)
- protected int dex;
- @XmlAttribute(name = "wit", required = true)
- protected int wit;
-
- /**
- * Gets the value of the int property.
- *
- */
- public int getInt() {
- return _int;
- }
-
- /**
- * Sets the value of the int property.
- *
- */
- public void setInt(int value) {
- this._int = value;
- }
-
- /**
- * Gets the value of the str property.
- *
- */
- public int getStr() {
- return str;
- }
-
- /**
- * Sets the value of the str property.
- *
- */
- public void setStr(int value) {
- this.str = value;
- }
-
- /**
- * Gets the value of the con property.
- *
- */
- public int getCon() {
- return con;
- }
-
- /**
- * Sets the value of the con property.
- *
- */
- public void setCon(int value) {
- this.con = value;
- }
-
- /**
- * Gets the value of the men property.
- *
- */
- public int getMen() {
- return men;
- }
-
- /**
- * Sets the value of the men property.
- *
- */
- public void setMen(int value) {
- this.men = value;
- }
-
- /**
- * Gets the value of the dex property.
- *
- */
- public int getDex() {
- return dex;
- }
-
- /**
- * Sets the value of the dex property.
- *
- */
- public void setDex(int value) {
- this.dex = value;
- }
-
- /**
- * Gets the value of the wit property.
- *
- */
- public int getWit() {
- return wit;
- }
-
- /**
- * Sets the value of the wit property.
- *
- */
- public void setWit(int value) {
- this.wit = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Cp {
-
- @XmlAttribute(name = "base", required = true)
- protected double base;
- @XmlAttribute(name = "modifier", required = true)
- protected double modifier;
- @XmlAttribute(name = "add", required = true)
- protected double add;
-
- /**
- * Gets the value of the base property.
- *
- */
- public double getBase() {
- return base;
- }
-
- /**
- * Sets the value of the base property.
- *
- */
- public void setBase(double value) {
- this.base = value;
- }
-
- /**
- * Gets the value of the modifier property.
- *
- */
- public double getModifier() {
- return modifier;
- }
-
- /**
- * Sets the value of the modifier property.
- *
- */
- public void setModifier(double value) {
- this.modifier = value;
- }
-
- /**
- * Gets the value of the add property.
- *
- */
- public double getAdd() {
- return add;
- }
-
- /**
- * Sets the value of the add property.
- *
- */
- public void setAdd(double value) {
- this.add = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "physical", "magical" })
- public static class Defense {
-
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Defense.Physical physical;
- @XmlElement(required = true)
- protected CharacterTemplate.Stats.Defense.Magical magical;
-
- /**
- * Gets the value of the physical property.
- *
- * @return possible object is
- * {@link CharacterTemplate.Stats.Defense.Physical }
- *
- */
- public CharacterTemplate.Stats.Defense.Physical getPhysical() {
- return physical;
- }
-
- /**
- * Sets the value of the physical property.
- *
- * @param value
- * allowed object is
- * {@link CharacterTemplate.Stats.Defense.Physical }
- *
- */
- public void setPhysical(
- CharacterTemplate.Stats.Defense.Physical value) {
- this.physical = value;
- }
-
- /**
- * Gets the value of the magical property.
- *
- * @return possible object is
- * {@link CharacterTemplate.Stats.Defense.Magical }
- *
- */
- public CharacterTemplate.Stats.Defense.Magical getMagical() {
- return magical;
- }
-
- /**
- * Sets the value of the magical property.
- *
- * @param value
- * allowed object is
- * {@link CharacterTemplate.Stats.Defense.Magical }
- *
- */
- public void setMagical(CharacterTemplate.Stats.Defense.Magical value) {
- this.magical = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Magical {
-
- @XmlAttribute(name = "value", required = true)
- protected double value;
-
- /**
- * Gets the value of the value property.
- *
- */
- public double getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- */
- public void setValue(double value) {
- this.value = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Physical {
-
- @XmlAttribute(name = "value", required = true)
- protected double value;
-
- /**
- * Gets the value of the value property.
- *
- */
- public double getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- */
- public void setValue(double value) {
- this.value = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Hp {
-
- @XmlAttribute(name = "base", required = true)
- protected double base;
- @XmlAttribute(name = "modifier", required = true)
- protected double modifier;
- @XmlAttribute(name = "add", required = true)
- protected double add;
-
- /**
- * Gets the value of the base property.
- *
- */
- public double getBase() {
- return base;
- }
-
- /**
- * Sets the value of the base property.
- *
- */
- public void setBase(double value) {
- this.base = value;
- }
-
- /**
- * Gets the value of the modifier property.
- *
- */
- public double getModifier() {
- return modifier;
- }
-
- /**
- * Sets the value of the modifier property.
- *
- */
- public void setModifier(double value) {
- this.modifier = value;
- }
-
- /**
- * Gets the value of the add property.
- *
- */
- public double getAdd() {
- return add;
- }
-
- /**
- * Sets the value of the add property.
- *
- */
- public void setAdd(double value) {
- this.add = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Move {
-
- @XmlAttribute(name = "run", required = true)
- protected double run;
- @XmlAttribute(name = "walk", required = true)
- protected double walk;
-
- /**
- * Gets the value of the run property.
- *
- */
- public double getRun() {
- return run;
- }
-
- /**
- * Sets the value of the run property.
- *
- */
- public void setRun(double value) {
- this.run = value;
- }
-
- /**
- * Gets the value of the walk property.
- *
- */
- public double getWalk() {
- return walk;
- }
-
- /**
- * Sets the value of the walk property.
- *
- */
- public void setWalk(double value) {
- this.walk = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Mp {
-
- @XmlAttribute(name = "base", required = true)
- protected double base;
- @XmlAttribute(name = "modifier", required = true)
- protected double modifier;
- @XmlAttribute(name = "add", required = true)
- protected double add;
-
- /**
- * Gets the value of the base property.
- *
- */
- public double getBase() {
- return base;
- }
-
- /**
- * Sets the value of the base property.
- *
- */
- public void setBase(double value) {
- this.base = value;
- }
-
- /**
- * Gets the value of the modifier property.
- *
- */
- public double getModifier() {
- return modifier;
- }
-
- /**
- * Sets the value of the modifier property.
- *
- */
- public void setModifier(double value) {
- this.modifier = value;
- }
-
- /**
- * Gets the value of the add property.
- *
- */
- public double getAdd() {
- return add;
- }
-
- /**
- * Sets the value of the add property.
- *
- */
- public void setAdd(double value) {
- this.add = value;
- }
-
- }
-
- }
+public class CharacterTemplate
+ extends ActorTemplate
+{
+
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats stats;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Collision collision;
+ @XmlAttribute(name = "class", required = true)
+ @XmlJavaTypeAdapter(CharacterTemplateIDAdapter.class)
+ protected CharacterTemplateID id;
+
+ /**
+ * Gets the value of the stats property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats }
+ *
+ */
+ public CharacterTemplate.Stats getStats() {
+ return stats;
+ }
+
+ /**
+ * Sets the value of the stats property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats }
+ *
+ */
+ public void setStats(CharacterTemplate.Stats value) {
+ this.stats = value;
+ }
+
+ /**
+ * Gets the value of the collision property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Collision }
+ *
+ */
+ public CharacterTemplate.Collision getCollision() {
+ return collision;
+ }
+
+ /**
+ * Sets the value of the collision property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Collision }
+ *
+ */
+ public void setCollision(CharacterTemplate.Collision value) {
+ this.collision = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public CharacterTemplateID getID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setID(CharacterTemplateID value) {
+ this.id = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="male">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="female">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "male",
+ "female"
+ })
+ public static class Collision {
+
+ @XmlElement(required = true)
+ protected CharacterTemplate.Collision.Male male;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Collision.Female female;
+
+ /**
+ * Gets the value of the male property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Collision.Male }
+ *
+ */
+ public CharacterTemplate.Collision.Male getMale() {
+ return male;
+ }
+
+ /**
+ * Sets the value of the male property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Collision.Male }
+ *
+ */
+ public void setMale(CharacterTemplate.Collision.Male value) {
+ this.male = value;
+ }
+
+ /**
+ * Gets the value of the female property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Collision.Female }
+ *
+ */
+ public CharacterTemplate.Collision.Female getFemale() {
+ return female;
+ }
+
+ /**
+ * Sets the value of the female property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Collision.Female }
+ *
+ */
+ public void setFemale(CharacterTemplate.Collision.Female value) {
+ this.female = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Female {
+
+ @XmlAttribute(name = "radius", required = true)
+ protected double radius;
+ @XmlAttribute(name = "heigth", required = true)
+ protected double heigth;
+
+ /**
+ * Gets the value of the radius property.
+ *
+ */
+ public double getRadius() {
+ return radius;
+ }
+
+ /**
+ * Sets the value of the radius property.
+ *
+ */
+ public void setRadius(double value) {
+ this.radius = value;
+ }
+
+ /**
+ * Gets the value of the heigth property.
+ *
+ */
+ public double getHeigth() {
+ return heigth;
+ }
+
+ /**
+ * Sets the value of the heigth property.
+ *
+ */
+ public void setHeigth(double value) {
+ this.heigth = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Male {
+
+ @XmlAttribute(name = "radius", required = true)
+ protected double radius;
+ @XmlAttribute(name = "heigth", required = true)
+ protected double heigth;
+
+ /**
+ * Gets the value of the radius property.
+ *
+ */
+ public double getRadius() {
+ return radius;
+ }
+
+ /**
+ * Sets the value of the radius property.
+ *
+ */
+ public void setRadius(double value) {
+ this.radius = value;
+ }
+
+ /**
+ * Gets the value of the heigth property.
+ *
+ */
+ public double getHeigth() {
+ return heigth;
+ }
+
+ /**
+ * Sets the value of the heigth property.
+ *
+ */
+ public void setHeigth(double value) {
+ this.heigth = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="hp">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="mp">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="cp">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="attack">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="accuracy" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="defense">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="move">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="base">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="maxload" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="crafter" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "hp",
+ "mp",
+ "cp",
+ "attack",
+ "defense",
+ "move",
+ "base",
+ "maxload"
+ })
+ public static class Stats {
+
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Hp hp;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Mp mp;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Cp cp;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Attack attack;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Defense defense;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Move move;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Base base;
+ protected int maxload;
+ @XmlAttribute(name = "level", required = true)
+ protected int level;
+ @XmlAttribute(name = "crafter", required = true)
+ protected boolean crafter;
+
+ /**
+ * Gets the value of the hp property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Hp }
+ *
+ */
+ public CharacterTemplate.Stats.Hp getHp() {
+ return hp;
+ }
+
+ /**
+ * Sets the value of the hp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Hp }
+ *
+ */
+ public void setHp(CharacterTemplate.Stats.Hp value) {
+ this.hp = value;
+ }
+
+ /**
+ * Gets the value of the mp property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Mp }
+ *
+ */
+ public CharacterTemplate.Stats.Mp getMp() {
+ return mp;
+ }
+
+ /**
+ * Sets the value of the mp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Mp }
+ *
+ */
+ public void setMp(CharacterTemplate.Stats.Mp value) {
+ this.mp = value;
+ }
+
+ /**
+ * Gets the value of the cp property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Cp }
+ *
+ */
+ public CharacterTemplate.Stats.Cp getCp() {
+ return cp;
+ }
+
+ /**
+ * Sets the value of the cp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Cp }
+ *
+ */
+ public void setCp(CharacterTemplate.Stats.Cp value) {
+ this.cp = value;
+ }
+
+ /**
+ * Gets the value of the attack property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Attack }
+ *
+ */
+ public CharacterTemplate.Stats.Attack getAttack() {
+ return attack;
+ }
+
+ /**
+ * Sets the value of the attack property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Attack }
+ *
+ */
+ public void setAttack(CharacterTemplate.Stats.Attack value) {
+ this.attack = value;
+ }
+
+ /**
+ * Gets the value of the defense property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Defense }
+ *
+ */
+ public CharacterTemplate.Stats.Defense getDefense() {
+ return defense;
+ }
+
+ /**
+ * Sets the value of the defense property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Defense }
+ *
+ */
+ public void setDefense(CharacterTemplate.Stats.Defense value) {
+ this.defense = value;
+ }
+
+ /**
+ * Gets the value of the move property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Move }
+ *
+ */
+ public CharacterTemplate.Stats.Move getMove() {
+ return move;
+ }
+
+ /**
+ * Sets the value of the move property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Move }
+ *
+ */
+ public void setMove(CharacterTemplate.Stats.Move value) {
+ this.move = value;
+ }
+
+ /**
+ * Gets the value of the base property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Base }
+ *
+ */
+ public CharacterTemplate.Stats.Base getBase() {
+ return base;
+ }
+
+ /**
+ * Sets the value of the base property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Base }
+ *
+ */
+ public void setBase(CharacterTemplate.Stats.Base value) {
+ this.base = value;
+ }
+
+ /**
+ * Gets the value of the maxload property.
+ *
+ */
+ public int getMaxload() {
+ return maxload;
+ }
+
+ /**
+ * Sets the value of the maxload property.
+ *
+ */
+ public void setMaxload(int value) {
+ this.maxload = value;
+ }
+
+ /**
+ * Gets the value of the level property.
+ *
+ */
+ public int getLevel() {
+ return level;
+ }
+
+ /**
+ * Sets the value of the level property.
+ *
+ */
+ public void setLevel(int value) {
+ this.level = value;
+ }
+
+ /**
+ * Gets the value of the crafter property.
+ *
+ */
+ public boolean isCrafter() {
+ return crafter;
+ }
+
+ /**
+ * Sets the value of the crafter property.
+ *
+ */
+ public void setCrafter(boolean value) {
+ this.crafter = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="accuracy" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "physical",
+ "magical"
+ })
+ public static class Attack {
+
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Attack.Physical physical;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Attack.Magical magical;
+ @XmlAttribute(name = "evasion", required = true)
+ protected int evasion;
+ @XmlAttribute(name = "critical", required = true)
+ protected int critical;
+ @XmlAttribute(name = "accuracy", required = true)
+ protected int accuracy;
+
+ /**
+ * Gets the value of the physical property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Attack.Physical }
+ *
+ */
+ public CharacterTemplate.Stats.Attack.Physical getPhysical() {
+ return physical;
+ }
+
+ /**
+ * Sets the value of the physical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Attack.Physical }
+ *
+ */
+ public void setPhysical(CharacterTemplate.Stats.Attack.Physical value) {
+ this.physical = value;
+ }
+
+ /**
+ * Gets the value of the magical property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Attack.Magical }
+ *
+ */
+ public CharacterTemplate.Stats.Attack.Magical getMagical() {
+ return magical;
+ }
+
+ /**
+ * Sets the value of the magical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Attack.Magical }
+ *
+ */
+ public void setMagical(CharacterTemplate.Stats.Attack.Magical value) {
+ this.magical = value;
+ }
+
+ /**
+ * Gets the value of the evasion property.
+ *
+ */
+ public int getEvasion() {
+ return evasion;
+ }
+
+ /**
+ * Sets the value of the evasion property.
+ *
+ */
+ public void setEvasion(int value) {
+ this.evasion = value;
+ }
+
+ /**
+ * Gets the value of the critical property.
+ *
+ */
+ public int getCritical() {
+ return critical;
+ }
+
+ /**
+ * Sets the value of the critical property.
+ *
+ */
+ public void setCritical(int value) {
+ this.critical = value;
+ }
+
+ /**
+ * Gets the value of the accuracy property.
+ *
+ */
+ public int getAccuracy() {
+ return accuracy;
+ }
+
+ /**
+ * Sets the value of the accuracy property.
+ *
+ */
+ public void setAccuracy(int value) {
+ this.accuracy = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Magical {
+
+ @XmlAttribute(name = "damage", required = true)
+ protected double damage;
+ @XmlAttribute(name = "speed", required = true)
+ protected double speed;
+
+ /**
+ * Gets the value of the damage property.
+ *
+ */
+ public double getDamage() {
+ return damage;
+ }
+
+ /**
+ * Sets the value of the damage property.
+ *
+ */
+ public void setDamage(double value) {
+ this.damage = value;
+ }
+
+ /**
+ * Gets the value of the speed property.
+ *
+ */
+ public double getSpeed() {
+ return speed;
+ }
+
+ /**
+ * Sets the value of the speed property.
+ *
+ */
+ public void setSpeed(double value) {
+ this.speed = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Physical {
+
+ @XmlAttribute(name = "damage", required = true)
+ protected double damage;
+ @XmlAttribute(name = "speed", required = true)
+ protected double speed;
+
+ /**
+ * Gets the value of the damage property.
+ *
+ */
+ public double getDamage() {
+ return damage;
+ }
+
+ /**
+ * Sets the value of the damage property.
+ *
+ */
+ public void setDamage(double value) {
+ this.damage = value;
+ }
+
+ /**
+ * Gets the value of the speed property.
+ *
+ */
+ public double getSpeed() {
+ return speed;
+ }
+
+ /**
+ * Sets the value of the speed property.
+ *
+ */
+ public void setSpeed(double value) {
+ this.speed = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Base {
+
+ @XmlAttribute(name = "int", required = true)
+ protected int _int;
+ @XmlAttribute(name = "str", required = true)
+ protected int str;
+ @XmlAttribute(name = "con", required = true)
+ protected int con;
+ @XmlAttribute(name = "men", required = true)
+ protected int men;
+ @XmlAttribute(name = "dex", required = true)
+ protected int dex;
+ @XmlAttribute(name = "wit", required = true)
+ protected int wit;
+
+ /**
+ * Gets the value of the int property.
+ *
+ */
+ public int getInt() {
+ return _int;
+ }
+
+ /**
+ * Sets the value of the int property.
+ *
+ */
+ public void setInt(int value) {
+ this._int = value;
+ }
+
+ /**
+ * Gets the value of the str property.
+ *
+ */
+ public int getStr() {
+ return str;
+ }
+
+ /**
+ * Sets the value of the str property.
+ *
+ */
+ public void setStr(int value) {
+ this.str = value;
+ }
+
+ /**
+ * Gets the value of the con property.
+ *
+ */
+ public int getCon() {
+ return con;
+ }
+
+ /**
+ * Sets the value of the con property.
+ *
+ */
+ public void setCon(int value) {
+ this.con = value;
+ }
+
+ /**
+ * Gets the value of the men property.
+ *
+ */
+ public int getMen() {
+ return men;
+ }
+
+ /**
+ * Sets the value of the men property.
+ *
+ */
+ public void setMen(int value) {
+ this.men = value;
+ }
+
+ /**
+ * Gets the value of the dex property.
+ *
+ */
+ public int getDex() {
+ return dex;
+ }
+
+ /**
+ * Sets the value of the dex property.
+ *
+ */
+ public void setDex(int value) {
+ this.dex = value;
+ }
+
+ /**
+ * Gets the value of the wit property.
+ *
+ */
+ public int getWit() {
+ return wit;
+ }
+
+ /**
+ * Sets the value of the wit property.
+ *
+ */
+ public void setWit(int value) {
+ this.wit = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Cp {
+
+ @XmlAttribute(name = "base", required = true)
+ protected double base;
+ @XmlAttribute(name = "modifier", required = true)
+ protected double modifier;
+ @XmlAttribute(name = "add", required = true)
+ protected double add;
+
+ /**
+ * Gets the value of the base property.
+ *
+ */
+ public double getBase() {
+ return base;
+ }
+
+ /**
+ * Sets the value of the base property.
+ *
+ */
+ public void setBase(double value) {
+ this.base = value;
+ }
+
+ /**
+ * Gets the value of the modifier property.
+ *
+ */
+ public double getModifier() {
+ return modifier;
+ }
+
+ /**
+ * Sets the value of the modifier property.
+ *
+ */
+ public void setModifier(double value) {
+ this.modifier = value;
+ }
+
+ /**
+ * Gets the value of the add property.
+ *
+ */
+ public double getAdd() {
+ return add;
+ }
+
+ /**
+ * Sets the value of the add property.
+ *
+ */
+ public void setAdd(double value) {
+ this.add = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "physical",
+ "magical"
+ })
+ public static class Defense {
+
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Defense.Physical physical;
+ @XmlElement(required = true)
+ protected CharacterTemplate.Stats.Defense.Magical magical;
+
+ /**
+ * Gets the value of the physical property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Defense.Physical }
+ *
+ */
+ public CharacterTemplate.Stats.Defense.Physical getPhysical() {
+ return physical;
+ }
+
+ /**
+ * Sets the value of the physical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Defense.Physical }
+ *
+ */
+ public void setPhysical(CharacterTemplate.Stats.Defense.Physical value) {
+ this.physical = value;
+ }
+
+ /**
+ * Gets the value of the magical property.
+ *
+ * @return
+ * possible object is
+ * {@link CharacterTemplate.Stats.Defense.Magical }
+ *
+ */
+ public CharacterTemplate.Stats.Defense.Magical getMagical() {
+ return magical;
+ }
+
+ /**
+ * Sets the value of the magical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CharacterTemplate.Stats.Defense.Magical }
+ *
+ */
+ public void setMagical(CharacterTemplate.Stats.Defense.Magical value) {
+ this.magical = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Magical {
+
+ @XmlAttribute(name = "value", required = true)
+ protected double value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ */
+ public double getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ */
+ public void setValue(double value) {
+ this.value = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Physical {
+
+ @XmlAttribute(name = "value", required = true)
+ protected double value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ */
+ public double getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ */
+ public void setValue(double value) {
+ this.value = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Hp {
+
+ @XmlAttribute(name = "base", required = true)
+ protected double base;
+ @XmlAttribute(name = "modifier", required = true)
+ protected double modifier;
+ @XmlAttribute(name = "add", required = true)
+ protected double add;
+
+ /**
+ * Gets the value of the base property.
+ *
+ */
+ public double getBase() {
+ return base;
+ }
+
+ /**
+ * Sets the value of the base property.
+ *
+ */
+ public void setBase(double value) {
+ this.base = value;
+ }
+
+ /**
+ * Gets the value of the modifier property.
+ *
+ */
+ public double getModifier() {
+ return modifier;
+ }
+
+ /**
+ * Sets the value of the modifier property.
+ *
+ */
+ public void setModifier(double value) {
+ this.modifier = value;
+ }
+
+ /**
+ * Gets the value of the add property.
+ *
+ */
+ public double getAdd() {
+ return add;
+ }
+
+ /**
+ * Sets the value of the add property.
+ *
+ */
+ public void setAdd(double value) {
+ this.add = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Move {
+
+ @XmlAttribute(name = "run", required = true)
+ protected double run;
+ @XmlAttribute(name = "walk", required = true)
+ protected double walk;
+
+ /**
+ * Gets the value of the run property.
+ *
+ */
+ public double getRun() {
+ return run;
+ }
+
+ /**
+ * Sets the value of the run property.
+ *
+ */
+ public void setRun(double value) {
+ this.run = value;
+ }
+
+ /**
+ * Gets the value of the walk property.
+ *
+ */
+ public double getWalk() {
+ return walk;
+ }
+
+ /**
+ * Sets the value of the walk property.
+ *
+ */
+ public void setWalk(double value) {
+ this.walk = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Mp {
+
+ @XmlAttribute(name = "base", required = true)
+ protected double base;
+ @XmlAttribute(name = "modifier", required = true)
+ protected double modifier;
+ @XmlAttribute(name = "add", required = true)
+ protected double add;
+
+ /**
+ * Gets the value of the base property.
+ *
+ */
+ public double getBase() {
+ return base;
+ }
+
+ /**
+ * Sets the value of the base property.
+ *
+ */
+ public void setBase(double value) {
+ this.base = value;
+ }
+
+ /**
+ * Gets the value of the modifier property.
+ *
+ */
+ public double getModifier() {
+ return modifier;
+ }
+
+ /**
+ * Sets the value of the modifier property.
+ *
+ */
+ public void setModifier(double value) {
+ this.modifier = value;
+ }
+
+ /**
+ * Gets the value of the add property.
+ *
+ */
+ public double getAdd() {
+ return add;
+ }
+
+ /**
+ * Sets the value of the add property.
+ *
+ */
+ public void setAdd(double value) {
+ this.add = value;
+ }
+
+ }
+
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ItemTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ItemTemplate.java
index 03f0b2f46..767edd05d 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ItemTemplate.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ItemTemplate.java
@@ -2,9 +2,10 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
@@ -15,7 +16,6 @@ import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.item.ArmorType;
import com.l2jserver.model.template.item.ItemMaterial;
@@ -27,13 +27,11 @@ import com.l2jserver.util.jaxb.ItemTemplateIDAdapter;
import com.l2jserver.util.jaxb.ItemTypeAdapter;
import com.l2jserver.util.jaxb.WeaponTypeAdapter;
+
/**
- *
- * Java class for item element declaration.
+ *
Java class for item element declaration.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="item">
@@ -156,951 +154,1034 @@ import com.l2jserver.util.jaxb.WeaponTypeAdapter;
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = { "attributes", "controller", "effect",
- "etcItem", "weapon", "armor" })
+@XmlType(name = "", propOrder = {
+ "attributes",
+ "controller",
+ "effect",
+ "etcItem",
+ "weapon",
+ "armor"
+})
@XmlRootElement(name = "item", namespace = "http://schemas.l2jserver2.com/item")
-public class ItemTemplate extends AbstractTemplate {
-
- @XmlElement(required = true)
- protected ItemTemplate.Attributes attributes;
- @XmlElement(required = true)
- protected ItemTemplate.Controller controller;
- @XmlElement(required = true)
- protected ItemTemplate.Effect effect;
- protected ItemTemplate.EtcItem etcItem;
- protected ItemTemplate.Weapon weapon;
- protected ItemTemplate.Armor armor;
- @XmlAttribute(name = "id", required = true)
- @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
- protected ItemTemplateID id;
- @XmlAttribute(name = "name", required = true)
- protected String name;
- @XmlAttribute(name = "icon")
- protected String icon;
-
- /**
- * Gets the value of the attributes property.
- *
- * @return possible object is {@link ItemTemplate.Attributes }
- *
- */
- public ItemTemplate.Attributes getAttributes() {
- return attributes;
- }
-
- /**
- * Sets the value of the attributes property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.Attributes }
- *
- */
- public void setAttributes(ItemTemplate.Attributes value) {
- this.attributes = value;
- }
-
- /**
- * Gets the value of the controller property.
- *
- * @return possible object is {@link ItemTemplate.Controller }
- *
- */
- public ItemTemplate.Controller getController() {
- return controller;
- }
-
- /**
- * Sets the value of the controller property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.Controller }
- *
- */
- public void setController(ItemTemplate.Controller value) {
- this.controller = value;
- }
-
- /**
- * Gets the value of the effect property.
- *
- * @return possible object is {@link ItemTemplate.Effect }
- *
- */
- public ItemTemplate.Effect getEffect() {
- return effect;
- }
-
- /**
- * Sets the value of the effect property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.Effect }
- *
- */
- public void setEffect(ItemTemplate.Effect value) {
- this.effect = value;
- }
-
- /**
- * Gets the value of the etcItem property.
- *
- * @return possible object is {@link ItemTemplate.EtcItem }
- *
- */
- public ItemTemplate.EtcItem getEtcItem() {
- return etcItem;
- }
-
- /**
- * Sets the value of the etcItem property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.EtcItem }
- *
- */
- public void setEtcItem(ItemTemplate.EtcItem value) {
- this.etcItem = value;
- }
-
- /**
- * Gets the value of the weapon property.
- *
- * @return possible object is {@link ItemTemplate.Weapon }
- *
- */
- public ItemTemplate.Weapon getWeapon() {
- return weapon;
- }
-
- /**
- * Sets the value of the weapon property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.Weapon }
- *
- */
- public void setWeapon(ItemTemplate.Weapon value) {
- this.weapon = value;
- }
-
- /**
- * Gets the value of the armor property.
- *
- * @return possible object is {@link ItemTemplate.Armor }
- *
- */
- public ItemTemplate.Armor getArmor() {
- return armor;
- }
-
- /**
- * Sets the value of the armor property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.Armor }
- *
- */
- public void setArmor(ItemTemplate.Armor value) {
- this.armor = value;
- }
-
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public ItemTemplateID getID() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setID(ItemTemplateID value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the icon property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getIcon() {
- return icon;
- }
-
- /**
- * Sets the value of the icon property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setIcon(String value) {
- this.icon = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cost">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="equipment">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="weigth" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- * <attribute name="type" type="{http://schemas.l2jserver2.com/item}ArmorType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "cost", "equipment" })
- public static class Armor {
-
- @XmlElement(required = true)
- protected ItemTemplate.Armor.Cost cost;
- @XmlElement(required = true)
- protected ItemTemplate.Armor.Equipment equipment;
- @XmlAttribute(name = "weigth")
- @XmlSchemaType(name = "anySimpleType")
- protected String weigth;
- @XmlAttribute(name = "type")
- @XmlJavaTypeAdapter(ArmorTypeAdapter.class)
- protected ArmorType type;
-
- /**
- * Gets the value of the cost property.
- *
- * @return possible object is {@link ItemTemplate.Armor.Cost }
- *
- */
- public ItemTemplate.Armor.Cost getCost() {
- return cost;
- }
-
- /**
- * Sets the value of the cost property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.Armor.Cost }
- *
- */
- public void setCost(ItemTemplate.Armor.Cost value) {
- this.cost = value;
- }
-
- /**
- * Gets the value of the equipment property.
- *
- * @return possible object is {@link ItemTemplate.Armor.Equipment }
- *
- */
- public ItemTemplate.Armor.Equipment getEquipment() {
- return equipment;
- }
-
- /**
- * Sets the value of the equipment property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.Armor.Equipment }
- *
- */
- public void setEquipment(ItemTemplate.Armor.Equipment value) {
- this.equipment = value;
- }
-
- /**
- * Gets the value of the weigth property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getWeigth() {
- return weigth;
- }
-
- /**
- * Sets the value of the weigth property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setWeigth(String value) {
- this.weigth = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return possible object is {@link String }
- *
- */
- public ArmorType getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setType(ArmorType value) {
- this.type = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Cost {
-
- @XmlAttribute(name = "adena")
- @XmlSchemaType(name = "anySimpleType")
- protected String adena;
-
- /**
- * Gets the value of the adena property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getAdena() {
- return adena;
- }
-
- /**
- * Sets the value of the adena property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setAdena(String value) {
- this.adena = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Equipment {
-
- @XmlAttribute(name = "part")
- @XmlSchemaType(name = "anySimpleType")
- protected String part;
-
- /**
- * Gets the value of the part property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getPart() {
- return part;
- }
-
- /**
- * Sets the value of the part property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setPart(String value) {
- this.part = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cost">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="weigth" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="material" type="{http://schemas.l2jserver2.com/item}ItemMaterial" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "cost" })
- public static class Attributes {
-
- @XmlElement(required = true)
- protected ItemTemplate.Attributes.Cost cost;
- @XmlAttribute(name = "weigth")
- protected Integer weigth;
- @XmlAttribute(name = "material")
- @XmlJavaTypeAdapter(ItemMaterialAdapter.class)
- protected ItemMaterial material;
-
- /**
- * Gets the value of the cost property.
- *
- * @return possible object is {@link ItemTemplate.Attributes.Cost }
- *
- */
- public ItemTemplate.Attributes.Cost getCost() {
- return cost;
- }
-
- /**
- * Sets the value of the cost property.
- *
- * @param value
- * allowed object is {@link ItemTemplate.Attributes.Cost }
- *
- */
- public void setCost(ItemTemplate.Attributes.Cost value) {
- this.cost = value;
- }
-
- /**
- * Gets the value of the weigth property.
- *
- * @return possible object is {@link Integer }
- *
- */
- public Integer getWeigth() {
- return weigth;
- }
-
- /**
- * Sets the value of the weigth property.
- *
- * @param value
- * allowed object is {@link Integer }
- *
- */
- public void setWeigth(Integer value) {
- this.weigth = value;
- }
-
- /**
- * Gets the value of the material property.
- *
- * @return possible object is {@link String }
- *
- */
- public ItemMaterial getMaterial() {
- return material;
- }
-
- /**
- * Sets the value of the material property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setMaterial(ItemMaterial value) {
- this.material = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Cost {
-
- @XmlAttribute(name = "adena")
- protected Integer adena;
-
- /**
- * Gets the value of the adena property.
- *
- * @return possible object is {@link Integer }
- *
- */
- public Integer getAdena() {
- return adena;
- }
-
- /**
- * Sets the value of the adena property.
- *
- * @param value
- * allowed object is {@link Integer }
- *
- */
- public void setAdena(Integer value) {
- this.adena = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="defaultAction" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Controller {
-
- @XmlAttribute(name = "defaultAction")
- @XmlSchemaType(name = "anySimpleType")
- protected String defaultAction;
-
- /**
- * Gets the value of the defaultAction property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getDefaultAction() {
- return defaultAction;
- }
-
- /**
- * Sets the value of the defaultAction property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setDefaultAction(String value) {
- this.defaultAction = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="type">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="IMMEDIATE"/>
- * </restriction>
- * </simpleType>
- * </attribute>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Effect {
-
- @XmlAttribute(name = "type")
- protected String type;
-
- /**
- * Gets the value of the type property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setType(String value) {
- this.type = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="type" type="{http://schemas.l2jserver2.com/item}ItemType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class EtcItem {
-
- @XmlAttribute(name = "type")
- @XmlJavaTypeAdapter(ItemTypeAdapter.class)
- protected ItemType type;
-
- /**
- * Gets the value of the type property.
- *
- * @return possible object is {@link String }
- *
- */
- public ItemType getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setType(ItemType value) {
- this.type = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physicalDamage" type="{}CalculatorFunction"/>
- * <element name="magicalDamage" type="{}CalculatorFunction"/>
- * <element name="criticalChance" type="{}CalculatorFunction"/>
- * <element name="physicalAttackSpeed" type="{}CalculatorFunction"/>
- * </sequence>
- * <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- * <attribute name="type" type="{http://schemas.l2jserver2.com/item}WeaponType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "physicalDamage", "magicalDamage",
- "criticalChance", "physicalAttackSpeed" })
- public static class Weapon {
-
- @XmlElement(required = true)
- protected CalculatorFunction physicalDamage;
- @XmlElement(required = true)
- protected CalculatorFunction magicalDamage;
- @XmlElement(required = true)
- protected CalculatorFunction criticalChance;
- @XmlElement(required = true)
- protected CalculatorFunction physicalAttackSpeed;
- @XmlAttribute(name = "part")
- @XmlSchemaType(name = "anySimpleType")
- protected String part;
- @XmlAttribute(name = "type")
- @XmlJavaTypeAdapter(WeaponTypeAdapter.class)
- protected WeaponType type;
-
- /**
- * Gets the value of the physicalDamage property.
- *
- * @return possible object is {@link CalculatorFunction }
- *
- */
- public CalculatorFunction getPhysicalDamage() {
- return physicalDamage;
- }
-
- /**
- * Sets the value of the physicalDamage property.
- *
- * @param value
- * allowed object is {@link CalculatorFunction }
- *
- */
- public void setPhysicalDamage(CalculatorFunction value) {
- this.physicalDamage = value;
- }
-
- /**
- * Gets the value of the magicalDamage property.
- *
- * @return possible object is {@link CalculatorFunction }
- *
- */
- public CalculatorFunction getMagicalDamage() {
- return magicalDamage;
- }
-
- /**
- * Sets the value of the magicalDamage property.
- *
- * @param value
- * allowed object is {@link CalculatorFunction }
- *
- */
- public void setMagicalDamage(CalculatorFunction value) {
- this.magicalDamage = value;
- }
-
- /**
- * Gets the value of the criticalChance property.
- *
- * @return possible object is {@link CalculatorFunction }
- *
- */
- public CalculatorFunction getCriticalChance() {
- return criticalChance;
- }
-
- /**
- * Sets the value of the criticalChance property.
- *
- * @param value
- * allowed object is {@link CalculatorFunction }
- *
- */
- public void setCriticalChance(CalculatorFunction value) {
- this.criticalChance = value;
- }
-
- /**
- * Gets the value of the physicalAttackSpeed property.
- *
- * @return possible object is {@link CalculatorFunction }
- *
- */
- public CalculatorFunction getPhysicalAttackSpeed() {
- return physicalAttackSpeed;
- }
-
- /**
- * Sets the value of the physicalAttackSpeed property.
- *
- * @param value
- * allowed object is {@link CalculatorFunction }
- *
- */
- public void setPhysicalAttackSpeed(CalculatorFunction value) {
- this.physicalAttackSpeed = value;
- }
-
- /**
- * Gets the value of the part property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getPart() {
- return part;
- }
-
- /**
- * Sets the value of the part property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setPart(String value) {
- this.part = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return possible object is {@link String }
- *
- */
- public WeaponType getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setType(WeaponType value) {
- this.type = value;
- }
-
- }
+public class ItemTemplate
+ extends AbstractTemplate
+{
+
+ @XmlElement(required = true)
+ protected ItemTemplate.Attributes attributes;
+ @XmlElement(required = true)
+ protected ItemTemplate.Controller controller;
+ @XmlElement(required = true)
+ protected ItemTemplate.Effect effect;
+ protected ItemTemplate.EtcItem etcItem;
+ protected ItemTemplate.Weapon weapon;
+ protected ItemTemplate.Armor armor;
+ @XmlAttribute(name = "id", required = true)
+ @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
+ protected ItemTemplateID id;
+ @XmlAttribute(name = "name", required = true)
+ protected String name;
+ @XmlAttribute(name = "icon")
+ protected String icon;
+
+ /**
+ * Gets the value of the attributes property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.Attributes }
+ *
+ */
+ public ItemTemplate.Attributes getAttributes() {
+ return attributes;
+ }
+
+ /**
+ * Sets the value of the attributes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.Attributes }
+ *
+ */
+ public void setAttributes(ItemTemplate.Attributes value) {
+ this.attributes = value;
+ }
+
+ /**
+ * Gets the value of the controller property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.Controller }
+ *
+ */
+ public ItemTemplate.Controller getController() {
+ return controller;
+ }
+
+ /**
+ * Sets the value of the controller property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.Controller }
+ *
+ */
+ public void setController(ItemTemplate.Controller value) {
+ this.controller = value;
+ }
+
+ /**
+ * Gets the value of the effect property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.Effect }
+ *
+ */
+ public ItemTemplate.Effect getEffect() {
+ return effect;
+ }
+
+ /**
+ * Sets the value of the effect property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.Effect }
+ *
+ */
+ public void setEffect(ItemTemplate.Effect value) {
+ this.effect = value;
+ }
+
+ /**
+ * Gets the value of the etcItem property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.EtcItem }
+ *
+ */
+ public ItemTemplate.EtcItem getEtcItem() {
+ return etcItem;
+ }
+
+ /**
+ * Sets the value of the etcItem property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.EtcItem }
+ *
+ */
+ public void setEtcItem(ItemTemplate.EtcItem value) {
+ this.etcItem = value;
+ }
+
+ /**
+ * Gets the value of the weapon property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.Weapon }
+ *
+ */
+ public ItemTemplate.Weapon getWeapon() {
+ return weapon;
+ }
+
+ /**
+ * Sets the value of the weapon property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.Weapon }
+ *
+ */
+ public void setWeapon(ItemTemplate.Weapon value) {
+ this.weapon = value;
+ }
+
+ /**
+ * Gets the value of the armor property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.Armor }
+ *
+ */
+ public ItemTemplate.Armor getArmor() {
+ return armor;
+ }
+
+ /**
+ * Sets the value of the armor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.Armor }
+ *
+ */
+ public void setArmor(ItemTemplate.Armor value) {
+ this.armor = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public ItemTemplateID getID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setID(ItemTemplateID value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the icon property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIcon() {
+ return icon;
+ }
+
+ /**
+ * Sets the value of the icon property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIcon(String value) {
+ this.icon = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cost">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="equipment">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="weigth" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * <attribute name="type" type="{http://schemas.l2jserver2.com/item}ArmorType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "cost",
+ "equipment"
+ })
+ public static class Armor {
+
+ @XmlElement(required = true)
+ protected ItemTemplate.Armor.Cost cost;
+ @XmlElement(required = true)
+ protected ItemTemplate.Armor.Equipment equipment;
+ @XmlAttribute(name = "weigth")
+ @XmlSchemaType(name = "anySimpleType")
+ protected String weigth;
+ @XmlAttribute(name = "type")
+ @XmlJavaTypeAdapter(ArmorTypeAdapter.class)
+ protected ArmorType type;
+
+ /**
+ * Gets the value of the cost property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.Armor.Cost }
+ *
+ */
+ public ItemTemplate.Armor.Cost getCost() {
+ return cost;
+ }
+
+ /**
+ * Sets the value of the cost property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.Armor.Cost }
+ *
+ */
+ public void setCost(ItemTemplate.Armor.Cost value) {
+ this.cost = value;
+ }
+
+ /**
+ * Gets the value of the equipment property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.Armor.Equipment }
+ *
+ */
+ public ItemTemplate.Armor.Equipment getEquipment() {
+ return equipment;
+ }
+
+ /**
+ * Sets the value of the equipment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.Armor.Equipment }
+ *
+ */
+ public void setEquipment(ItemTemplate.Armor.Equipment value) {
+ this.equipment = value;
+ }
+
+ /**
+ * Gets the value of the weigth property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getWeigth() {
+ return weigth;
+ }
+
+ /**
+ * Sets the value of the weigth property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWeigth(String value) {
+ this.weigth = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public ArmorType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(ArmorType value) {
+ this.type = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Cost {
+
+ @XmlAttribute(name = "adena")
+ @XmlSchemaType(name = "anySimpleType")
+ protected String adena;
+
+ /**
+ * Gets the value of the adena property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAdena() {
+ return adena;
+ }
+
+ /**
+ * Sets the value of the adena property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAdena(String value) {
+ this.adena = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Equipment {
+
+ @XmlAttribute(name = "part")
+ @XmlSchemaType(name = "anySimpleType")
+ protected String part;
+
+ /**
+ * Gets the value of the part property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPart() {
+ return part;
+ }
+
+ /**
+ * Sets the value of the part property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPart(String value) {
+ this.part = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cost">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="weigth" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="material" type="{http://schemas.l2jserver2.com/item}ItemMaterial" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "cost"
+ })
+ public static class Attributes {
+
+ @XmlElement(required = true)
+ protected ItemTemplate.Attributes.Cost cost;
+ @XmlAttribute(name = "weigth")
+ protected Integer weigth;
+ @XmlAttribute(name = "material")
+ @XmlJavaTypeAdapter(ItemMaterialAdapter.class)
+ protected ItemMaterial material;
+
+ /**
+ * Gets the value of the cost property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemTemplate.Attributes.Cost }
+ *
+ */
+ public ItemTemplate.Attributes.Cost getCost() {
+ return cost;
+ }
+
+ /**
+ * Sets the value of the cost property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemTemplate.Attributes.Cost }
+ *
+ */
+ public void setCost(ItemTemplate.Attributes.Cost value) {
+ this.cost = value;
+ }
+
+ /**
+ * Gets the value of the weigth property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getWeigth() {
+ return weigth;
+ }
+
+ /**
+ * Sets the value of the weigth property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setWeigth(Integer value) {
+ this.weigth = value;
+ }
+
+ /**
+ * Gets the value of the material property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public ItemMaterial getMaterial() {
+ return material;
+ }
+
+ /**
+ * Sets the value of the material property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMaterial(ItemMaterial value) {
+ this.material = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Cost {
+
+ @XmlAttribute(name = "adena")
+ protected Integer adena;
+
+ /**
+ * Gets the value of the adena property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getAdena() {
+ return adena;
+ }
+
+ /**
+ * Sets the value of the adena property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setAdena(Integer value) {
+ this.adena = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="defaultAction" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Controller {
+
+ @XmlAttribute(name = "defaultAction")
+ @XmlSchemaType(name = "anySimpleType")
+ protected String defaultAction;
+
+ /**
+ * Gets the value of the defaultAction property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultAction() {
+ return defaultAction;
+ }
+
+ /**
+ * Sets the value of the defaultAction property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultAction(String value) {
+ this.defaultAction = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="type">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="IMMEDIATE"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Effect {
+
+ @XmlAttribute(name = "type")
+ protected String type;
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="type" type="{http://schemas.l2jserver2.com/item}ItemType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class EtcItem {
+
+ @XmlAttribute(name = "type")
+ @XmlJavaTypeAdapter(ItemTypeAdapter.class)
+ protected ItemType type;
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public ItemType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(ItemType value) {
+ this.type = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physicalDamage" type="{}CalculatorFunction"/>
+ * <element name="magicalDamage" type="{}CalculatorFunction"/>
+ * <element name="criticalChance" type="{}CalculatorFunction"/>
+ * <element name="physicalAttackSpeed" type="{}CalculatorFunction"/>
+ * </sequence>
+ * <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * <attribute name="type" type="{http://schemas.l2jserver2.com/item}WeaponType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "physicalDamage",
+ "magicalDamage",
+ "criticalChance",
+ "physicalAttackSpeed"
+ })
+ public static class Weapon {
+
+ @XmlElement(required = true)
+ protected CalculatorFunction physicalDamage;
+ @XmlElement(required = true)
+ protected CalculatorFunction magicalDamage;
+ @XmlElement(required = true)
+ protected CalculatorFunction criticalChance;
+ @XmlElement(required = true)
+ protected CalculatorFunction physicalAttackSpeed;
+ @XmlAttribute(name = "part")
+ @XmlSchemaType(name = "anySimpleType")
+ protected String part;
+ @XmlAttribute(name = "type")
+ @XmlJavaTypeAdapter(WeaponTypeAdapter.class)
+ protected WeaponType type;
+
+ /**
+ * Gets the value of the physicalDamage property.
+ *
+ * @return
+ * possible object is
+ * {@link CalculatorFunction }
+ *
+ */
+ public CalculatorFunction getPhysicalDamage() {
+ return physicalDamage;
+ }
+
+ /**
+ * Sets the value of the physicalDamage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CalculatorFunction }
+ *
+ */
+ public void setPhysicalDamage(CalculatorFunction value) {
+ this.physicalDamage = value;
+ }
+
+ /**
+ * Gets the value of the magicalDamage property.
+ *
+ * @return
+ * possible object is
+ * {@link CalculatorFunction }
+ *
+ */
+ public CalculatorFunction getMagicalDamage() {
+ return magicalDamage;
+ }
+
+ /**
+ * Sets the value of the magicalDamage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CalculatorFunction }
+ *
+ */
+ public void setMagicalDamage(CalculatorFunction value) {
+ this.magicalDamage = value;
+ }
+
+ /**
+ * Gets the value of the criticalChance property.
+ *
+ * @return
+ * possible object is
+ * {@link CalculatorFunction }
+ *
+ */
+ public CalculatorFunction getCriticalChance() {
+ return criticalChance;
+ }
+
+ /**
+ * Sets the value of the criticalChance property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CalculatorFunction }
+ *
+ */
+ public void setCriticalChance(CalculatorFunction value) {
+ this.criticalChance = value;
+ }
+
+ /**
+ * Gets the value of the physicalAttackSpeed property.
+ *
+ * @return
+ * possible object is
+ * {@link CalculatorFunction }
+ *
+ */
+ public CalculatorFunction getPhysicalAttackSpeed() {
+ return physicalAttackSpeed;
+ }
+
+ /**
+ * Sets the value of the physicalAttackSpeed property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CalculatorFunction }
+ *
+ */
+ public void setPhysicalAttackSpeed(CalculatorFunction value) {
+ this.physicalAttackSpeed = value;
+ }
+
+ /**
+ * Gets the value of the part property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPart() {
+ return part;
+ }
+
+ /**
+ * Sets the value of the part property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPart(String value) {
+ this.part = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public WeaponType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(WeaponType value) {
+ this.type = value;
+ }
+
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/NPCTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/NPCTemplate.java
index 29d913919..db64ef387 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/NPCTemplate.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/NPCTemplate.java
@@ -2,14 +2,14 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import java.util.ArrayList;
import java.util.List;
-
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
@@ -19,7 +19,6 @@ import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.id.template.SkillTemplateID;
@@ -32,13 +31,11 @@ import com.l2jserver.util.jaxb.NPCRaceAdapter;
import com.l2jserver.util.jaxb.NPCTemplateIDAdapter;
import com.l2jserver.util.jaxb.SkillTemplateIDAdapter;
+
/**
- *
- * Java class for npc element declaration.
+ *
Java class for npc element declaration.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="npc">
@@ -380,2816 +377,2944 @@ import com.l2jserver.util.jaxb.SkillTemplateIDAdapter;
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = { "info", "ai", "talk", "droplist", "skills" })
+@XmlType(name = "", propOrder = {
+ "info",
+ "ai",
+ "talk",
+ "droplist",
+ "skills"
+})
@XmlRootElement(name = "npc", namespace = "http://schemas.l2jserver2.com/npc")
-public class NPCTemplate extends ActorTemplate {
-
- @XmlElement(required = true)
- protected NPCTemplate.Info info;
- protected NPCTemplate.Ai ai;
- protected NPCTemplate.Talk talk;
- protected NPCTemplate.Droplist droplist;
- protected NPCTemplate.Skills skills;
- @XmlAttribute(name = "id", required = true)
- @XmlJavaTypeAdapter(NPCTemplateIDAdapter.class)
- protected NPCTemplateID id;
- @XmlAttribute(name = "controller", required = true)
- @XmlJavaTypeAdapter(ClassAdapter.class)
- protected Class controller;
-
- /**
- * Gets the value of the info property.
- *
- * @return possible object is {@link NPCTemplate.Info }
- *
- */
- public NPCTemplate.Info getInfo() {
- return info;
- }
-
- /**
- * Sets the value of the info property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info }
- *
- */
- public void setInfo(NPCTemplate.Info value) {
- this.info = value;
- }
-
- /**
- * Gets the value of the ai property.
- *
- * @return possible object is {@link NPCTemplate.Ai }
- *
- */
- public NPCTemplate.Ai getAi() {
- return ai;
- }
-
- /**
- * Sets the value of the ai property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Ai }
- *
- */
- public void setAi(NPCTemplate.Ai value) {
- this.ai = value;
- }
-
- /**
- * Gets the value of the talk property.
- *
- * @return possible object is {@link NPCTemplate.Talk }
- *
- */
- public NPCTemplate.Talk getTalk() {
- return talk;
- }
-
- /**
- * Sets the value of the talk property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Talk }
- *
- */
- public void setTalk(NPCTemplate.Talk value) {
- this.talk = value;
- }
-
- /**
- * Gets the value of the droplist property.
- *
- * @return possible object is {@link NPCTemplate.Droplist }
- *
- */
- public NPCTemplate.Droplist getDroplist() {
- return droplist;
- }
-
- /**
- * Sets the value of the droplist property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Droplist }
- *
- */
- public void setDroplist(NPCTemplate.Droplist value) {
- this.droplist = value;
- }
-
- /**
- * Gets the value of the skills property.
- *
- * @return possible object is {@link NPCTemplate.Skills }
- *
- */
- public NPCTemplate.Skills getSkills() {
- return skills;
- }
-
- /**
- * Sets the value of the skills property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Skills }
- *
- */
- public void setSkills(NPCTemplate.Skills value) {
- this.skills = value;
- }
-
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public NPCTemplateID getID() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setID(NPCTemplateID value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the controller property.
- *
- * @return possible object is {@link String }
- *
- */
- public Class getController() {
- return controller;
- }
-
- /**
- * Sets the value of the controller property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setController(Class value) {
- this.controller = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="script" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Ai {
-
- @XmlAttribute(name = "script", required = true)
- protected String script;
-
- /**
- * Gets the value of the script property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getScript() {
- return script;
- }
-
- /**
- * Sets the value of the script property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setScript(String value) {
- this.script = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="item" maxOccurs="unbounded">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- * <attribute name="min" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="category" use="required">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="DROP"/>
- * <enumeration value="SPOIL"/>
- * <enumeration value="UNK_1"/>
- * <enumeration value="UNK_2"/>
- * <enumeration value="UNK_3"/>
- * <enumeration value="UNK_4"/>
- * <enumeration value="UNK_5"/>
- * <enumeration value="UNK_6"/>
- * <enumeration value="UNK_7"/>
- * <enumeration value="UNK_8"/>
- * <enumeration value="UNK_9"/>
- * <enumeration value="UNK_10"/>
- * <enumeration value="UNK_11"/>
- * <enumeration value="UNK_12"/>
- * <enumeration value="UNK_13"/>
- * <enumeration value="UNK_14"/>
- * <enumeration value="UNK_15"/>
- * <enumeration value="UNK_16"/>
- * <enumeration value="UNK_17"/>
- * <enumeration value="UNK_18"/>
- * <enumeration value="UNK_19"/>
- * <enumeration value="UNK_20"/>
- * <enumeration value="UNK_21"/>
- * <enumeration value="UNK_22"/>
- * <enumeration value="UNK_23"/>
- * <enumeration value="UNK_24"/>
- * <enumeration value="UNK_25"/>
- * <enumeration value="UNK_26"/>
- * <enumeration value="UNK_27"/>
- * <enumeration value="UNK_28"/>
- * <enumeration value="UNK_29"/>
- * <enumeration value="UNK_30"/>
- * <enumeration value="UNK_31"/>
- * <enumeration value="UNK_32"/>
- * <enumeration value="UNK_33"/>
- * <enumeration value="UNK_34"/>
- * <enumeration value="UNK_35"/>
- * <enumeration value="UNK_36"/>
- * <enumeration value="UNK_100"/>
- * <enumeration value="UNK_101"/>
- * <enumeration value="UNK_102"/>
- * <enumeration value="UNK_200"/>
- * </restriction>
- * </simpleType>
- * </attribute>
- * <attribute name="chance" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "item" })
- public static class Droplist {
-
- @XmlElement(required = true)
- protected List item;
-
- /**
- * Gets the value of the item property.
- *
- *
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list
- * will be present inside the JAXB object. This is why there is not a
- * set method for the item property.
- *
- *
- * For example, to add a new item, do as follows:
- *
- *
- * getItem().add(newItem);
- *
- *
- *
- *
- * Objects of the following type(s) are allowed in the list
- * {@link NPCTemplate.Droplist.Item }
- *
- *
- */
- public List getItem() {
- if (item == null) {
- item = new ArrayList();
- }
- return this.item;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- * <attribute name="min" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="category" use="required">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="DROP"/>
- * <enumeration value="SPOIL"/>
- * <enumeration value="UNK_1"/>
- * <enumeration value="UNK_2"/>
- * <enumeration value="UNK_3"/>
- * <enumeration value="UNK_4"/>
- * <enumeration value="UNK_5"/>
- * <enumeration value="UNK_6"/>
- * <enumeration value="UNK_7"/>
- * <enumeration value="UNK_8"/>
- * <enumeration value="UNK_9"/>
- * <enumeration value="UNK_10"/>
- * <enumeration value="UNK_11"/>
- * <enumeration value="UNK_12"/>
- * <enumeration value="UNK_13"/>
- * <enumeration value="UNK_14"/>
- * <enumeration value="UNK_15"/>
- * <enumeration value="UNK_16"/>
- * <enumeration value="UNK_17"/>
- * <enumeration value="UNK_18"/>
- * <enumeration value="UNK_19"/>
- * <enumeration value="UNK_20"/>
- * <enumeration value="UNK_21"/>
- * <enumeration value="UNK_22"/>
- * <enumeration value="UNK_23"/>
- * <enumeration value="UNK_24"/>
- * <enumeration value="UNK_25"/>
- * <enumeration value="UNK_26"/>
- * <enumeration value="UNK_27"/>
- * <enumeration value="UNK_28"/>
- * <enumeration value="UNK_29"/>
- * <enumeration value="UNK_30"/>
- * <enumeration value="UNK_31"/>
- * <enumeration value="UNK_32"/>
- * <enumeration value="UNK_33"/>
- * <enumeration value="UNK_34"/>
- * <enumeration value="UNK_35"/>
- * <enumeration value="UNK_36"/>
- * <enumeration value="UNK_100"/>
- * <enumeration value="UNK_101"/>
- * <enumeration value="UNK_102"/>
- * <enumeration value="UNK_200"/>
- * </restriction>
- * </simpleType>
- * </attribute>
- * <attribute name="chance" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Item {
-
- @XmlAttribute(name = "id", required = true)
- @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
- protected ItemTemplateID id;
- @XmlAttribute(name = "min", required = true)
- protected int min;
- @XmlAttribute(name = "max", required = true)
- protected int max;
- @XmlAttribute(name = "category", required = true)
- protected NPCTemplate.Droplist.Item.DropCategory category;
- @XmlAttribute(name = "chance", required = true)
- protected int chance;
-
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public ItemTemplateID getId() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setId(ItemTemplateID value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the min property.
- *
- */
- public int getMin() {
- return min;
- }
-
- /**
- * Sets the value of the min property.
- *
- */
- public void setMin(int value) {
- this.min = value;
- }
-
- /**
- * Gets the value of the max property.
- *
- */
- public int getMax() {
- return max;
- }
-
- /**
- * Sets the value of the max property.
- *
- */
- public void setMax(int value) {
- this.max = value;
- }
-
- /**
- * Gets the value of the category property.
- *
- * @return possible object is
- * {@link NPCTemplate.Droplist.Item.DropCategory }
- *
- */
- public NPCTemplate.Droplist.Item.DropCategory getCategory() {
- return category;
- }
-
- /**
- * Sets the value of the category property.
- *
- * @param value
- * allowed object is
- * {@link NPCTemplate.Droplist.Item.DropCategory }
- *
- */
- public void setCategory(NPCTemplate.Droplist.Item.DropCategory value) {
- this.category = value;
- }
-
- /**
- * Gets the value of the chance property.
- *
- */
- public int getChance() {
- return chance;
- }
-
- /**
- * Sets the value of the chance property.
- *
- */
- public void setChance(int value) {
- this.chance = value;
- }
-
- /**
- *
- * Java class for null.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- *
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="DROP"/>
- * <enumeration value="SPOIL"/>
- * <enumeration value="UNK_1"/>
- * <enumeration value="UNK_2"/>
- * <enumeration value="UNK_3"/>
- * <enumeration value="UNK_4"/>
- * <enumeration value="UNK_5"/>
- * <enumeration value="UNK_6"/>
- * <enumeration value="UNK_7"/>
- * <enumeration value="UNK_8"/>
- * <enumeration value="UNK_9"/>
- * <enumeration value="UNK_10"/>
- * <enumeration value="UNK_11"/>
- * <enumeration value="UNK_12"/>
- * <enumeration value="UNK_13"/>
- * <enumeration value="UNK_14"/>
- * <enumeration value="UNK_15"/>
- * <enumeration value="UNK_16"/>
- * <enumeration value="UNK_17"/>
- * <enumeration value="UNK_18"/>
- * <enumeration value="UNK_19"/>
- * <enumeration value="UNK_20"/>
- * <enumeration value="UNK_21"/>
- * <enumeration value="UNK_22"/>
- * <enumeration value="UNK_23"/>
- * <enumeration value="UNK_24"/>
- * <enumeration value="UNK_25"/>
- * <enumeration value="UNK_26"/>
- * <enumeration value="UNK_27"/>
- * <enumeration value="UNK_28"/>
- * <enumeration value="UNK_29"/>
- * <enumeration value="UNK_30"/>
- * <enumeration value="UNK_31"/>
- * <enumeration value="UNK_32"/>
- * <enumeration value="UNK_33"/>
- * <enumeration value="UNK_34"/>
- * <enumeration value="UNK_35"/>
- * <enumeration value="UNK_36"/>
- * <enumeration value="UNK_100"/>
- * <enumeration value="UNK_101"/>
- * <enumeration value="UNK_102"/>
- * <enumeration value="UNK_200"/>
- * </restriction>
- * </simpleType>
- *
- *
- */
- @XmlType(name = "")
- @XmlEnum
- public enum DropCategory {
-
- DROP, SPOIL, UNK_1, UNK_2, UNK_3, UNK_4, UNK_5, UNK_6, UNK_7, UNK_8, UNK_9, UNK_10, UNK_11, UNK_12, UNK_13, UNK_14, UNK_15, UNK_16, UNK_17, UNK_18, UNK_19, UNK_20, UNK_21, UNK_22, UNK_23, UNK_24, UNK_25, UNK_26, UNK_27, UNK_28, UNK_29, UNK_30, UNK_31, UNK_32, UNK_33, UNK_34, UNK_35, UNK_36, UNK_100, UNK_101, UNK_102, UNK_200;
-
- public String value() {
- return name();
- }
-
- public static NPCTemplate.Droplist.Item.DropCategory fromValue(
- String v) {
- return valueOf(v);
- }
-
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="name" minOccurs="0">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * <element name="title" minOccurs="0">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * <element name="level" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * <element name="race" type="{http://schemas.l2jserver2.com/npc}NPCRace" minOccurs="0"/>
- * <element name="sex" type="{}ActorSexType" minOccurs="0"/>
- * <element name="stats">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="hp">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="mp">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="attack" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="defense" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="move" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="base">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="experience" type="{http://www.w3.org/2001/XMLSchema}long"/>
- * <element name="sp" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * <element name="item" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="rightHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- * <attribute name="leftHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="collision" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="attackable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="targetable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="aggressive" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "name", "title", "level", "race", "sex",
- "stats", "experience", "sp", "item", "collision" })
- public static class Info {
-
- protected NPCTemplate.Info.Name name;
- protected NPCTemplate.Info.Title title;
- protected int level;
- @XmlElement(type = String.class)
- @XmlJavaTypeAdapter(NPCRaceAdapter.class)
- protected NPCRace race;
- @XmlElement(type = String.class)
- @XmlJavaTypeAdapter(ActorSexAdapter.class)
- protected ActorSex sex;
- @XmlElement(required = true)
- protected NPCTemplate.Info.Stats stats;
- protected long experience;
- protected int sp;
- protected NPCTemplate.Info.Item item;
- protected NPCTemplate.Info.Collision collision;
- @XmlAttribute(name = "attackable", required = true)
- protected boolean attackable;
- @XmlAttribute(name = "targetable", required = true)
- protected boolean targetable;
- @XmlAttribute(name = "aggressive", required = true)
- protected boolean aggressive;
-
- /**
- * Gets the value of the name property.
- *
- * @return possible object is {@link NPCTemplate.Info.Name }
- *
- */
- public NPCTemplate.Info.Name getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Name }
- *
- */
- public void setName(NPCTemplate.Info.Name value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the title property.
- *
- * @return possible object is {@link NPCTemplate.Info.Title }
- *
- */
- public NPCTemplate.Info.Title getTitle() {
- return title;
- }
-
- /**
- * Sets the value of the title property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Title }
- *
- */
- public void setTitle(NPCTemplate.Info.Title value) {
- this.title = value;
- }
-
- /**
- * Gets the value of the level property.
- *
- */
- public int getLevel() {
- return level;
- }
-
- /**
- * Sets the value of the level property.
- *
- */
- public void setLevel(int value) {
- this.level = value;
- }
-
- /**
- * Gets the value of the race property.
- *
- * @return possible object is {@link String }
- *
- */
- public NPCRace getRace() {
- return race;
- }
-
- /**
- * Sets the value of the race property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setRace(NPCRace value) {
- this.race = value;
- }
-
- /**
- * Gets the value of the sex property.
- *
- * @return possible object is {@link String }
- *
- */
- public ActorSex getSex() {
- return sex;
- }
-
- /**
- * Sets the value of the sex property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setSex(ActorSex value) {
- this.sex = value;
- }
-
- /**
- * Gets the value of the stats property.
- *
- * @return possible object is {@link NPCTemplate.Info.Stats }
- *
- */
- public NPCTemplate.Info.Stats getStats() {
- return stats;
- }
-
- /**
- * Sets the value of the stats property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Stats }
- *
- */
- public void setStats(NPCTemplate.Info.Stats value) {
- this.stats = value;
- }
-
- /**
- * Gets the value of the experience property.
- *
- */
- public long getExperience() {
- return experience;
- }
-
- /**
- * Sets the value of the experience property.
- *
- */
- public void setExperience(long value) {
- this.experience = value;
- }
-
- /**
- * Gets the value of the sp property.
- *
- */
- public int getSp() {
- return sp;
- }
-
- /**
- * Sets the value of the sp property.
- *
- */
- public void setSp(int value) {
- this.sp = value;
- }
-
- /**
- * Gets the value of the item property.
- *
- * @return possible object is {@link NPCTemplate.Info.Item }
- *
- */
- public NPCTemplate.Info.Item getItem() {
- return item;
- }
-
- /**
- * Sets the value of the item property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Item }
- *
- */
- public void setItem(NPCTemplate.Info.Item value) {
- this.item = value;
- }
-
- /**
- * Gets the value of the collision property.
- *
- * @return possible object is {@link NPCTemplate.Info.Collision }
- *
- */
- public NPCTemplate.Info.Collision getCollision() {
- return collision;
- }
-
- /**
- * Sets the value of the collision property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Collision }
- *
- */
- public void setCollision(NPCTemplate.Info.Collision value) {
- this.collision = value;
- }
-
- /**
- * Gets the value of the attackable property.
- *
- */
- public boolean isAttackable() {
- return attackable;
- }
-
- /**
- * Sets the value of the attackable property.
- *
- */
- public void setAttackable(boolean value) {
- this.attackable = value;
- }
-
- /**
- * Gets the value of the targetable property.
- *
- */
- public boolean isTargetable() {
- return targetable;
- }
-
- /**
- * Sets the value of the targetable property.
- *
- */
- public void setTargetable(boolean value) {
- this.targetable = value;
- }
-
- /**
- * Gets the value of the aggressive property.
- *
- */
- public boolean isAggressive() {
- return aggressive;
- }
-
- /**
- * Sets the value of the aggressive property.
- *
- */
- public void setAggressive(boolean value) {
- this.aggressive = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Collision {
-
- @XmlAttribute(name = "radius", required = true)
- protected double radius;
- @XmlAttribute(name = "heigth", required = true)
- protected double heigth;
-
- /**
- * Gets the value of the radius property.
- *
- */
- public double getRadius() {
- return radius;
- }
-
- /**
- * Sets the value of the radius property.
- *
- */
- public void setRadius(double value) {
- this.radius = value;
- }
-
- /**
- * Gets the value of the heigth property.
- *
- */
- public double getHeigth() {
- return heigth;
- }
-
- /**
- * Sets the value of the heigth property.
- *
- */
- public void setHeigth(double value) {
- this.heigth = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="rightHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- * <attribute name="leftHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Item {
-
- @XmlAttribute(name = "rightHand")
- @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
- protected ItemTemplateID rightHand;
- @XmlAttribute(name = "leftHand")
- @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
- protected ItemTemplateID leftHand;
-
- /**
- * Gets the value of the rightHand property.
- *
- * @return possible object is {@link String }
- *
- */
- public ItemTemplateID getRightHand() {
- return rightHand;
- }
-
- /**
- * Sets the value of the rightHand property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setRightHand(ItemTemplateID value) {
- this.rightHand = value;
- }
-
- /**
- * Gets the value of the leftHand property.
- *
- * @return possible object is {@link String }
- *
- */
- public ItemTemplateID getLeftHand() {
- return leftHand;
- }
-
- /**
- * Sets the value of the leftHand property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setLeftHand(ItemTemplateID value) {
- this.leftHand = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </extension>
- * </simpleContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "value" })
- public static class Name {
-
- @XmlValue
- protected String value;
- @XmlAttribute(name = "send")
- protected Boolean send;
- @XmlAttribute(name = "display")
- protected Boolean display;
-
- /**
- * Gets the value of the value property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the send property.
- *
- * @return possible object is {@link Boolean }
- *
- */
- public Boolean isSend() {
- return send;
- }
-
- /**
- * Sets the value of the send property.
- *
- * @param value
- * allowed object is {@link Boolean }
- *
- */
- public void setSend(Boolean value) {
- this.send = value;
- }
-
- /**
- * Gets the value of the display property.
- *
- * @return possible object is {@link Boolean }
- *
- */
- public Boolean isDisplay() {
- return display;
- }
-
- /**
- * Sets the value of the display property.
- *
- * @param value
- * allowed object is {@link Boolean }
- *
- */
- public void setDisplay(Boolean value) {
- this.display = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="hp">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="mp">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="attack" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="defense" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="move" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="base">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "hp", "mp", "attack", "defense",
- "move", "base" })
- public static class Stats {
-
- @XmlElement(required = true)
- protected NPCTemplate.Info.Stats.Hp hp;
- @XmlElement(required = true)
- protected NPCTemplate.Info.Stats.Mp mp;
- protected NPCTemplate.Info.Stats.Attack attack;
- protected NPCTemplate.Info.Stats.Defense defense;
- protected NPCTemplate.Info.Stats.Move move;
- @XmlElement(required = true)
- protected NPCTemplate.Info.Stats.Base base;
-
- /**
- * Gets the value of the hp property.
- *
- * @return possible object is {@link NPCTemplate.Info.Stats.Hp }
- *
- */
- public NPCTemplate.Info.Stats.Hp getHp() {
- return hp;
- }
-
- /**
- * Sets the value of the hp property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Stats.Hp }
- *
- */
- public void setHp(NPCTemplate.Info.Stats.Hp value) {
- this.hp = value;
- }
-
- /**
- * Gets the value of the mp property.
- *
- * @return possible object is {@link NPCTemplate.Info.Stats.Mp }
- *
- */
- public NPCTemplate.Info.Stats.Mp getMp() {
- return mp;
- }
-
- /**
- * Sets the value of the mp property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Stats.Mp }
- *
- */
- public void setMp(NPCTemplate.Info.Stats.Mp value) {
- this.mp = value;
- }
-
- /**
- * Gets the value of the attack property.
- *
- * @return possible object is {@link NPCTemplate.Info.Stats.Attack }
- *
- */
- public NPCTemplate.Info.Stats.Attack getAttack() {
- return attack;
- }
-
- /**
- * Sets the value of the attack property.
- *
- * @param value
- * allowed object is
- * {@link NPCTemplate.Info.Stats.Attack }
- *
- */
- public void setAttack(NPCTemplate.Info.Stats.Attack value) {
- this.attack = value;
- }
-
- /**
- * Gets the value of the defense property.
- *
- * @return possible object is {@link NPCTemplate.Info.Stats.Defense }
- *
- */
- public NPCTemplate.Info.Stats.Defense getDefense() {
- return defense;
- }
-
- /**
- * Sets the value of the defense property.
- *
- * @param value
- * allowed object is
- * {@link NPCTemplate.Info.Stats.Defense }
- *
- */
- public void setDefense(NPCTemplate.Info.Stats.Defense value) {
- this.defense = value;
- }
-
- /**
- * Gets the value of the move property.
- *
- * @return possible object is {@link NPCTemplate.Info.Stats.Move }
- *
- */
- public NPCTemplate.Info.Stats.Move getMove() {
- return move;
- }
-
- /**
- * Sets the value of the move property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Stats.Move }
- *
- */
- public void setMove(NPCTemplate.Info.Stats.Move value) {
- this.move = value;
- }
-
- /**
- * Gets the value of the base property.
- *
- * @return possible object is {@link NPCTemplate.Info.Stats.Base }
- *
- */
- public NPCTemplate.Info.Stats.Base getBase() {
- return base;
- }
-
- /**
- * Sets the value of the base property.
- *
- * @param value
- * allowed object is {@link NPCTemplate.Info.Stats.Base }
- *
- */
- public void setBase(NPCTemplate.Info.Stats.Base value) {
- this.base = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "physical", "magical" })
- public static class Attack {
-
- @XmlElement(required = true)
- protected NPCTemplate.Info.Stats.Attack.Physical physical;
- @XmlElement(required = true)
- protected NPCTemplate.Info.Stats.Attack.Magical magical;
- @XmlAttribute(name = "range", required = true)
- protected int range;
- @XmlAttribute(name = "evasion", required = true)
- protected int evasion;
- @XmlAttribute(name = "critical", required = true)
- protected int critical;
-
- /**
- * Gets the value of the physical property.
- *
- * @return possible object is
- * {@link NPCTemplate.Info.Stats.Attack.Physical }
- *
- */
- public NPCTemplate.Info.Stats.Attack.Physical getPhysical() {
- return physical;
- }
-
- /**
- * Sets the value of the physical property.
- *
- * @param value
- * allowed object is
- * {@link NPCTemplate.Info.Stats.Attack.Physical }
- *
- */
- public void setPhysical(
- NPCTemplate.Info.Stats.Attack.Physical value) {
- this.physical = value;
- }
-
- /**
- * Gets the value of the magical property.
- *
- * @return possible object is
- * {@link NPCTemplate.Info.Stats.Attack.Magical }
- *
- */
- public NPCTemplate.Info.Stats.Attack.Magical getMagical() {
- return magical;
- }
-
- /**
- * Sets the value of the magical property.
- *
- * @param value
- * allowed object is
- * {@link NPCTemplate.Info.Stats.Attack.Magical }
- *
- */
- public void setMagical(
- NPCTemplate.Info.Stats.Attack.Magical value) {
- this.magical = value;
- }
-
- /**
- * Gets the value of the range property.
- *
- */
- public int getRange() {
- return range;
- }
-
- /**
- * Sets the value of the range property.
- *
- */
- public void setRange(int value) {
- this.range = value;
- }
-
- /**
- * Gets the value of the evasion property.
- *
- */
- public int getEvasion() {
- return evasion;
- }
-
- /**
- * Sets the value of the evasion property.
- *
- */
- public void setEvasion(int value) {
- this.evasion = value;
- }
-
- /**
- * Gets the value of the critical property.
- *
- */
- public int getCritical() {
- return critical;
- }
-
- /**
- * Sets the value of the critical property.
- *
- */
- public void setCritical(int value) {
- this.critical = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Magical {
-
- @XmlAttribute(name = "damage", required = true)
- protected double damage;
- @XmlAttribute(name = "speed", required = true)
- protected double speed;
-
- /**
- * Gets the value of the damage property.
- *
- */
- public double getDamage() {
- return damage;
- }
-
- /**
- * Sets the value of the damage property.
- *
- */
- public void setDamage(double value) {
- this.damage = value;
- }
-
- /**
- * Gets the value of the speed property.
- *
- */
- public double getSpeed() {
- return speed;
- }
-
- /**
- * Sets the value of the speed property.
- *
- */
- public void setSpeed(double value) {
- this.speed = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Physical {
-
- @XmlAttribute(name = "damage", required = true)
- protected double damage;
- @XmlAttribute(name = "speed", required = true)
- protected double speed;
-
- /**
- * Gets the value of the damage property.
- *
- */
- public double getDamage() {
- return damage;
- }
-
- /**
- * Sets the value of the damage property.
- *
- */
- public void setDamage(double value) {
- this.damage = value;
- }
-
- /**
- * Gets the value of the speed property.
- *
- */
- public double getSpeed() {
- return speed;
- }
-
- /**
- * Sets the value of the speed property.
- *
- */
- public void setSpeed(double value) {
- this.speed = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Base {
-
- @XmlAttribute(name = "int", required = true)
- protected int _int;
- @XmlAttribute(name = "str", required = true)
- protected int str;
- @XmlAttribute(name = "con", required = true)
- protected int con;
- @XmlAttribute(name = "men", required = true)
- protected int men;
- @XmlAttribute(name = "dex", required = true)
- protected int dex;
- @XmlAttribute(name = "wit", required = true)
- protected int wit;
-
- /**
- * Gets the value of the int property.
- *
- */
- public int getInt() {
- return _int;
- }
-
- /**
- * Sets the value of the int property.
- *
- */
- public void setInt(int value) {
- this._int = value;
- }
-
- /**
- * Gets the value of the str property.
- *
- */
- public int getStr() {
- return str;
- }
-
- /**
- * Sets the value of the str property.
- *
- */
- public void setStr(int value) {
- this.str = value;
- }
-
- /**
- * Gets the value of the con property.
- *
- */
- public int getCon() {
- return con;
- }
-
- /**
- * Sets the value of the con property.
- *
- */
- public void setCon(int value) {
- this.con = value;
- }
-
- /**
- * Gets the value of the men property.
- *
- */
- public int getMen() {
- return men;
- }
-
- /**
- * Sets the value of the men property.
- *
- */
- public void setMen(int value) {
- this.men = value;
- }
-
- /**
- * Gets the value of the dex property.
- *
- */
- public int getDex() {
- return dex;
- }
-
- /**
- * Sets the value of the dex property.
- *
- */
- public void setDex(int value) {
- this.dex = value;
- }
-
- /**
- * Gets the value of the wit property.
- *
- */
- public int getWit() {
- return wit;
- }
-
- /**
- * Sets the value of the wit property.
- *
- */
- public void setWit(int value) {
- this.wit = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="physical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="magical">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "physical", "magical" })
- public static class Defense {
-
- @XmlElement(required = true)
- protected NPCTemplate.Info.Stats.Defense.Physical physical;
- @XmlElement(required = true)
- protected NPCTemplate.Info.Stats.Defense.Magical magical;
-
- /**
- * Gets the value of the physical property.
- *
- * @return possible object is
- * {@link NPCTemplate.Info.Stats.Defense.Physical }
- *
- */
- public NPCTemplate.Info.Stats.Defense.Physical getPhysical() {
- return physical;
- }
-
- /**
- * Sets the value of the physical property.
- *
- * @param value
- * allowed object is
- * {@link NPCTemplate.Info.Stats.Defense.Physical }
- *
- */
- public void setPhysical(
- NPCTemplate.Info.Stats.Defense.Physical value) {
- this.physical = value;
- }
-
- /**
- * Gets the value of the magical property.
- *
- * @return possible object is
- * {@link NPCTemplate.Info.Stats.Defense.Magical }
- *
- */
- public NPCTemplate.Info.Stats.Defense.Magical getMagical() {
- return magical;
- }
-
- /**
- * Sets the value of the magical property.
- *
- * @param value
- * allowed object is
- * {@link NPCTemplate.Info.Stats.Defense.Magical }
- *
- */
- public void setMagical(
- NPCTemplate.Info.Stats.Defense.Magical value) {
- this.magical = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Magical {
-
- @XmlAttribute(name = "value", required = true)
- protected double value;
-
- /**
- * Gets the value of the value property.
- *
- */
- public double getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- */
- public void setValue(double value) {
- this.value = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Physical {
-
- @XmlAttribute(name = "value", required = true)
- protected double value;
-
- /**
- * Gets the value of the value property.
- *
- */
- public double getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- */
- public void setValue(double value) {
- this.value = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Hp {
-
- @XmlAttribute(name = "max", required = true)
- protected double max;
- @XmlAttribute(name = "regen", required = true)
- protected double regen;
-
- /**
- * Gets the value of the max property.
- *
- */
- public double getMax() {
- return max;
- }
-
- /**
- * Sets the value of the max property.
- *
- */
- public void setMax(double value) {
- this.max = value;
- }
-
- /**
- * Gets the value of the regen property.
- *
- */
- public double getRegen() {
- return regen;
- }
-
- /**
- * Sets the value of the regen property.
- *
- */
- public void setRegen(double value) {
- this.regen = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Move {
-
- @XmlAttribute(name = "run", required = true)
- protected double run;
- @XmlAttribute(name = "walk", required = true)
- protected double walk;
-
- /**
- * Gets the value of the run property.
- *
- */
- public double getRun() {
- return run;
- }
-
- /**
- * Sets the value of the run property.
- *
- */
- public void setRun(double value) {
- this.run = value;
- }
-
- /**
- * Gets the value of the walk property.
- *
- */
- public double getWalk() {
- return walk;
- }
-
- /**
- * Sets the value of the walk property.
- *
- */
- public void setWalk(double value) {
- this.walk = value;
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Mp {
-
- @XmlAttribute(name = "max", required = true)
- protected double max;
- @XmlAttribute(name = "regen", required = true)
- protected double regen;
-
- /**
- * Gets the value of the max property.
- *
- */
- public double getMax() {
- return max;
- }
-
- /**
- * Sets the value of the max property.
- *
- */
- public void setMax(double value) {
- this.max = value;
- }
-
- /**
- * Gets the value of the regen property.
- *
- */
- public double getRegen() {
- return regen;
- }
-
- /**
- * Sets the value of the regen property.
- *
- */
- public void setRegen(double value) {
- this.regen = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- * </extension>
- * </simpleContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "value" })
- public static class Title {
-
- @XmlValue
- protected String value;
- @XmlAttribute(name = "send")
- protected Boolean send;
-
- /**
- * Gets the value of the value property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the send property.
- *
- * @return possible object is {@link Boolean }
- *
- */
- public Boolean isSend() {
- return send;
- }
-
- /**
- * Sets the value of the send property.
- *
- * @param value
- * allowed object is {@link Boolean }
- *
- */
- public void setSend(Boolean value) {
- this.send = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="skill" maxOccurs="unbounded">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/skill}SkillTemplateID" />
- * <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "skill" })
- public static class Skills {
-
- @XmlElement(required = true)
- protected List skill;
-
- /**
- * Gets the value of the skill property.
- *
- *
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list
- * will be present inside the JAXB object. This is why there is not a
- * set method for the skill property.
- *
- *
- * For example, to add a new item, do as follows:
- *
- *
- * getSkill().add(newItem);
- *
- *
- *
- *
- * Objects of the following type(s) are allowed in the list
- * {@link NPCTemplate.Skills.Skill }
- *
- *
- */
- public List getSkill() {
- if (skill == null) {
- skill = new ArrayList();
- }
- return this.skill;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/skill}SkillTemplateID" />
- * <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Skill {
-
- @XmlAttribute(name = "id", required = true)
- @XmlJavaTypeAdapter(SkillTemplateIDAdapter.class)
- protected SkillTemplateID id;
- @XmlAttribute(name = "level", required = true)
- protected int level;
-
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public SkillTemplateID getId() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setId(SkillTemplateID value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the level property.
- *
- */
- public int getLevel() {
- return level;
- }
-
- /**
- * Sets the value of the level property.
- *
- */
- public void setLevel(int value) {
- this.level = value;
- }
-
- }
-
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="chat" maxOccurs="unbounded">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="default" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "chat" })
- public static class Talk {
-
- @XmlElement(required = true)
- protected List chat;
- @XmlAttribute(name = "default", required = true)
- protected String _default;
-
- /**
- * Gets the value of the chat property.
- *
- *
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list
- * will be present inside the JAXB object. This is why there is not a
- * set method for the chat property.
- *
- *
- * For example, to add a new item, do as follows:
- *
- *
- * getChat().add(newItem);
- *
- *
- *
- *
- * Objects of the following type(s) are allowed in the list
- * {@link NPCTemplate.Talk.Chat }
- *
- *
- */
- public List getChat() {
- if (chat == null) {
- chat = new ArrayList();
- }
- return this.chat;
- }
-
- /**
- * Gets the value of the default property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getDefault() {
- return _default;
- }
-
- /**
- * Sets the value of the default property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setDefault(String value) {
- this._default = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "value" })
- public static class Chat {
-
- @XmlValue
- protected String value;
- @XmlAttribute(name = "id", required = true)
- protected String id;
-
- /**
- * Gets the value of the value property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getId() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setId(String value) {
- this.id = value;
- }
-
- }
-
- }
+public class NPCTemplate
+ extends ActorTemplate
+{
+
+ @XmlElement(required = true)
+ protected NPCTemplate.Info info;
+ protected NPCTemplate.Ai ai;
+ protected NPCTemplate.Talk talk;
+ protected NPCTemplate.Droplist droplist;
+ protected NPCTemplate.Skills skills;
+ @XmlAttribute(name = "id", required = true)
+ @XmlJavaTypeAdapter(NPCTemplateIDAdapter.class)
+ protected NPCTemplateID id;
+ @XmlAttribute(name = "controller", required = true)
+ @XmlJavaTypeAdapter(ClassAdapter.class)
+ protected Class controller;
+
+ /**
+ * Gets the value of the info property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info }
+ *
+ */
+ public NPCTemplate.Info getInfo() {
+ return info;
+ }
+
+ /**
+ * Sets the value of the info property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info }
+ *
+ */
+ public void setInfo(NPCTemplate.Info value) {
+ this.info = value;
+ }
+
+ /**
+ * Gets the value of the ai property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Ai }
+ *
+ */
+ public NPCTemplate.Ai getAi() {
+ return ai;
+ }
+
+ /**
+ * Sets the value of the ai property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Ai }
+ *
+ */
+ public void setAi(NPCTemplate.Ai value) {
+ this.ai = value;
+ }
+
+ /**
+ * Gets the value of the talk property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Talk }
+ *
+ */
+ public NPCTemplate.Talk getTalk() {
+ return talk;
+ }
+
+ /**
+ * Sets the value of the talk property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Talk }
+ *
+ */
+ public void setTalk(NPCTemplate.Talk value) {
+ this.talk = value;
+ }
+
+ /**
+ * Gets the value of the droplist property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Droplist }
+ *
+ */
+ public NPCTemplate.Droplist getDroplist() {
+ return droplist;
+ }
+
+ /**
+ * Sets the value of the droplist property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Droplist }
+ *
+ */
+ public void setDroplist(NPCTemplate.Droplist value) {
+ this.droplist = value;
+ }
+
+ /**
+ * Gets the value of the skills property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Skills }
+ *
+ */
+ public NPCTemplate.Skills getSkills() {
+ return skills;
+ }
+
+ /**
+ * Sets the value of the skills property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Skills }
+ *
+ */
+ public void setSkills(NPCTemplate.Skills value) {
+ this.skills = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public NPCTemplateID getID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setID(NPCTemplateID value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the controller property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Class getController() {
+ return controller;
+ }
+
+ /**
+ * Sets the value of the controller property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setController(Class value) {
+ this.controller = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="script" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Ai {
+
+ @XmlAttribute(name = "script", required = true)
+ protected String script;
+
+ /**
+ * Gets the value of the script property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getScript() {
+ return script;
+ }
+
+ /**
+ * Sets the value of the script property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setScript(String value) {
+ this.script = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="item" maxOccurs="unbounded">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
+ * <attribute name="min" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="category" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="DROP"/>
+ * <enumeration value="SPOIL"/>
+ * <enumeration value="UNK_1"/>
+ * <enumeration value="UNK_2"/>
+ * <enumeration value="UNK_3"/>
+ * <enumeration value="UNK_4"/>
+ * <enumeration value="UNK_5"/>
+ * <enumeration value="UNK_6"/>
+ * <enumeration value="UNK_7"/>
+ * <enumeration value="UNK_8"/>
+ * <enumeration value="UNK_9"/>
+ * <enumeration value="UNK_10"/>
+ * <enumeration value="UNK_11"/>
+ * <enumeration value="UNK_12"/>
+ * <enumeration value="UNK_13"/>
+ * <enumeration value="UNK_14"/>
+ * <enumeration value="UNK_15"/>
+ * <enumeration value="UNK_16"/>
+ * <enumeration value="UNK_17"/>
+ * <enumeration value="UNK_18"/>
+ * <enumeration value="UNK_19"/>
+ * <enumeration value="UNK_20"/>
+ * <enumeration value="UNK_21"/>
+ * <enumeration value="UNK_22"/>
+ * <enumeration value="UNK_23"/>
+ * <enumeration value="UNK_24"/>
+ * <enumeration value="UNK_25"/>
+ * <enumeration value="UNK_26"/>
+ * <enumeration value="UNK_27"/>
+ * <enumeration value="UNK_28"/>
+ * <enumeration value="UNK_29"/>
+ * <enumeration value="UNK_30"/>
+ * <enumeration value="UNK_31"/>
+ * <enumeration value="UNK_32"/>
+ * <enumeration value="UNK_33"/>
+ * <enumeration value="UNK_34"/>
+ * <enumeration value="UNK_35"/>
+ * <enumeration value="UNK_36"/>
+ * <enumeration value="UNK_100"/>
+ * <enumeration value="UNK_101"/>
+ * <enumeration value="UNK_102"/>
+ * <enumeration value="UNK_200"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="chance" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "item"
+ })
+ public static class Droplist {
+
+ @XmlElement(required = true)
+ protected List item;
+
+ /**
+ * Gets the value of the item property.
+ *
+ *
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set method for the item property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ * getItem().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link NPCTemplate.Droplist.Item }
+ *
+ *
+ */
+ public List getItem() {
+ if (item == null) {
+ item = new ArrayList();
+ }
+ return this.item;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
+ * <attribute name="min" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="category" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="DROP"/>
+ * <enumeration value="SPOIL"/>
+ * <enumeration value="UNK_1"/>
+ * <enumeration value="UNK_2"/>
+ * <enumeration value="UNK_3"/>
+ * <enumeration value="UNK_4"/>
+ * <enumeration value="UNK_5"/>
+ * <enumeration value="UNK_6"/>
+ * <enumeration value="UNK_7"/>
+ * <enumeration value="UNK_8"/>
+ * <enumeration value="UNK_9"/>
+ * <enumeration value="UNK_10"/>
+ * <enumeration value="UNK_11"/>
+ * <enumeration value="UNK_12"/>
+ * <enumeration value="UNK_13"/>
+ * <enumeration value="UNK_14"/>
+ * <enumeration value="UNK_15"/>
+ * <enumeration value="UNK_16"/>
+ * <enumeration value="UNK_17"/>
+ * <enumeration value="UNK_18"/>
+ * <enumeration value="UNK_19"/>
+ * <enumeration value="UNK_20"/>
+ * <enumeration value="UNK_21"/>
+ * <enumeration value="UNK_22"/>
+ * <enumeration value="UNK_23"/>
+ * <enumeration value="UNK_24"/>
+ * <enumeration value="UNK_25"/>
+ * <enumeration value="UNK_26"/>
+ * <enumeration value="UNK_27"/>
+ * <enumeration value="UNK_28"/>
+ * <enumeration value="UNK_29"/>
+ * <enumeration value="UNK_30"/>
+ * <enumeration value="UNK_31"/>
+ * <enumeration value="UNK_32"/>
+ * <enumeration value="UNK_33"/>
+ * <enumeration value="UNK_34"/>
+ * <enumeration value="UNK_35"/>
+ * <enumeration value="UNK_36"/>
+ * <enumeration value="UNK_100"/>
+ * <enumeration value="UNK_101"/>
+ * <enumeration value="UNK_102"/>
+ * <enumeration value="UNK_200"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="chance" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Item {
+
+ @XmlAttribute(name = "id", required = true)
+ @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
+ protected ItemTemplateID id;
+ @XmlAttribute(name = "min", required = true)
+ protected int min;
+ @XmlAttribute(name = "max", required = true)
+ protected int max;
+ @XmlAttribute(name = "category", required = true)
+ protected NPCTemplate.Droplist.Item.DropCategory category;
+ @XmlAttribute(name = "chance", required = true)
+ protected int chance;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public ItemTemplateID getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(ItemTemplateID value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the min property.
+ *
+ */
+ public int getMin() {
+ return min;
+ }
+
+ /**
+ * Sets the value of the min property.
+ *
+ */
+ public void setMin(int value) {
+ this.min = value;
+ }
+
+ /**
+ * Gets the value of the max property.
+ *
+ */
+ public int getMax() {
+ return max;
+ }
+
+ /**
+ * Sets the value of the max property.
+ *
+ */
+ public void setMax(int value) {
+ this.max = value;
+ }
+
+ /**
+ * Gets the value of the category property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Droplist.Item.DropCategory }
+ *
+ */
+ public NPCTemplate.Droplist.Item.DropCategory getCategory() {
+ return category;
+ }
+
+ /**
+ * Sets the value of the category property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Droplist.Item.DropCategory }
+ *
+ */
+ public void setCategory(NPCTemplate.Droplist.Item.DropCategory value) {
+ this.category = value;
+ }
+
+ /**
+ * Gets the value of the chance property.
+ *
+ */
+ public int getChance() {
+ return chance;
+ }
+
+ /**
+ * Sets the value of the chance property.
+ *
+ */
+ public void setChance(int value) {
+ this.chance = value;
+ }
+
+
+ /**
+ * Java class for null.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="DROP"/>
+ * <enumeration value="SPOIL"/>
+ * <enumeration value="UNK_1"/>
+ * <enumeration value="UNK_2"/>
+ * <enumeration value="UNK_3"/>
+ * <enumeration value="UNK_4"/>
+ * <enumeration value="UNK_5"/>
+ * <enumeration value="UNK_6"/>
+ * <enumeration value="UNK_7"/>
+ * <enumeration value="UNK_8"/>
+ * <enumeration value="UNK_9"/>
+ * <enumeration value="UNK_10"/>
+ * <enumeration value="UNK_11"/>
+ * <enumeration value="UNK_12"/>
+ * <enumeration value="UNK_13"/>
+ * <enumeration value="UNK_14"/>
+ * <enumeration value="UNK_15"/>
+ * <enumeration value="UNK_16"/>
+ * <enumeration value="UNK_17"/>
+ * <enumeration value="UNK_18"/>
+ * <enumeration value="UNK_19"/>
+ * <enumeration value="UNK_20"/>
+ * <enumeration value="UNK_21"/>
+ * <enumeration value="UNK_22"/>
+ * <enumeration value="UNK_23"/>
+ * <enumeration value="UNK_24"/>
+ * <enumeration value="UNK_25"/>
+ * <enumeration value="UNK_26"/>
+ * <enumeration value="UNK_27"/>
+ * <enumeration value="UNK_28"/>
+ * <enumeration value="UNK_29"/>
+ * <enumeration value="UNK_30"/>
+ * <enumeration value="UNK_31"/>
+ * <enumeration value="UNK_32"/>
+ * <enumeration value="UNK_33"/>
+ * <enumeration value="UNK_34"/>
+ * <enumeration value="UNK_35"/>
+ * <enumeration value="UNK_36"/>
+ * <enumeration value="UNK_100"/>
+ * <enumeration value="UNK_101"/>
+ * <enumeration value="UNK_102"/>
+ * <enumeration value="UNK_200"/>
+ * </restriction>
+ * </simpleType>
+ *
+ *
+ */
+ @XmlType(name = "")
+ @XmlEnum
+ public enum DropCategory {
+
+ DROP,
+ SPOIL,
+ UNK_1,
+ UNK_2,
+ UNK_3,
+ UNK_4,
+ UNK_5,
+ UNK_6,
+ UNK_7,
+ UNK_8,
+ UNK_9,
+ UNK_10,
+ UNK_11,
+ UNK_12,
+ UNK_13,
+ UNK_14,
+ UNK_15,
+ UNK_16,
+ UNK_17,
+ UNK_18,
+ UNK_19,
+ UNK_20,
+ UNK_21,
+ UNK_22,
+ UNK_23,
+ UNK_24,
+ UNK_25,
+ UNK_26,
+ UNK_27,
+ UNK_28,
+ UNK_29,
+ UNK_30,
+ UNK_31,
+ UNK_32,
+ UNK_33,
+ UNK_34,
+ UNK_35,
+ UNK_36,
+ UNK_100,
+ UNK_101,
+ UNK_102,
+ UNK_200;
+
+ public String value() {
+ return name();
+ }
+
+ public static NPCTemplate.Droplist.Item.DropCategory fromValue(String v) {
+ return valueOf(v);
+ }
+
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" minOccurs="0">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="title" minOccurs="0">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * <element name="level" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="race" type="{http://schemas.l2jserver2.com/npc}NPCRace" minOccurs="0"/>
+ * <element name="sex" type="{}ActorSexType" minOccurs="0"/>
+ * <element name="stats">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="hp">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="mp">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="attack" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="defense" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="move" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="base">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="experience" type="{http://www.w3.org/2001/XMLSchema}long"/>
+ * <element name="sp" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="item" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="rightHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
+ * <attribute name="leftHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="collision" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="attackable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="targetable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="aggressive" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "name",
+ "title",
+ "level",
+ "race",
+ "sex",
+ "stats",
+ "experience",
+ "sp",
+ "item",
+ "collision"
+ })
+ public static class Info {
+
+ protected NPCTemplate.Info.Name name;
+ protected NPCTemplate.Info.Title title;
+ protected int level;
+ @XmlElement(type = String.class)
+ @XmlJavaTypeAdapter(NPCRaceAdapter.class)
+ protected NPCRace race;
+ @XmlElement(type = String.class)
+ @XmlJavaTypeAdapter(ActorSexAdapter.class)
+ protected ActorSex sex;
+ @XmlElement(required = true)
+ protected NPCTemplate.Info.Stats stats;
+ protected long experience;
+ protected int sp;
+ protected NPCTemplate.Info.Item item;
+ protected NPCTemplate.Info.Collision collision;
+ @XmlAttribute(name = "attackable", required = true)
+ protected boolean attackable;
+ @XmlAttribute(name = "targetable", required = true)
+ protected boolean targetable;
+ @XmlAttribute(name = "aggressive", required = true)
+ protected boolean aggressive;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Name }
+ *
+ */
+ public NPCTemplate.Info.Name getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Name }
+ *
+ */
+ public void setName(NPCTemplate.Info.Name value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the title property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Title }
+ *
+ */
+ public NPCTemplate.Info.Title getTitle() {
+ return title;
+ }
+
+ /**
+ * Sets the value of the title property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Title }
+ *
+ */
+ public void setTitle(NPCTemplate.Info.Title value) {
+ this.title = value;
+ }
+
+ /**
+ * Gets the value of the level property.
+ *
+ */
+ public int getLevel() {
+ return level;
+ }
+
+ /**
+ * Sets the value of the level property.
+ *
+ */
+ public void setLevel(int value) {
+ this.level = value;
+ }
+
+ /**
+ * Gets the value of the race property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public NPCRace getRace() {
+ return race;
+ }
+
+ /**
+ * Sets the value of the race property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRace(NPCRace value) {
+ this.race = value;
+ }
+
+ /**
+ * Gets the value of the sex property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public ActorSex getSex() {
+ return sex;
+ }
+
+ /**
+ * Sets the value of the sex property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSex(ActorSex value) {
+ this.sex = value;
+ }
+
+ /**
+ * Gets the value of the stats property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats }
+ *
+ */
+ public NPCTemplate.Info.Stats getStats() {
+ return stats;
+ }
+
+ /**
+ * Sets the value of the stats property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats }
+ *
+ */
+ public void setStats(NPCTemplate.Info.Stats value) {
+ this.stats = value;
+ }
+
+ /**
+ * Gets the value of the experience property.
+ *
+ */
+ public long getExperience() {
+ return experience;
+ }
+
+ /**
+ * Sets the value of the experience property.
+ *
+ */
+ public void setExperience(long value) {
+ this.experience = value;
+ }
+
+ /**
+ * Gets the value of the sp property.
+ *
+ */
+ public int getSp() {
+ return sp;
+ }
+
+ /**
+ * Sets the value of the sp property.
+ *
+ */
+ public void setSp(int value) {
+ this.sp = value;
+ }
+
+ /**
+ * Gets the value of the item property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Item }
+ *
+ */
+ public NPCTemplate.Info.Item getItem() {
+ return item;
+ }
+
+ /**
+ * Sets the value of the item property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Item }
+ *
+ */
+ public void setItem(NPCTemplate.Info.Item value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the collision property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Collision }
+ *
+ */
+ public NPCTemplate.Info.Collision getCollision() {
+ return collision;
+ }
+
+ /**
+ * Sets the value of the collision property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Collision }
+ *
+ */
+ public void setCollision(NPCTemplate.Info.Collision value) {
+ this.collision = value;
+ }
+
+ /**
+ * Gets the value of the attackable property.
+ *
+ */
+ public boolean isAttackable() {
+ return attackable;
+ }
+
+ /**
+ * Sets the value of the attackable property.
+ *
+ */
+ public void setAttackable(boolean value) {
+ this.attackable = value;
+ }
+
+ /**
+ * Gets the value of the targetable property.
+ *
+ */
+ public boolean isTargetable() {
+ return targetable;
+ }
+
+ /**
+ * Sets the value of the targetable property.
+ *
+ */
+ public void setTargetable(boolean value) {
+ this.targetable = value;
+ }
+
+ /**
+ * Gets the value of the aggressive property.
+ *
+ */
+ public boolean isAggressive() {
+ return aggressive;
+ }
+
+ /**
+ * Sets the value of the aggressive property.
+ *
+ */
+ public void setAggressive(boolean value) {
+ this.aggressive = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Collision {
+
+ @XmlAttribute(name = "radius", required = true)
+ protected double radius;
+ @XmlAttribute(name = "heigth", required = true)
+ protected double heigth;
+
+ /**
+ * Gets the value of the radius property.
+ *
+ */
+ public double getRadius() {
+ return radius;
+ }
+
+ /**
+ * Sets the value of the radius property.
+ *
+ */
+ public void setRadius(double value) {
+ this.radius = value;
+ }
+
+ /**
+ * Gets the value of the heigth property.
+ *
+ */
+ public double getHeigth() {
+ return heigth;
+ }
+
+ /**
+ * Sets the value of the heigth property.
+ *
+ */
+ public void setHeigth(double value) {
+ this.heigth = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="rightHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
+ * <attribute name="leftHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Item {
+
+ @XmlAttribute(name = "rightHand")
+ @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
+ protected ItemTemplateID rightHand;
+ @XmlAttribute(name = "leftHand")
+ @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
+ protected ItemTemplateID leftHand;
+
+ /**
+ * Gets the value of the rightHand property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public ItemTemplateID getRightHand() {
+ return rightHand;
+ }
+
+ /**
+ * Sets the value of the rightHand property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRightHand(ItemTemplateID value) {
+ this.rightHand = value;
+ }
+
+ /**
+ * Gets the value of the leftHand property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public ItemTemplateID getLeftHand() {
+ return leftHand;
+ }
+
+ /**
+ * Sets the value of the leftHand property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLeftHand(ItemTemplateID value) {
+ this.leftHand = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class Name {
+
+ @XmlValue
+ protected String value;
+ @XmlAttribute(name = "send")
+ protected Boolean send;
+ @XmlAttribute(name = "display")
+ protected Boolean display;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the send property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isSend() {
+ return send;
+ }
+
+ /**
+ * Sets the value of the send property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSend(Boolean value) {
+ this.send = value;
+ }
+
+ /**
+ * Gets the value of the display property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isDisplay() {
+ return display;
+ }
+
+ /**
+ * Sets the value of the display property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDisplay(Boolean value) {
+ this.display = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="hp">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="mp">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="attack" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="defense" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="move" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="base">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "hp",
+ "mp",
+ "attack",
+ "defense",
+ "move",
+ "base"
+ })
+ public static class Stats {
+
+ @XmlElement(required = true)
+ protected NPCTemplate.Info.Stats.Hp hp;
+ @XmlElement(required = true)
+ protected NPCTemplate.Info.Stats.Mp mp;
+ protected NPCTemplate.Info.Stats.Attack attack;
+ protected NPCTemplate.Info.Stats.Defense defense;
+ protected NPCTemplate.Info.Stats.Move move;
+ @XmlElement(required = true)
+ protected NPCTemplate.Info.Stats.Base base;
+
+ /**
+ * Gets the value of the hp property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Hp }
+ *
+ */
+ public NPCTemplate.Info.Stats.Hp getHp() {
+ return hp;
+ }
+
+ /**
+ * Sets the value of the hp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Hp }
+ *
+ */
+ public void setHp(NPCTemplate.Info.Stats.Hp value) {
+ this.hp = value;
+ }
+
+ /**
+ * Gets the value of the mp property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Mp }
+ *
+ */
+ public NPCTemplate.Info.Stats.Mp getMp() {
+ return mp;
+ }
+
+ /**
+ * Sets the value of the mp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Mp }
+ *
+ */
+ public void setMp(NPCTemplate.Info.Stats.Mp value) {
+ this.mp = value;
+ }
+
+ /**
+ * Gets the value of the attack property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Attack }
+ *
+ */
+ public NPCTemplate.Info.Stats.Attack getAttack() {
+ return attack;
+ }
+
+ /**
+ * Sets the value of the attack property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Attack }
+ *
+ */
+ public void setAttack(NPCTemplate.Info.Stats.Attack value) {
+ this.attack = value;
+ }
+
+ /**
+ * Gets the value of the defense property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Defense }
+ *
+ */
+ public NPCTemplate.Info.Stats.Defense getDefense() {
+ return defense;
+ }
+
+ /**
+ * Sets the value of the defense property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Defense }
+ *
+ */
+ public void setDefense(NPCTemplate.Info.Stats.Defense value) {
+ this.defense = value;
+ }
+
+ /**
+ * Gets the value of the move property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Move }
+ *
+ */
+ public NPCTemplate.Info.Stats.Move getMove() {
+ return move;
+ }
+
+ /**
+ * Sets the value of the move property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Move }
+ *
+ */
+ public void setMove(NPCTemplate.Info.Stats.Move value) {
+ this.move = value;
+ }
+
+ /**
+ * Gets the value of the base property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Base }
+ *
+ */
+ public NPCTemplate.Info.Stats.Base getBase() {
+ return base;
+ }
+
+ /**
+ * Sets the value of the base property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Base }
+ *
+ */
+ public void setBase(NPCTemplate.Info.Stats.Base value) {
+ this.base = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "physical",
+ "magical"
+ })
+ public static class Attack {
+
+ @XmlElement(required = true)
+ protected NPCTemplate.Info.Stats.Attack.Physical physical;
+ @XmlElement(required = true)
+ protected NPCTemplate.Info.Stats.Attack.Magical magical;
+ @XmlAttribute(name = "range", required = true)
+ protected int range;
+ @XmlAttribute(name = "evasion", required = true)
+ protected int evasion;
+ @XmlAttribute(name = "critical", required = true)
+ protected int critical;
+
+ /**
+ * Gets the value of the physical property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Attack.Physical }
+ *
+ */
+ public NPCTemplate.Info.Stats.Attack.Physical getPhysical() {
+ return physical;
+ }
+
+ /**
+ * Sets the value of the physical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Attack.Physical }
+ *
+ */
+ public void setPhysical(NPCTemplate.Info.Stats.Attack.Physical value) {
+ this.physical = value;
+ }
+
+ /**
+ * Gets the value of the magical property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Attack.Magical }
+ *
+ */
+ public NPCTemplate.Info.Stats.Attack.Magical getMagical() {
+ return magical;
+ }
+
+ /**
+ * Sets the value of the magical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Attack.Magical }
+ *
+ */
+ public void setMagical(NPCTemplate.Info.Stats.Attack.Magical value) {
+ this.magical = value;
+ }
+
+ /**
+ * Gets the value of the range property.
+ *
+ */
+ public int getRange() {
+ return range;
+ }
+
+ /**
+ * Sets the value of the range property.
+ *
+ */
+ public void setRange(int value) {
+ this.range = value;
+ }
+
+ /**
+ * Gets the value of the evasion property.
+ *
+ */
+ public int getEvasion() {
+ return evasion;
+ }
+
+ /**
+ * Sets the value of the evasion property.
+ *
+ */
+ public void setEvasion(int value) {
+ this.evasion = value;
+ }
+
+ /**
+ * Gets the value of the critical property.
+ *
+ */
+ public int getCritical() {
+ return critical;
+ }
+
+ /**
+ * Sets the value of the critical property.
+ *
+ */
+ public void setCritical(int value) {
+ this.critical = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Magical {
+
+ @XmlAttribute(name = "damage", required = true)
+ protected double damage;
+ @XmlAttribute(name = "speed", required = true)
+ protected double speed;
+
+ /**
+ * Gets the value of the damage property.
+ *
+ */
+ public double getDamage() {
+ return damage;
+ }
+
+ /**
+ * Sets the value of the damage property.
+ *
+ */
+ public void setDamage(double value) {
+ this.damage = value;
+ }
+
+ /**
+ * Gets the value of the speed property.
+ *
+ */
+ public double getSpeed() {
+ return speed;
+ }
+
+ /**
+ * Sets the value of the speed property.
+ *
+ */
+ public void setSpeed(double value) {
+ this.speed = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Physical {
+
+ @XmlAttribute(name = "damage", required = true)
+ protected double damage;
+ @XmlAttribute(name = "speed", required = true)
+ protected double speed;
+
+ /**
+ * Gets the value of the damage property.
+ *
+ */
+ public double getDamage() {
+ return damage;
+ }
+
+ /**
+ * Sets the value of the damage property.
+ *
+ */
+ public void setDamage(double value) {
+ this.damage = value;
+ }
+
+ /**
+ * Gets the value of the speed property.
+ *
+ */
+ public double getSpeed() {
+ return speed;
+ }
+
+ /**
+ * Sets the value of the speed property.
+ *
+ */
+ public void setSpeed(double value) {
+ this.speed = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Base {
+
+ @XmlAttribute(name = "int", required = true)
+ protected int _int;
+ @XmlAttribute(name = "str", required = true)
+ protected int str;
+ @XmlAttribute(name = "con", required = true)
+ protected int con;
+ @XmlAttribute(name = "men", required = true)
+ protected int men;
+ @XmlAttribute(name = "dex", required = true)
+ protected int dex;
+ @XmlAttribute(name = "wit", required = true)
+ protected int wit;
+
+ /**
+ * Gets the value of the int property.
+ *
+ */
+ public int getInt() {
+ return _int;
+ }
+
+ /**
+ * Sets the value of the int property.
+ *
+ */
+ public void setInt(int value) {
+ this._int = value;
+ }
+
+ /**
+ * Gets the value of the str property.
+ *
+ */
+ public int getStr() {
+ return str;
+ }
+
+ /**
+ * Sets the value of the str property.
+ *
+ */
+ public void setStr(int value) {
+ this.str = value;
+ }
+
+ /**
+ * Gets the value of the con property.
+ *
+ */
+ public int getCon() {
+ return con;
+ }
+
+ /**
+ * Sets the value of the con property.
+ *
+ */
+ public void setCon(int value) {
+ this.con = value;
+ }
+
+ /**
+ * Gets the value of the men property.
+ *
+ */
+ public int getMen() {
+ return men;
+ }
+
+ /**
+ * Sets the value of the men property.
+ *
+ */
+ public void setMen(int value) {
+ this.men = value;
+ }
+
+ /**
+ * Gets the value of the dex property.
+ *
+ */
+ public int getDex() {
+ return dex;
+ }
+
+ /**
+ * Sets the value of the dex property.
+ *
+ */
+ public void setDex(int value) {
+ this.dex = value;
+ }
+
+ /**
+ * Gets the value of the wit property.
+ *
+ */
+ public int getWit() {
+ return wit;
+ }
+
+ /**
+ * Sets the value of the wit property.
+ *
+ */
+ public void setWit(int value) {
+ this.wit = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="physical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="magical">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "physical",
+ "magical"
+ })
+ public static class Defense {
+
+ @XmlElement(required = true)
+ protected NPCTemplate.Info.Stats.Defense.Physical physical;
+ @XmlElement(required = true)
+ protected NPCTemplate.Info.Stats.Defense.Magical magical;
+
+ /**
+ * Gets the value of the physical property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Defense.Physical }
+ *
+ */
+ public NPCTemplate.Info.Stats.Defense.Physical getPhysical() {
+ return physical;
+ }
+
+ /**
+ * Sets the value of the physical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Defense.Physical }
+ *
+ */
+ public void setPhysical(NPCTemplate.Info.Stats.Defense.Physical value) {
+ this.physical = value;
+ }
+
+ /**
+ * Gets the value of the magical property.
+ *
+ * @return
+ * possible object is
+ * {@link NPCTemplate.Info.Stats.Defense.Magical }
+ *
+ */
+ public NPCTemplate.Info.Stats.Defense.Magical getMagical() {
+ return magical;
+ }
+
+ /**
+ * Sets the value of the magical property.
+ *
+ * @param value
+ * allowed object is
+ * {@link NPCTemplate.Info.Stats.Defense.Magical }
+ *
+ */
+ public void setMagical(NPCTemplate.Info.Stats.Defense.Magical value) {
+ this.magical = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Magical {
+
+ @XmlAttribute(name = "value", required = true)
+ protected double value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ */
+ public double getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ */
+ public void setValue(double value) {
+ this.value = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Physical {
+
+ @XmlAttribute(name = "value", required = true)
+ protected double value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ */
+ public double getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ */
+ public void setValue(double value) {
+ this.value = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Hp {
+
+ @XmlAttribute(name = "max", required = true)
+ protected double max;
+ @XmlAttribute(name = "regen", required = true)
+ protected double regen;
+
+ /**
+ * Gets the value of the max property.
+ *
+ */
+ public double getMax() {
+ return max;
+ }
+
+ /**
+ * Sets the value of the max property.
+ *
+ */
+ public void setMax(double value) {
+ this.max = value;
+ }
+
+ /**
+ * Gets the value of the regen property.
+ *
+ */
+ public double getRegen() {
+ return regen;
+ }
+
+ /**
+ * Sets the value of the regen property.
+ *
+ */
+ public void setRegen(double value) {
+ this.regen = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Move {
+
+ @XmlAttribute(name = "run", required = true)
+ protected double run;
+ @XmlAttribute(name = "walk", required = true)
+ protected double walk;
+
+ /**
+ * Gets the value of the run property.
+ *
+ */
+ public double getRun() {
+ return run;
+ }
+
+ /**
+ * Sets the value of the run property.
+ *
+ */
+ public void setRun(double value) {
+ this.run = value;
+ }
+
+ /**
+ * Gets the value of the walk property.
+ *
+ */
+ public double getWalk() {
+ return walk;
+ }
+
+ /**
+ * Sets the value of the walk property.
+ *
+ */
+ public void setWalk(double value) {
+ this.walk = value;
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Mp {
+
+ @XmlAttribute(name = "max", required = true)
+ protected double max;
+ @XmlAttribute(name = "regen", required = true)
+ protected double regen;
+
+ /**
+ * Gets the value of the max property.
+ *
+ */
+ public double getMax() {
+ return max;
+ }
+
+ /**
+ * Sets the value of the max property.
+ *
+ */
+ public void setMax(double value) {
+ this.max = value;
+ }
+
+ /**
+ * Gets the value of the regen property.
+ *
+ */
+ public double getRegen() {
+ return regen;
+ }
+
+ /**
+ * Sets the value of the regen property.
+ *
+ */
+ public void setRegen(double value) {
+ this.regen = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class Title {
+
+ @XmlValue
+ protected String value;
+ @XmlAttribute(name = "send")
+ protected Boolean send;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the send property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isSend() {
+ return send;
+ }
+
+ /**
+ * Sets the value of the send property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSend(Boolean value) {
+ this.send = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="skill" maxOccurs="unbounded">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/skill}SkillTemplateID" />
+ * <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "skill"
+ })
+ public static class Skills {
+
+ @XmlElement(required = true)
+ protected List skill;
+
+ /**
+ * Gets the value of the skill property.
+ *
+ *
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set method for the skill property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ * getSkill().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link NPCTemplate.Skills.Skill }
+ *
+ *
+ */
+ public List getSkill() {
+ if (skill == null) {
+ skill = new ArrayList();
+ }
+ return this.skill;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/skill}SkillTemplateID" />
+ * <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Skill {
+
+ @XmlAttribute(name = "id", required = true)
+ @XmlJavaTypeAdapter(SkillTemplateIDAdapter.class)
+ protected SkillTemplateID id;
+ @XmlAttribute(name = "level", required = true)
+ protected int level;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public SkillTemplateID getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(SkillTemplateID value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the level property.
+ *
+ */
+ public int getLevel() {
+ return level;
+ }
+
+ /**
+ * Sets the value of the level property.
+ *
+ */
+ public void setLevel(int value) {
+ this.level = value;
+ }
+
+ }
+
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="chat" maxOccurs="unbounded">
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="default" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "chat"
+ })
+ public static class Talk {
+
+ @XmlElement(required = true)
+ protected List chat;
+ @XmlAttribute(name = "default", required = true)
+ protected String _default;
+
+ /**
+ * Gets the value of the chat property.
+ *
+ *
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set method for the chat property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ * getChat().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link NPCTemplate.Talk.Chat }
+ *
+ *
+ */
+ public List getChat() {
+ if (chat == null) {
+ chat = new ArrayList();
+ }
+ return this.chat;
+ }
+
+ /**
+ * Gets the value of the default property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefault() {
+ return _default;
+ }
+
+ /**
+ * Sets the value of the default property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefault(String value) {
+ this._default = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class Chat {
+
+ @XmlValue
+ protected String value;
+ @XmlAttribute(name = "id", required = true)
+ protected String id;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ }
+
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ObjectFactory.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ObjectFactory.java
index f217d3ac6..ede55e37d 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ObjectFactory.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ObjectFactory.java
@@ -2,529 +2,534 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlRegistry;
+
/**
- * This object contains factory methods for each Java content interface and Java
- * element interface generated in the com.l2jserver.model.template package.
- *
- * An ObjectFactory allows you to programatically construct new instances of the
- * Java representation for XML content. The Java representation of XML content
- * can consist of schema derived interfaces and classes representing the binding
- * of schema type definitions, element declarations and model groups. Factory
- * methods for each of these are provided in this class.
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the com.l2jserver.model.template package.
+ *
An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
- /**
- * Create a new ObjectFactory that can be used to create new instances of
- * schema derived classes for package: com.l2jserver.model.template
- *
- */
- public ObjectFactory() {
- }
- /**
- * Create an instance of {@link NPCTemplate }
- *
- */
- public NPCTemplate createNPCTemplate() {
- return new NPCTemplate();
- }
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.l2jserver.model.template
+ *
+ */
+ public ObjectFactory() {
+ }
- /**
- * Create an instance of {@link NPCTemplate.Droplist }
- *
- */
- public NPCTemplate.Droplist createNPCTemplateDroplist() {
- return new NPCTemplate.Droplist();
- }
+ /**
+ * Create an instance of {@link NPCTemplate }
+ *
+ */
+ public NPCTemplate createNPCTemplate() {
+ return new NPCTemplate();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Droplist.Item }
- *
- */
- public NPCTemplate.Droplist.Item createNPCTemplateDroplistItem() {
- return new NPCTemplate.Droplist.Item();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Droplist }
+ *
+ */
+ public NPCTemplate.Droplist createNPCTemplateDroplist() {
+ return new NPCTemplate.Droplist();
+ }
- /**
- * Create an instance of {@link Teleports }
- *
- */
- public Teleports createTeleports() {
- return new Teleports();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Droplist.Item }
+ *
+ */
+ public NPCTemplate.Droplist.Item createNPCTemplateDroplistItem() {
+ return new NPCTemplate.Droplist.Item();
+ }
- /**
- * Create an instance of {@link Zones }
- *
- */
- public Zones createZones() {
- return new Zones();
- }
+ /**
+ * Create an instance of {@link Zones }
+ *
+ */
+ public Zones createZones() {
+ return new Zones();
+ }
- /**
- * Create an instance of {@link ZoneType }
- *
- */
- public ZoneType createZoneType() {
- return new ZoneType();
- }
+ /**
+ * Create an instance of {@link ZoneType }
+ *
+ */
+ public ZoneType createZoneType() {
+ return new ZoneType();
+ }
- /**
- * Create an instance of {@link Zones.Castle }
- *
- */
- public Zones.Castle createZonesCastle() {
- return new Zones.Castle();
- }
+ /**
+ * Create an instance of {@link Zones.Castle }
+ *
+ */
+ public Zones.Castle createZonesCastle() {
+ return new Zones.Castle();
+ }
- /**
- * Create an instance of {@link Teleports.Teleport }
- *
- */
- public Teleports.Teleport createTeleportsTeleport() {
- return new Teleports.Teleport();
- }
+ /**
+ * Create an instance of {@link TeleportationTemplate }
+ *
+ */
+ public TeleportationTemplate createTeleportationTemplate() {
+ return new TeleportationTemplate();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Skills }
- *
- */
- public NPCTemplate.Skills createNPCTemplateSkills() {
- return new NPCTemplate.Skills();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Skills }
+ *
+ */
+ public NPCTemplate.Skills createNPCTemplateSkills() {
+ return new NPCTemplate.Skills();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Talk }
- *
- */
- public NPCTemplate.Talk createNPCTemplateTalk() {
- return new NPCTemplate.Talk();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Talk }
+ *
+ */
+ public NPCTemplate.Talk createNPCTemplateTalk() {
+ return new NPCTemplate.Talk();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info }
- *
- */
- public NPCTemplate.Info createNPCTemplateInfo() {
- return new NPCTemplate.Info();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info }
+ *
+ */
+ public NPCTemplate.Info createNPCTemplateInfo() {
+ return new NPCTemplate.Info();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats }
- *
- */
- public NPCTemplate.Info.Stats createNPCTemplateInfoStats() {
- return new NPCTemplate.Info.Stats();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats }
+ *
+ */
+ public NPCTemplate.Info.Stats createNPCTemplateInfoStats() {
+ return new NPCTemplate.Info.Stats();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Defense }
- *
- */
- public NPCTemplate.Info.Stats.Defense createNPCTemplateInfoStatsDefense() {
- return new NPCTemplate.Info.Stats.Defense();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Defense }
+ *
+ */
+ public NPCTemplate.Info.Stats.Defense createNPCTemplateInfoStatsDefense() {
+ return new NPCTemplate.Info.Stats.Defense();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Attack }
- *
- */
- public NPCTemplate.Info.Stats.Attack createNPCTemplateInfoStatsAttack() {
- return new NPCTemplate.Info.Stats.Attack();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Attack }
+ *
+ */
+ public NPCTemplate.Info.Stats.Attack createNPCTemplateInfoStatsAttack() {
+ return new NPCTemplate.Info.Stats.Attack();
+ }
- /**
- * Create an instance of {@link ItemTemplate }
- *
- */
- public ItemTemplate createItemTemplate() {
- return new ItemTemplate();
- }
+ /**
+ * Create an instance of {@link ItemTemplate }
+ *
+ */
+ public ItemTemplate createItemTemplate() {
+ return new ItemTemplate();
+ }
- /**
- * Create an instance of {@link ItemTemplate.Armor }
- *
- */
- public ItemTemplate.Armor createItemTemplateArmor() {
- return new ItemTemplate.Armor();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.Armor }
+ *
+ */
+ public ItemTemplate.Armor createItemTemplateArmor() {
+ return new ItemTemplate.Armor();
+ }
- /**
- * Create an instance of {@link ItemTemplate.Attributes }
- *
- */
- public ItemTemplate.Attributes createItemTemplateAttributes() {
- return new ItemTemplate.Attributes();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.Attributes }
+ *
+ */
+ public ItemTemplate.Attributes createItemTemplateAttributes() {
+ return new ItemTemplate.Attributes();
+ }
- /**
- * Create an instance of {@link CharacterTemplate }
- *
- */
- public CharacterTemplate createCharacterTemplate() {
- return new CharacterTemplate();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate }
+ *
+ */
+ public CharacterTemplate createCharacterTemplate() {
+ return new CharacterTemplate();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Collision }
- *
- */
- public CharacterTemplate.Collision createCharacterTemplateCollision() {
- return new CharacterTemplate.Collision();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Collision }
+ *
+ */
+ public CharacterTemplate.Collision createCharacterTemplateCollision() {
+ return new CharacterTemplate.Collision();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats }
- *
- */
- public CharacterTemplate.Stats createCharacterTemplateStats() {
- return new CharacterTemplate.Stats();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats }
+ *
+ */
+ public CharacterTemplate.Stats createCharacterTemplateStats() {
+ return new CharacterTemplate.Stats();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Defense }
- *
- */
- public CharacterTemplate.Stats.Defense createCharacterTemplateStatsDefense() {
- return new CharacterTemplate.Stats.Defense();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Defense }
+ *
+ */
+ public CharacterTemplate.Stats.Defense createCharacterTemplateStatsDefense() {
+ return new CharacterTemplate.Stats.Defense();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Attack }
- *
- */
- public CharacterTemplate.Stats.Attack createCharacterTemplateStatsAttack() {
- return new CharacterTemplate.Stats.Attack();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Attack }
+ *
+ */
+ public CharacterTemplate.Stats.Attack createCharacterTemplateStatsAttack() {
+ return new CharacterTemplate.Stats.Attack();
+ }
- /**
- * Create an instance of {@link CalculatorFunction }
- *
- */
- public CalculatorFunction createCalculatorFunction() {
- return new CalculatorFunction();
- }
+ /**
+ * Create an instance of {@link CalculatorFunction }
+ *
+ */
+ public CalculatorFunction createCalculatorFunction() {
+ return new CalculatorFunction();
+ }
- /**
- * Create an instance of {@link Coordinate }
- *
- */
- public Coordinate createCoordinate() {
- return new Coordinate();
- }
+ /**
+ * Create an instance of {@link TemplateCoordinate }
+ *
+ */
+ public TemplateCoordinate createTemplateCoordinate() {
+ return new TemplateCoordinate();
+ }
- /**
- * Create an instance of {@link CalculatorFunctionOperation }
- *
- */
- public CalculatorFunctionOperation createCalculatorFunctionOperation() {
- return new CalculatorFunctionOperation();
- }
+ /**
+ * Create an instance of {@link CalculatorFunctionOperation }
+ *
+ */
+ public CalculatorFunctionOperation createCalculatorFunctionOperation() {
+ return new CalculatorFunctionOperation();
+ }
- /**
- * Create an instance of {@link SkillTemplate }
- *
- */
- public SkillTemplate createSkillTemplate() {
- return new SkillTemplate();
- }
+ /**
+ * Create an instance of {@link SkillTemplate }
+ *
+ */
+ public SkillTemplate createSkillTemplate() {
+ return new SkillTemplate();
+ }
- /**
- * Create an instance of {@link ZoneType.Point }
- *
- */
- public ZoneType.Point createZoneTypePoint() {
- return new ZoneType.Point();
- }
+ /**
+ * Create an instance of {@link Teleports }
+ *
+ */
+ public Teleports createTeleports() {
+ return new Teleports();
+ }
- /**
- * Create an instance of {@link Zones.Castle.Siege }
- *
- */
- public Zones.Castle.Siege createZonesCastleSiege() {
- return new Zones.Castle.Siege();
- }
+ /**
+ * Create an instance of {@link ZoneType.Point }
+ *
+ */
+ public ZoneType.Point createZoneTypePoint() {
+ return new ZoneType.Point();
+ }
- /**
- * Create an instance of {@link Teleports.Teleport.Restrictions }
- *
- */
- public Teleports.Teleport.Restrictions createTeleportsTeleportRestrictions() {
- return new Teleports.Teleport.Restrictions();
- }
+ /**
+ * Create an instance of {@link Zones.Castle.Siege }
+ *
+ */
+ public Zones.Castle.Siege createZonesCastleSiege() {
+ return new Zones.Castle.Siege();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Ai }
- *
- */
- public NPCTemplate.Ai createNPCTemplateAi() {
- return new NPCTemplate.Ai();
- }
+ /**
+ * Create an instance of {@link TeleportationTemplate.Restrictions }
+ *
+ */
+ public TeleportationTemplate.Restrictions createTeleportationTemplateRestrictions() {
+ return new TeleportationTemplate.Restrictions();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Skills.Skill }
- *
- */
- public NPCTemplate.Skills.Skill createNPCTemplateSkillsSkill() {
- return new NPCTemplate.Skills.Skill();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Ai }
+ *
+ */
+ public NPCTemplate.Ai createNPCTemplateAi() {
+ return new NPCTemplate.Ai();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Talk.Chat }
- *
- */
- public NPCTemplate.Talk.Chat createNPCTemplateTalkChat() {
- return new NPCTemplate.Talk.Chat();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Skills.Skill }
+ *
+ */
+ public NPCTemplate.Skills.Skill createNPCTemplateSkillsSkill() {
+ return new NPCTemplate.Skills.Skill();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Name }
- *
- */
- public NPCTemplate.Info.Name createNPCTemplateInfoName() {
- return new NPCTemplate.Info.Name();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Talk.Chat }
+ *
+ */
+ public NPCTemplate.Talk.Chat createNPCTemplateTalkChat() {
+ return new NPCTemplate.Talk.Chat();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Title }
- *
- */
- public NPCTemplate.Info.Title createNPCTemplateInfoTitle() {
- return new NPCTemplate.Info.Title();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Name }
+ *
+ */
+ public NPCTemplate.Info.Name createNPCTemplateInfoName() {
+ return new NPCTemplate.Info.Name();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Item }
- *
- */
- public NPCTemplate.Info.Item createNPCTemplateInfoItem() {
- return new NPCTemplate.Info.Item();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Title }
+ *
+ */
+ public NPCTemplate.Info.Title createNPCTemplateInfoTitle() {
+ return new NPCTemplate.Info.Title();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Collision }
- *
- */
- public NPCTemplate.Info.Collision createNPCTemplateInfoCollision() {
- return new NPCTemplate.Info.Collision();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Item }
+ *
+ */
+ public NPCTemplate.Info.Item createNPCTemplateInfoItem() {
+ return new NPCTemplate.Info.Item();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Hp }
- *
- */
- public NPCTemplate.Info.Stats.Hp createNPCTemplateInfoStatsHp() {
- return new NPCTemplate.Info.Stats.Hp();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Collision }
+ *
+ */
+ public NPCTemplate.Info.Collision createNPCTemplateInfoCollision() {
+ return new NPCTemplate.Info.Collision();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Mp }
- *
- */
- public NPCTemplate.Info.Stats.Mp createNPCTemplateInfoStatsMp() {
- return new NPCTemplate.Info.Stats.Mp();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Hp }
+ *
+ */
+ public NPCTemplate.Info.Stats.Hp createNPCTemplateInfoStatsHp() {
+ return new NPCTemplate.Info.Stats.Hp();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Move }
- *
- */
- public NPCTemplate.Info.Stats.Move createNPCTemplateInfoStatsMove() {
- return new NPCTemplate.Info.Stats.Move();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Mp }
+ *
+ */
+ public NPCTemplate.Info.Stats.Mp createNPCTemplateInfoStatsMp() {
+ return new NPCTemplate.Info.Stats.Mp();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Base }
- *
- */
- public NPCTemplate.Info.Stats.Base createNPCTemplateInfoStatsBase() {
- return new NPCTemplate.Info.Stats.Base();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Move }
+ *
+ */
+ public NPCTemplate.Info.Stats.Move createNPCTemplateInfoStatsMove() {
+ return new NPCTemplate.Info.Stats.Move();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Defense.Physical }
- *
- */
- public NPCTemplate.Info.Stats.Defense.Physical createNPCTemplateInfoStatsDefensePhysical() {
- return new NPCTemplate.Info.Stats.Defense.Physical();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Base }
+ *
+ */
+ public NPCTemplate.Info.Stats.Base createNPCTemplateInfoStatsBase() {
+ return new NPCTemplate.Info.Stats.Base();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Defense.Magical }
- *
- */
- public NPCTemplate.Info.Stats.Defense.Magical createNPCTemplateInfoStatsDefenseMagical() {
- return new NPCTemplate.Info.Stats.Defense.Magical();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Defense.Physical }
+ *
+ */
+ public NPCTemplate.Info.Stats.Defense.Physical createNPCTemplateInfoStatsDefensePhysical() {
+ return new NPCTemplate.Info.Stats.Defense.Physical();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Attack.Physical }
- *
- */
- public NPCTemplate.Info.Stats.Attack.Physical createNPCTemplateInfoStatsAttackPhysical() {
- return new NPCTemplate.Info.Stats.Attack.Physical();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Defense.Magical }
+ *
+ */
+ public NPCTemplate.Info.Stats.Defense.Magical createNPCTemplateInfoStatsDefenseMagical() {
+ return new NPCTemplate.Info.Stats.Defense.Magical();
+ }
- /**
- * Create an instance of {@link NPCTemplate.Info.Stats.Attack.Magical }
- *
- */
- public NPCTemplate.Info.Stats.Attack.Magical createNPCTemplateInfoStatsAttackMagical() {
- return new NPCTemplate.Info.Stats.Attack.Magical();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Attack.Physical }
+ *
+ */
+ public NPCTemplate.Info.Stats.Attack.Physical createNPCTemplateInfoStatsAttackPhysical() {
+ return new NPCTemplate.Info.Stats.Attack.Physical();
+ }
- /**
- * Create an instance of {@link ItemTemplate.Controller }
- *
- */
- public ItemTemplate.Controller createItemTemplateController() {
- return new ItemTemplate.Controller();
- }
+ /**
+ * Create an instance of {@link NPCTemplate.Info.Stats.Attack.Magical }
+ *
+ */
+ public NPCTemplate.Info.Stats.Attack.Magical createNPCTemplateInfoStatsAttackMagical() {
+ return new NPCTemplate.Info.Stats.Attack.Magical();
+ }
- /**
- * Create an instance of {@link ItemTemplate.Effect }
- *
- */
- public ItemTemplate.Effect createItemTemplateEffect() {
- return new ItemTemplate.Effect();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.Controller }
+ *
+ */
+ public ItemTemplate.Controller createItemTemplateController() {
+ return new ItemTemplate.Controller();
+ }
- /**
- * Create an instance of {@link ItemTemplate.EtcItem }
- *
- */
- public ItemTemplate.EtcItem createItemTemplateEtcItem() {
- return new ItemTemplate.EtcItem();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.Effect }
+ *
+ */
+ public ItemTemplate.Effect createItemTemplateEffect() {
+ return new ItemTemplate.Effect();
+ }
- /**
- * Create an instance of {@link ItemTemplate.Weapon }
- *
- */
- public ItemTemplate.Weapon createItemTemplateWeapon() {
- return new ItemTemplate.Weapon();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.EtcItem }
+ *
+ */
+ public ItemTemplate.EtcItem createItemTemplateEtcItem() {
+ return new ItemTemplate.EtcItem();
+ }
- /**
- * Create an instance of {@link ItemTemplate.Armor.Cost }
- *
- */
- public ItemTemplate.Armor.Cost createItemTemplateArmorCost() {
- return new ItemTemplate.Armor.Cost();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.Weapon }
+ *
+ */
+ public ItemTemplate.Weapon createItemTemplateWeapon() {
+ return new ItemTemplate.Weapon();
+ }
- /**
- * Create an instance of {@link ItemTemplate.Armor.Equipment }
- *
- */
- public ItemTemplate.Armor.Equipment createItemTemplateArmorEquipment() {
- return new ItemTemplate.Armor.Equipment();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.Armor.Cost }
+ *
+ */
+ public ItemTemplate.Armor.Cost createItemTemplateArmorCost() {
+ return new ItemTemplate.Armor.Cost();
+ }
- /**
- * Create an instance of {@link ItemTemplate.Attributes.Cost }
- *
- */
- public ItemTemplate.Attributes.Cost createItemTemplateAttributesCost() {
- return new ItemTemplate.Attributes.Cost();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.Armor.Equipment }
+ *
+ */
+ public ItemTemplate.Armor.Equipment createItemTemplateArmorEquipment() {
+ return new ItemTemplate.Armor.Equipment();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Collision.Male }
- *
- */
- public CharacterTemplate.Collision.Male createCharacterTemplateCollisionMale() {
- return new CharacterTemplate.Collision.Male();
- }
+ /**
+ * Create an instance of {@link ItemTemplate.Attributes.Cost }
+ *
+ */
+ public ItemTemplate.Attributes.Cost createItemTemplateAttributesCost() {
+ return new ItemTemplate.Attributes.Cost();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Collision.Female }
- *
- */
- public CharacterTemplate.Collision.Female createCharacterTemplateCollisionFemale() {
- return new CharacterTemplate.Collision.Female();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Collision.Male }
+ *
+ */
+ public CharacterTemplate.Collision.Male createCharacterTemplateCollisionMale() {
+ return new CharacterTemplate.Collision.Male();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Hp }
- *
- */
- public CharacterTemplate.Stats.Hp createCharacterTemplateStatsHp() {
- return new CharacterTemplate.Stats.Hp();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Collision.Female }
+ *
+ */
+ public CharacterTemplate.Collision.Female createCharacterTemplateCollisionFemale() {
+ return new CharacterTemplate.Collision.Female();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Mp }
- *
- */
- public CharacterTemplate.Stats.Mp createCharacterTemplateStatsMp() {
- return new CharacterTemplate.Stats.Mp();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Hp }
+ *
+ */
+ public CharacterTemplate.Stats.Hp createCharacterTemplateStatsHp() {
+ return new CharacterTemplate.Stats.Hp();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Cp }
- *
- */
- public CharacterTemplate.Stats.Cp createCharacterTemplateStatsCp() {
- return new CharacterTemplate.Stats.Cp();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Mp }
+ *
+ */
+ public CharacterTemplate.Stats.Mp createCharacterTemplateStatsMp() {
+ return new CharacterTemplate.Stats.Mp();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Move }
- *
- */
- public CharacterTemplate.Stats.Move createCharacterTemplateStatsMove() {
- return new CharacterTemplate.Stats.Move();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Cp }
+ *
+ */
+ public CharacterTemplate.Stats.Cp createCharacterTemplateStatsCp() {
+ return new CharacterTemplate.Stats.Cp();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Base }
- *
- */
- public CharacterTemplate.Stats.Base createCharacterTemplateStatsBase() {
- return new CharacterTemplate.Stats.Base();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Move }
+ *
+ */
+ public CharacterTemplate.Stats.Move createCharacterTemplateStatsMove() {
+ return new CharacterTemplate.Stats.Move();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Defense.Physical }
- *
- */
- public CharacterTemplate.Stats.Defense.Physical createCharacterTemplateStatsDefensePhysical() {
- return new CharacterTemplate.Stats.Defense.Physical();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Base }
+ *
+ */
+ public CharacterTemplate.Stats.Base createCharacterTemplateStatsBase() {
+ return new CharacterTemplate.Stats.Base();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Defense.Magical }
- *
- */
- public CharacterTemplate.Stats.Defense.Magical createCharacterTemplateStatsDefenseMagical() {
- return new CharacterTemplate.Stats.Defense.Magical();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Defense.Physical }
+ *
+ */
+ public CharacterTemplate.Stats.Defense.Physical createCharacterTemplateStatsDefensePhysical() {
+ return new CharacterTemplate.Stats.Defense.Physical();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Attack.Physical }
- *
- */
- public CharacterTemplate.Stats.Attack.Physical createCharacterTemplateStatsAttackPhysical() {
- return new CharacterTemplate.Stats.Attack.Physical();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Defense.Magical }
+ *
+ */
+ public CharacterTemplate.Stats.Defense.Magical createCharacterTemplateStatsDefenseMagical() {
+ return new CharacterTemplate.Stats.Defense.Magical();
+ }
- /**
- * Create an instance of {@link CharacterTemplate.Stats.Attack.Magical }
- *
- */
- public CharacterTemplate.Stats.Attack.Magical createCharacterTemplateStatsAttackMagical() {
- return new CharacterTemplate.Stats.Attack.Magical();
- }
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Attack.Physical }
+ *
+ */
+ public CharacterTemplate.Stats.Attack.Physical createCharacterTemplateStatsAttackPhysical() {
+ return new CharacterTemplate.Stats.Attack.Physical();
+ }
+
+ /**
+ * Create an instance of {@link CharacterTemplate.Stats.Attack.Magical }
+ *
+ */
+ public CharacterTemplate.Stats.Attack.Magical createCharacterTemplateStatsAttackMagical() {
+ return new CharacterTemplate.Stats.Attack.Magical();
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/SkillTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/SkillTemplate.java
index ed6bba3ac..1248bae2d 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/SkillTemplate.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/SkillTemplate.java
@@ -2,9 +2,10 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
@@ -13,17 +14,14 @@ import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
import com.l2jserver.model.id.template.SkillTemplateID;
import com.l2jserver.util.jaxb.SkillTemplateIDAdapter;
+
/**
- *
- * Java class for skill element declaration.
+ *
Java class for skill element declaration.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="skill">
@@ -46,109 +44,119 @@ import com.l2jserver.util.jaxb.SkillTemplateIDAdapter;
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = { "maximumLevel" })
+@XmlType(name = "", propOrder = {
+ "maximumLevel"
+})
@XmlRootElement(name = "skill", namespace = "http://schemas.l2jserver2.com/skill")
-public class SkillTemplate extends AbstractTemplate {
+public class SkillTemplate
+ extends AbstractTemplate
+{
- protected int maximumLevel;
- @XmlAttribute(name = "id", required = true)
- @XmlJavaTypeAdapter(SkillTemplateIDAdapter.class)
- protected SkillTemplateID id;
- @XmlAttribute(name = "name", required = true)
- protected String name;
- @XmlAttribute(name = "delay", required = true)
- protected int delay;
- @XmlAttribute(name = "cooldown", required = true)
- protected int cooldown;
+ protected int maximumLevel;
+ @XmlAttribute(name = "id", required = true)
+ @XmlJavaTypeAdapter(SkillTemplateIDAdapter.class)
+ protected SkillTemplateID id;
+ @XmlAttribute(name = "name", required = true)
+ protected String name;
+ @XmlAttribute(name = "delay", required = true)
+ protected int delay;
+ @XmlAttribute(name = "cooldown", required = true)
+ protected int cooldown;
- /**
- * Gets the value of the maximumLevel property.
- *
- */
- public int getMaximumLevel() {
- return maximumLevel;
- }
+ /**
+ * Gets the value of the maximumLevel property.
+ *
+ */
+ public int getMaximumLevel() {
+ return maximumLevel;
+ }
- /**
- * Sets the value of the maximumLevel property.
- *
- */
- public void setMaximumLevel(int value) {
- this.maximumLevel = value;
- }
+ /**
+ * Sets the value of the maximumLevel property.
+ *
+ */
+ public void setMaximumLevel(int value) {
+ this.maximumLevel = value;
+ }
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public SkillTemplateID getID() {
- return id;
- }
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public SkillTemplateID getID() {
+ return id;
+ }
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setID(SkillTemplateID value) {
- this.id = value;
- }
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setID(SkillTemplateID value) {
+ this.id = value;
+ }
- /**
- * Gets the value of the name property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getName() {
- return name;
- }
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
- /**
- * Gets the value of the delay property.
- *
- */
- public int getDelay() {
- return delay;
- }
+ /**
+ * Gets the value of the delay property.
+ *
+ */
+ public int getDelay() {
+ return delay;
+ }
- /**
- * Sets the value of the delay property.
- *
- */
- public void setDelay(int value) {
- this.delay = value;
- }
+ /**
+ * Sets the value of the delay property.
+ *
+ */
+ public void setDelay(int value) {
+ this.delay = value;
+ }
- /**
- * Gets the value of the cooldown property.
- *
- */
- public int getCooldown() {
- return cooldown;
- }
+ /**
+ * Gets the value of the cooldown property.
+ *
+ */
+ public int getCooldown() {
+ return cooldown;
+ }
- /**
- * Sets the value of the cooldown property.
- *
- */
- public void setCooldown(int value) {
- this.cooldown = value;
- }
+ /**
+ * Sets the value of the cooldown property.
+ *
+ */
+ public void setCooldown(int value) {
+ this.cooldown = value;
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TeleportationTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TeleportationTemplate.java
new file mode 100644
index 000000000..e931d9410
--- /dev/null
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TeleportationTemplate.java
@@ -0,0 +1,286 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
+// See http://java.sun.com/xml/jaxb
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
+//
+
+
+package com.l2jserver.model.template;
+
+import java.util.ArrayList;
+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.XmlType;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import com.l2jserver.model.id.template.TeleportationTemplateID;
+import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter;
+
+
+/**
+ * Java class for TeleportationTemplate complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType name="TeleportationTemplate">
+ * <complexContent>
+ * <extension base="{}AbstractTemplate">
+ * <sequence>
+ * <element name="point" type="{}Coordinate" minOccurs="0"/>
+ * <element name="restrictions" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="restriction" maxOccurs="unbounded">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="NOBLE"/>
+ * </restriction>
+ * </simpleType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/teleport}TeleportationTemplateID" />
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="item" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="price" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TeleportationTemplate", namespace = "http://schemas.l2jserver2.com/teleport", propOrder = {
+ "point",
+ "restrictions"
+})
+public class TeleportationTemplate
+ extends AbstractTemplate
+{
+
+ protected TemplateCoordinate point;
+ protected TeleportationTemplate.Restrictions restrictions;
+ @XmlAttribute(name = "id", required = true)
+ @XmlJavaTypeAdapter(TeleportationTemplateIDAdapter.class)
+ protected TeleportationTemplateID id;
+ @XmlAttribute(name = "name")
+ protected String name;
+ @XmlAttribute(name = "item")
+ protected Integer item;
+ @XmlAttribute(name = "price", required = true)
+ protected int price;
+
+ /**
+ * Gets the value of the point property.
+ *
+ * @return
+ * possible object is
+ * {@link TemplateCoordinate }
+ *
+ */
+ public TemplateCoordinate getPoint() {
+ return point;
+ }
+
+ /**
+ * Sets the value of the point property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TemplateCoordinate }
+ *
+ */
+ public void setPoint(TemplateCoordinate value) {
+ this.point = value;
+ }
+
+ /**
+ * Gets the value of the restrictions property.
+ *
+ * @return
+ * possible object is
+ * {@link TeleportationTemplate.Restrictions }
+ *
+ */
+ public TeleportationTemplate.Restrictions getRestrictions() {
+ return restrictions;
+ }
+
+ /**
+ * Sets the value of the restrictions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TeleportationTemplate.Restrictions }
+ *
+ */
+ public void setRestrictions(TeleportationTemplate.Restrictions value) {
+ this.restrictions = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public TeleportationTemplateID getID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setID(TeleportationTemplateID value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the item property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getItem() {
+ return item;
+ }
+
+ /**
+ * Sets the value of the item property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setItem(Integer value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the price property.
+ *
+ */
+ public int getPrice() {
+ return price;
+ }
+
+ /**
+ * Sets the value of the price property.
+ *
+ */
+ public void setPrice(int value) {
+ this.price = value;
+ }
+
+
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="restriction" maxOccurs="unbounded">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="NOBLE"/>
+ * </restriction>
+ * </simpleType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "restriction"
+ })
+ public static class Restrictions {
+
+ @XmlElement(required = true)
+ protected List restriction;
+
+ /**
+ * Gets the value of the restriction property.
+ *
+ *
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set method for the restriction property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ * getRestriction().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List getRestriction() {
+ if (restriction == null) {
+ restriction = new ArrayList();
+ }
+ return this.restriction;
+ }
+
+ }
+
+}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Teleports.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Teleports.java
index 4315993b4..289378f2f 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Teleports.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Teleports.java
@@ -2,70 +2,32 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import java.util.ArrayList;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-import com.l2jserver.model.id.template.TeleportationTemplateID;
-import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter;
/**
- *
- * Java class for anonymous complex type.
+ *
Java class for anonymous complex type.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
- * <element name="teleport" maxOccurs="unbounded">
- * <complexType>
- * <complexContent>
- * <extension base="{}AbstractTemplate">
- * <sequence>
- * <element name="point" type="{}Coordinate" minOccurs="0"/>
- * <element name="restrictions" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="restriction" maxOccurs="unbounded">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="NOBLE"/>
- * </restriction>
- * </simpleType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/teleport}TeleportationTemplateID" />
- * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="item" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="price" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </extension>
- * </complexContent>
- * </complexType>
- * </element>
+ * <element name="teleport" type="{http://schemas.l2jserver2.com/teleport}TeleportationTemplate" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
@@ -75,290 +37,42 @@ import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter;
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = { "teleport" })
+@XmlType(name = "", propOrder = {
+ "teleport"
+})
@XmlRootElement(name = "teleports", namespace = "http://schemas.l2jserver2.com/teleport")
public class Teleports {
- @XmlElement(required = true)
- protected List teleport;
+ @XmlElement(required = true)
+ protected List teleport;
- /**
- * Gets the value of the teleport property.
- *
- *
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list will
- * be present inside the JAXB object. This is why there is not a
- * set method for the teleport property.
- *
- *
- * For example, to add a new item, do as follows:
- *
- *
- * getTeleport().add(newItem);
- *
- *
- *
- *
- * Objects of the following type(s) are allowed in the list
- * {@link Teleports.Teleport }
- *
- *
- */
- public List getTeleport() {
- if (teleport == null) {
- teleport = new ArrayList();
- }
- return this.teleport;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <extension base="{}AbstractTemplate">
- * <sequence>
- * <element name="point" type="{}Coordinate" minOccurs="0"/>
- * <element name="restrictions" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="restriction" maxOccurs="unbounded">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="NOBLE"/>
- * </restriction>
- * </simpleType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/teleport}TeleportationTemplateID" />
- * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="item" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="price" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </extension>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "point", "restrictions" })
- public static class Teleport extends AbstractTemplate {
-
- protected Coordinate point;
- protected Teleports.Teleport.Restrictions restrictions;
- @XmlAttribute(name = "id", required = true)
- @XmlJavaTypeAdapter(TeleportationTemplateIDAdapter.class)
- protected TeleportationTemplateID id;
- @XmlAttribute(name = "name")
- protected String name;
- @XmlAttribute(name = "item")
- protected Integer item;
- @XmlAttribute(name = "price", required = true)
- protected int price;
-
- /**
- * Gets the value of the point property.
- *
- * @return possible object is {@link Coordinate }
- *
- */
- public Coordinate getPoint() {
- return point;
- }
-
- /**
- * Sets the value of the point property.
- *
- * @param value
- * allowed object is {@link Coordinate }
- *
- */
- public void setPoint(Coordinate value) {
- this.point = value;
- }
-
- /**
- * Gets the value of the restrictions property.
- *
- * @return possible object is {@link Teleports.Teleport.Restrictions }
- *
- */
- public Teleports.Teleport.Restrictions getRestrictions() {
- return restrictions;
- }
-
- /**
- * Sets the value of the restrictions property.
- *
- * @param value
- * allowed object is {@link Teleports.Teleport.Restrictions }
- *
- */
- public void setRestrictions(Teleports.Teleport.Restrictions value) {
- this.restrictions = value;
- }
-
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public TeleportationTemplateID getID() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setID(TeleportationTemplateID value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the item property.
- *
- * @return possible object is {@link Integer }
- *
- */
- public Integer getItem() {
- return item;
- }
-
- /**
- * Sets the value of the item property.
- *
- * @param value
- * allowed object is {@link Integer }
- *
- */
- public void setItem(Integer value) {
- this.item = value;
- }
-
- /**
- * Gets the value of the price property.
- *
- */
- public int getPrice() {
- return price;
- }
-
- /**
- * Sets the value of the price property.
- *
- */
- public void setPrice(int value) {
- this.price = value;
- }
-
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="restriction" maxOccurs="unbounded">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="NOBLE"/>
- * </restriction>
- * </simpleType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "restriction" })
- public static class Restrictions {
-
- @XmlElement(required = true)
- protected List restriction;
-
- /**
- * Gets the value of the restriction property.
- *
- *
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned
- * list will be present inside the JAXB object. This is why there is
- * not a set method for the restriction property.
- *
- *
- * For example, to add a new item, do as follows:
- *
- *
- * getRestriction().add(newItem);
- *
- *
- *
- *
- * Objects of the following type(s) are allowed in the list
- * {@link String }
- *
- *
- */
- public List getRestriction() {
- if (restriction == null) {
- restriction = new ArrayList();
- }
- return this.restriction;
- }
-
- }
-
- }
+ /**
+ * Gets the value of the teleport property.
+ *
+ *
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set method for the teleport property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ * getTeleport().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link TeleportationTemplate }
+ *
+ *
+ */
+ public List getTeleport() {
+ if (teleport == null) {
+ teleport = new ArrayList();
+ }
+ return this.teleport;
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Coordinate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TemplateCoordinate.java
old mode 100755
new mode 100644
similarity index 50%
rename from l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Coordinate.java
rename to l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TemplateCoordinate.java
index 33bb080cc..feb574460
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Coordinate.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TemplateCoordinate.java
@@ -2,9 +2,10 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
@@ -12,13 +13,11 @@ import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
+
/**
- *
- * Java class for Coordinate complex type.
+ *
Java class for Coordinate complex type.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Coordinate">
@@ -38,61 +37,61 @@ import javax.xml.bind.annotation.XmlType;
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Coordinate")
-public class Coordinate {
+public class TemplateCoordinate {
- @XmlAttribute(name = "x", required = true)
- protected int x;
- @XmlAttribute(name = "y", required = true)
- protected int y;
- @XmlAttribute(name = "z", required = true)
- protected int z;
+ @XmlAttribute(name = "x", required = true)
+ protected int x;
+ @XmlAttribute(name = "y", required = true)
+ protected int y;
+ @XmlAttribute(name = "z", required = true)
+ protected int z;
- /**
- * Gets the value of the x property.
- *
- */
- public int getX() {
- return x;
- }
+ /**
+ * Gets the value of the x property.
+ *
+ */
+ public int getX() {
+ return x;
+ }
- /**
- * Sets the value of the x property.
- *
- */
- public void setX(int value) {
- this.x = value;
- }
+ /**
+ * Sets the value of the x property.
+ *
+ */
+ public void setX(int value) {
+ this.x = value;
+ }
- /**
- * Gets the value of the y property.
- *
- */
- public int getY() {
- return y;
- }
+ /**
+ * Gets the value of the y property.
+ *
+ */
+ public int getY() {
+ return y;
+ }
- /**
- * Sets the value of the y property.
- *
- */
- public void setY(int value) {
- this.y = value;
- }
+ /**
+ * Sets the value of the y property.
+ *
+ */
+ public void setY(int value) {
+ this.y = value;
+ }
- /**
- * Gets the value of the z property.
- *
- */
- public int getZ() {
- return z;
- }
+ /**
+ * Gets the value of the z property.
+ *
+ */
+ public int getZ() {
+ return z;
+ }
- /**
- * Sets the value of the z property.
- *
- */
- public void setZ(int value) {
- this.z = value;
- }
+ /**
+ * Sets the value of the z property.
+ *
+ */
+ public void setZ(int value) {
+ this.z = value;
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ZoneType.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ZoneType.java
index 68535f987..9ae49768d 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ZoneType.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ZoneType.java
@@ -2,27 +2,25 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import java.util.ArrayList;
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.XmlType;
+
/**
- *
- * Java class for ZoneType complex type.
+ *
Java class for ZoneType complex type.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ZoneType">
@@ -51,129 +49,131 @@ import javax.xml.bind.annotation.XmlType;
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "ZoneType", namespace = "zones", propOrder = { "point" })
+@XmlType(name = "ZoneType", namespace = "zones", propOrder = {
+ "point"
+})
public class ZoneType {
- @XmlElement(required = true)
- protected List point;
- @XmlAttribute(name = "id", required = true)
- protected String id;
+ @XmlElement(required = true)
+ protected List point;
+ @XmlAttribute(name = "id", required = true)
+ protected String id;
- /**
- * Gets the value of the point property.
- *
- *
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list will
- * be present inside the JAXB object. This is why there is not a
- * set method for the point property.
- *
- *
- * For example, to add a new item, do as follows:
- *
- *
- * getPoint().add(newItem);
- *
- *
- *
- *
- * Objects of the following type(s) are allowed in the list
- * {@link ZoneType.Point }
- *
- *
- */
- public List getPoint() {
- if (point == null) {
- point = new ArrayList();
- }
- return this.point;
- }
+ /**
+ * Gets the value of the point property.
+ *
+ *
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set method for the point property.
+ *
+ *
+ * For example, to add a new item, do as follows:
+ *
+ * getPoint().add(newItem);
+ *
+ *
+ *
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link ZoneType.Point }
+ *
+ *
+ */
+ public List getPoint() {
+ if (point == null) {
+ point = new ArrayList();
+ }
+ return this.point;
+ }
- /**
- * Gets the value of the id property.
- *
- * @return possible object is {@link String }
- *
- */
- public String getId() {
- return id;
- }
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is {@link String }
- *
- */
- public void setId(String value) {
- this.id = value;
- }
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * </sequence>
- * <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- public static class Point {
- @XmlAttribute(name = "x", required = true)
- protected int x;
- @XmlAttribute(name = "y", required = true)
- protected int y;
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Point {
- /**
- * Gets the value of the x property.
- *
- */
- public int getX() {
- return x;
- }
+ @XmlAttribute(name = "x", required = true)
+ protected int x;
+ @XmlAttribute(name = "y", required = true)
+ protected int y;
- /**
- * Sets the value of the x property.
- *
- */
- public void setX(int value) {
- this.x = value;
- }
+ /**
+ * Gets the value of the x property.
+ *
+ */
+ public int getX() {
+ return x;
+ }
- /**
- * Gets the value of the y property.
- *
- */
- public int getY() {
- return y;
- }
+ /**
+ * Sets the value of the x property.
+ *
+ */
+ public void setX(int value) {
+ this.x = value;
+ }
- /**
- * Sets the value of the y property.
- *
- */
- public void setY(int value) {
- this.y = value;
- }
+ /**
+ * Gets the value of the y property.
+ *
+ */
+ public int getY() {
+ return y;
+ }
- }
+ /**
+ * Sets the value of the y property.
+ *
+ */
+ public void setY(int value) {
+ this.y = value;
+ }
+
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Zones.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Zones.java
index b6b65d91a..2152e3737 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Zones.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Zones.java
@@ -2,9 +2,10 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2012.03.25 at 01:03:28 PM BRT
+// Generated on: 2012.05.03 at 07:58:30 PM BRT
//
+
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
@@ -13,13 +14,11 @@ import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
+
/**
- *
- * Java class for anonymous complex type.
+ *
Java class for anonymous complex type.
*
- *
- * The following schema fragment specifies the expected content contained within
- * this class.
+ *
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
@@ -56,146 +55,157 @@ import javax.xml.bind.annotation.XmlType;
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = { "castle" })
+@XmlType(name = "", propOrder = {
+ "castle"
+})
@XmlRootElement(name = "zones", namespace = "zones")
public class Zones {
- @XmlElement(required = true)
- protected Zones.Castle castle;
+ @XmlElement(required = true)
+ protected Zones.Castle castle;
- /**
- * Gets the value of the castle property.
- *
- * @return possible object is {@link Zones.Castle }
- *
- */
- public Zones.Castle getCastle() {
- return castle;
- }
+ /**
+ * Gets the value of the castle property.
+ *
+ * @return
+ * possible object is
+ * {@link Zones.Castle }
+ *
+ */
+ public Zones.Castle getCastle() {
+ return castle;
+ }
- /**
- * Sets the value of the castle property.
- *
- * @param value
- * allowed object is {@link Zones.Castle }
- *
- */
- public void setCastle(Zones.Castle value) {
- this.castle = value;
- }
+ /**
+ * Sets the value of the castle property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Zones.Castle }
+ *
+ */
+ public void setCastle(Zones.Castle value) {
+ this.castle = value;
+ }
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="siege">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="zone" type="{zones}ZoneType"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "siege" })
- public static class Castle {
- @XmlElement(required = true)
- protected Zones.Castle.Siege siege;
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="siege">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="zone" type="{zones}ZoneType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "siege"
+ })
+ public static class Castle {
- /**
- * Gets the value of the siege property.
- *
- * @return possible object is {@link Zones.Castle.Siege }
- *
- */
- public Zones.Castle.Siege getSiege() {
- return siege;
- }
+ @XmlElement(required = true)
+ protected Zones.Castle.Siege siege;
- /**
- * Sets the value of the siege property.
- *
- * @param value
- * allowed object is {@link Zones.Castle.Siege }
- *
- */
- public void setSiege(Zones.Castle.Siege value) {
- this.siege = value;
- }
+ /**
+ * Gets the value of the siege property.
+ *
+ * @return
+ * possible object is
+ * {@link Zones.Castle.Siege }
+ *
+ */
+ public Zones.Castle.Siege getSiege() {
+ return siege;
+ }
- /**
- *
- * Java class for anonymous complex type.
- *
- *
- * The following schema fragment specifies the expected content
- * contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="zone" type="{zones}ZoneType"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "zone" })
- public static class Siege {
+ /**
+ * Sets the value of the siege property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Zones.Castle.Siege }
+ *
+ */
+ public void setSiege(Zones.Castle.Siege value) {
+ this.siege = value;
+ }
- @XmlElement(required = true)
- protected ZoneType zone;
- /**
- * Gets the value of the zone property.
- *
- * @return possible object is {@link ZoneType }
- *
- */
- public ZoneType getZone() {
- return zone;
- }
+ /**
+ * Java class for anonymous complex type.
+ *
+ *
The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="zone" type="{zones}ZoneType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "zone"
+ })
+ public static class Siege {
- /**
- * Sets the value of the zone property.
- *
- * @param value
- * allowed object is {@link ZoneType }
- *
- */
- public void setZone(ZoneType value) {
- this.zone = value;
- }
+ @XmlElement(required = true)
+ protected ZoneType zone;
- }
+ /**
+ * Gets the value of the zone property.
+ *
+ * @return
+ * possible object is
+ * {@link ZoneType }
+ *
+ */
+ public ZoneType getZone() {
+ return zone;
+ }
- }
+ /**
+ * Sets the value of the zone property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ZoneType }
+ *
+ */
+ public void setZone(ZoneType value) {
+ this.zone = value;
+ }
+
+ }
+
+ }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/id/template/TeleportationTemplateID.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/id/template/TeleportationTemplateID.java
index 2bdc1879f..9b49200a3 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/id/template/TeleportationTemplateID.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/id/template/TeleportationTemplateID.java
@@ -22,7 +22,7 @@ import com.google.inject.Inject;
import com.google.inject.assistedinject.Assisted;
import com.l2jserver.model.id.TemplateID;
import com.l2jserver.model.template.SkillTemplate;
-import com.l2jserver.model.template.npc.TeleportationTemplate;
+import com.l2jserver.model.template.TeleportationTemplate;
import com.l2jserver.service.game.template.TemplateService;
import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter;
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/template/npc/TeleportationTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/template/npc/TeleportationTemplate.java
deleted file mode 100755
index 4019d7808..000000000
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/template/npc/TeleportationTemplate.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*
- * This file is part of l2jserver2 .
- *
- * l2jserver2 is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * l2jserver2 is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with l2jserver2. If not, see .
- */
-package com.l2jserver.model.template.npc;
-
-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.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
-import com.l2jserver.model.id.template.ItemTemplateID;
-import com.l2jserver.model.id.template.TeleportationTemplateID;
-import com.l2jserver.model.template.AbstractTemplate;
-import com.l2jserver.util.geometry.Coordinate;
-import com.l2jserver.util.jaxb.CoordinateAdapter;
-import com.l2jserver.util.jaxb.ItemTemplateIDAdapter;
-import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter;
-
-/**
- * Template for effects
- *
- * @author Rogiel
- */
-@XmlRootElement(name = "teleport", namespace = "http://schemas.l2jserver2.com/teleport")
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(namespace = "http://schemas.l2jserver2.com/teleport", name = "TeleportType")
-public class TeleportationTemplate extends AbstractTemplate {
- /**
- * The teleportation template ID
- */
- @XmlAttribute(name = "id")
- @XmlJavaTypeAdapter(TeleportationTemplateIDAdapter.class)
- protected TeleportationTemplateID id;
- /**
- * The teleportation name
- */
- @XmlAttribute(name = "name")
- protected String name;
-
- /**
- * The teleportation cost item id
- */
- @XmlAttribute(name = "item", required = false)
- @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
- protected ItemTemplateID itemTemplateID;
- /**
- * The amount of items decreased
- */
- @XmlAttribute(name = "price", required = true)
- protected int price;
-
- /**
- * The teleportation point
- */
- @XmlElement(name = "point", required = false)
- @XmlJavaTypeAdapter(CoordinateAdapter.class)
- protected Coordinate coordinate;
-
- /**
- * The teleportation restrictions
- */
- @XmlElementWrapper(name = "restrictions", required = false)
- @XmlElement(name = "restriction", required = true)
- protected List restrictions;
-
- /**
- * Defines an teleport restriction
- *
- * @author Rogiel
- */
- @XmlType(name = "TeleportRestrictionType")
- public enum TeleportRestriction {
- /**
- * Only nobles can use this teleport
- */
- NOBLE;
- }
-
- /**
- * Create a new {@link Coordinate}
- *
- * @return the created object
- */
- public Coordinate create() {
- return coordinate;
- }
-
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
-
- /**
- * @return the id
- */
- public TeleportationTemplateID getId() {
- return id;
- }
-
- /**
- * @return the itemTemplateID
- */
- public ItemTemplateID getItemTemplateID() {
- return itemTemplateID;
- }
-
- /**
- * @return the price
- */
- public int getPrice() {
- return price;
- }
-
- /**
- * @return the coordinate
- */
- public Coordinate getCoordinate() {
- return coordinate;
- }
-
- @Override
- public TeleportationTemplateID getID() {
- return id;
- }
-}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/world/npc/controller/impl/TeleporterController.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/world/npc/controller/impl/TeleporterController.java
index 48f910cc0..d5c6a347a 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/world/npc/controller/impl/TeleporterController.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/world/npc/controller/impl/TeleporterController.java
@@ -18,12 +18,13 @@ package com.l2jserver.model.world.npc.controller.impl;
import com.google.inject.Inject;
import com.l2jserver.model.id.template.provider.TeleportationTemplateIDProvider;
-import com.l2jserver.model.template.npc.TeleportationTemplate;
+import com.l2jserver.model.template.TeleportationTemplate;
import com.l2jserver.model.world.L2Character;
import com.l2jserver.model.world.NPC;
import com.l2jserver.model.world.npc.BaseNPCController;
import com.l2jserver.service.game.spawn.SpawnService;
import com.l2jserver.util.exception.L2Exception;
+import com.l2jserver.util.geometry.Coordinate;
/**
* This controller is used to control teleporters (e.g. gatekeepers)
@@ -48,12 +49,14 @@ public class TeleporterController extends BaseNPCController {
if (args.length >= 2) {
switch (args[0]) {
case "goto":
- final TeleportationTemplate tele = teleportationIdProvider.resolveID(Integer.parseInt(args[1])).getTemplate();
+ final TeleportationTemplate tele = teleportationIdProvider
+ .resolveID(Integer.parseInt(args[1])).getTemplate();
if (tele == null) {
throw new NPCControllerException();
}
// TODO remove items from character inventory
- spawnService.teleport(character, tele.getCoordinate());
+ spawnService.teleport(character,
+ Coordinate.fromTemplateCoordinate(tele.getPoint()));
return;
}
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/service/game/template/XMLTemplateService.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/service/game/template/XMLTemplateService.java
index 63c37fa28..5abebc56e 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/service/game/template/XMLTemplateService.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/service/game/template/XMLTemplateService.java
@@ -32,11 +32,6 @@ import javax.xml.bind.JAXB;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.SchemaFactory;
@@ -54,7 +49,6 @@ import com.l2jserver.model.template.NPCTemplate;
import com.l2jserver.model.template.SkillTemplate;
import com.l2jserver.model.template.Teleports;
import com.l2jserver.model.template.Template;
-import com.l2jserver.model.template.npc.TeleportationTemplate;
import com.l2jserver.service.AbstractConfigurableService;
import com.l2jserver.service.AbstractService.Depends;
import com.l2jserver.service.ServiceStartException;
@@ -257,8 +251,11 @@ public class XMLTemplateService extends
* if any error occur while processing the XML
* @throws IOException
* if any error occur in the I/O level
+ * @throws ServiceStartException
+ * if the template type is not known
*/
- public void loadTemplate(Path path) throws JAXBException, IOException {
+ public void loadTemplate(Path path) throws JAXBException, IOException,
+ ServiceStartException {
Preconditions.checkNotNull(path, "path");
log.debug("Loading template {}", path);
final InputStream in = Files.newInputStream(path,
@@ -270,12 +267,15 @@ public class XMLTemplateService extends
log.debug("Template loaded: {}", template);
if (template.getID() != null)
templates.put(template.getID(), template);
- } else if (obj instanceof TeleportationTemplateContainer) {
- for (final Template template : ((TeleportationTemplateContainer) obj).templates) {
+ } else if (obj instanceof Teleports) {
+ for (final Template template : ((Teleports) obj).getTeleport()) {
log.debug("Template loaded: {}", template);
if (template.getID() != null)
templates.put(template.getID(), template);
}
+ } else {
+ throw new ServiceStartException(
+ "Unknown template container type: " + obj);
}
} finally {
// in.close();
@@ -301,20 +301,4 @@ public class XMLTemplateService extends
unmarshaller = null;
context = null;
}
-
- /**
- * The teleportation template container
- *
- * @author Rogiel
- */
- @XmlRootElement(name = "teleports", namespace = "http://schemas.l2jserver2.com/teleport")
- @XmlType(namespace = "http://schemas.l2jserver2.com/teleport", name = "TeleportsType")
- @XmlAccessorType(XmlAccessType.FIELD)
- public static class TeleportationTemplateContainer {
- /**
- * The list of all teleportation templates
- */
- @XmlElement(namespace = "http://schemas.l2jserver2.com/teleport", name = "teleport")
- public List templates;
- }
}
diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/util/geometry/Coordinate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/util/geometry/Coordinate.java
index ab58ba1ff..c21bd3480 100755
--- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/util/geometry/Coordinate.java
+++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/util/geometry/Coordinate.java
@@ -18,6 +18,8 @@ package com.l2jserver.util.geometry;
import org.apache.commons.math.geometry.Vector3D;
+import com.l2jserver.model.template.TemplateCoordinate;
+
/**
* Represents an coordinate in the game world.
*
@@ -106,6 +108,19 @@ public class Coordinate {
return new Coordinate(x, y, z);
}
+ /**
+ * Creates a new instance from the another {@link TemplateCoordinate}
+ *
+ * @param templateCoordinate
+ * the template coordinate
+ * @return the new {@link Coordinate} object created
+ */
+ public static Coordinate fromTemplateCoordinate(
+ TemplateCoordinate templateCoordinate) {
+ return fromXYZ(templateCoordinate.getX(), templateCoordinate.getY(),
+ templateCoordinate.getZ());
+ }
+
@Override
public String toString() {
return "Coordinate [" + vector + "]";
diff --git a/l2jserver2-tools/src/main/java/com/l2jserver/model/template/npc/NPCTemplateConverter.java b/l2jserver2-tools/src/main/java/com/l2jserver/model/template/NPCTemplateConverter.java
similarity index 95%
rename from l2jserver2-tools/src/main/java/com/l2jserver/model/template/npc/NPCTemplateConverter.java
rename to l2jserver2-tools/src/main/java/com/l2jserver/model/template/NPCTemplateConverter.java
index 5ddfab7f2..e5bfac15b 100644
--- a/l2jserver2-tools/src/main/java/com/l2jserver/model/template/npc/NPCTemplateConverter.java
+++ b/l2jserver2-tools/src/main/java/com/l2jserver/model/template/NPCTemplateConverter.java
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with l2jserver2. If not, see .
*/
-package com.l2jserver.model.template.npc;
+package com.l2jserver.model.template;
import java.io.File;
import java.io.FileOutputStream;
@@ -43,23 +43,20 @@ import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.id.template.SkillTemplateID;
import com.l2jserver.model.id.template.TeleportationTemplateID;
-import com.l2jserver.model.template.NPCTemplate;
import com.l2jserver.model.template.NPCTemplate.Droplist;
import com.l2jserver.model.template.NPCTemplate.Droplist.Item.DropCategory;
import com.l2jserver.model.template.NPCTemplate.Skills;
import com.l2jserver.model.template.NPCTemplate.Talk;
import com.l2jserver.model.template.NPCTemplate.Talk.Chat;
-import com.l2jserver.model.template.ObjectFactory;
+import com.l2jserver.model.template.TeleportationTemplate.Restrictions;
import com.l2jserver.model.template.actor.ActorSex;
-import com.l2jserver.model.template.npc.TeleportationTemplate.TeleportRestriction;
+import com.l2jserver.model.template.npc.NPCRace;
import com.l2jserver.model.world.npc.BaseNPCController;
import com.l2jserver.model.world.npc.NPCController;
import com.l2jserver.model.world.npc.controller.impl.MonsterController;
import com.l2jserver.model.world.npc.controller.impl.NotImplementedNPCController;
import com.l2jserver.model.world.npc.controller.impl.TeleporterController;
-import com.l2jserver.service.game.template.XMLTemplateService.TeleportationTemplateContainer;
import com.l2jserver.util.factory.CollectionFactory;
-import com.l2jserver.util.geometry.Coordinate;
import com.sun.org.apache.xml.internal.serialize.OutputFormat;
import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
@@ -76,7 +73,7 @@ public class NPCTemplateConverter {
private static List templates = CollectionFactory.newList();
private static Collection htmlScannedFiles;
- private static TeleportationTemplateContainer teleportation = new TeleportationTemplateContainer();
+ private static Teleports teleportation = new Teleports();
public static void main(String[] args) throws SQLException, IOException,
ClassNotFoundException, JAXBException {
@@ -94,13 +91,13 @@ public class NPCTemplateConverter {
"html", "htm" }, true);
final JAXBContext c = JAXBContext.newInstance(NPCTemplate.class,
- TeleportationTemplateContainer.class);
+ Teleports.class);
final Connection conn = DriverManager.getConnection(JDBC_URL,
JDBC_USERNAME, JDBC_PASSWORD);
{
System.out.println("Converting teleport templates...");
- teleportation.templates = CollectionFactory.newList();
+ teleportation.teleport = CollectionFactory.newList();
final Marshaller m = c.createMarshaller();
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
@@ -114,16 +111,18 @@ public class NPCTemplateConverter {
template.id = new TeleportationTemplateID(rs.getInt("id"), null);
template.name = rs.getString("Description");
- template.coordinate = Coordinate.fromXYZ(rs.getInt("loc_x"),
- rs.getInt("loc_y"), rs.getInt("loc_z"));
+ TemplateCoordinate coord = new TemplateCoordinate();
+ coord.x = rs.getInt("loc_x");
+ coord.y = rs.getInt("loc_y");
+ coord.z = rs.getInt("loc_z");
+ template.point = coord;
template.price = rs.getInt("price");
- template.itemTemplateID = new ItemTemplateID(
- rs.getInt("itemId"), null);
+ template.item = rs.getInt("itemId");
if (rs.getBoolean("fornoble")) {
- template.restrictions = Arrays
- .asList(TeleportRestriction.NOBLE);
+ template.restrictions = new Restrictions();
+ template.restrictions.restriction = Arrays.asList("NOBLE");
}
- teleportation.templates.add(template);
+ teleportation.teleport.add(template);
}
m.marshal(teleportation, getXMLSerializer(new FileOutputStream(
new File(target, "../teleports.xml"))));