mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-05 23:22:47 +00:00
Fixes issue loading teleportation templates
This commit is contained in:
@@ -9,7 +9,8 @@
|
|||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
<xs:appinfo>
|
<xs:appinfo>
|
||||||
<xjc:superClass name="com.l2jserver.model.template.Template" />
|
<xjc:superClass name="com.l2jserver.model.template.Template" />
|
||||||
<inheritance:implements>com.l2jserver.model.template.Template</inheritance:implements>
|
<inheritance:implements>com.l2jserver.model.template.Template
|
||||||
|
</inheritance:implements>
|
||||||
</xs:appinfo>
|
</xs:appinfo>
|
||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
<xs:sequence />
|
<xs:sequence />
|
||||||
@@ -27,11 +28,11 @@
|
|||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
|
|
||||||
<xs:complexType name="Coordinate">
|
<xs:complexType name="Coordinate">
|
||||||
<!-- <xs:annotation> -->
|
<xs:annotation>
|
||||||
<!-- <xs:appinfo> -->
|
<xs:appinfo>
|
||||||
<!-- <jaxb:javaType name="com.l2jserver.util.geometry.Coordinate" /> -->
|
<jaxb:class name="TemplateCoordinate" />
|
||||||
<!-- </xs:appinfo> -->
|
</xs:appinfo>
|
||||||
<!-- </xs:annotation> -->
|
</xs:annotation>
|
||||||
<xs:sequence />
|
<xs:sequence />
|
||||||
<xs:attribute name="x" type="xs:int" use="required" />
|
<xs:attribute name="x" type="xs:int" use="required" />
|
||||||
<xs:attribute name="y" type="xs:int" use="required" />
|
<xs:attribute name="y" type="xs:int" use="required" />
|
||||||
|
|||||||
@@ -18,16 +18,16 @@
|
|||||||
<xs:restriction base="TemplateID" />
|
<xs:restriction base="TemplateID" />
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
|
|
||||||
<xs:element name="teleports">
|
<xs:complexType name="TeleportationTemplate">
|
||||||
<xs:complexType>
|
<xs:annotation>
|
||||||
<xs:sequence>
|
<xs:appinfo>
|
||||||
<xs:element name="teleport" minOccurs="1" maxOccurs="unbounded">
|
<jaxb:class name="TeleportationTemplate" />
|
||||||
<xs:complexType>
|
</xs:appinfo>
|
||||||
|
</xs:annotation>
|
||||||
<xs:complexContent>
|
<xs:complexContent>
|
||||||
<xs:extension base="AbstractTemplate">
|
<xs:extension base="AbstractTemplate">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="point" type="Coordinate"
|
<xs:element name="point" type="Coordinate" minOccurs="0" />
|
||||||
minOccurs="0" />
|
|
||||||
<xs:element name="restrictions" minOccurs="0">
|
<xs:element name="restrictions" minOccurs="0">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
@@ -56,7 +56,12 @@
|
|||||||
</xs:extension>
|
</xs:extension>
|
||||||
</xs:complexContent>
|
</xs:complexContent>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
|
||||||
|
<xs:element name="teleports">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="teleport" type="ths:TeleportationTemplate"
|
||||||
|
minOccurs="1" maxOccurs="unbounded" />
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|||||||
@@ -5,33 +5,9 @@
|
|||||||
This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
Any modifications to this file will be lost upon recompilation of the source schema.
|
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
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/item">
|
|
||||||
<jaxb:schemaBindings map="false">
|
|
||||||
<jaxb:package name="com.l2jserver.model.template"/>
|
|
||||||
</jaxb:schemaBindings>
|
|
||||||
<jaxb:bindings scd="tns:item">
|
|
||||||
<jaxb:class ref="com.l2jserver.model.template.ItemTemplate"/>
|
|
||||||
</jaxb:bindings>
|
|
||||||
</jaxb:bindings>
|
|
||||||
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/npc">
|
|
||||||
<jaxb:schemaBindings map="false">
|
|
||||||
<jaxb:package name="com.l2jserver.model.template"/>
|
|
||||||
</jaxb:schemaBindings>
|
|
||||||
<jaxb:bindings scd="tns:npc">
|
|
||||||
<jaxb:class ref="com.l2jserver.model.template.NPCTemplate"/>
|
|
||||||
</jaxb:bindings>
|
|
||||||
</jaxb:bindings>
|
|
||||||
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/teleport">
|
|
||||||
<jaxb:schemaBindings map="false">
|
|
||||||
<jaxb:package name="com.l2jserver.model.template"/>
|
|
||||||
</jaxb:schemaBindings>
|
|
||||||
<jaxb:bindings scd="tns:teleports">
|
|
||||||
<jaxb:class ref="com.l2jserver.model.template.Teleports"/>
|
|
||||||
</jaxb:bindings>
|
|
||||||
</jaxb:bindings>
|
|
||||||
<jaxb:bindings scd="x-schema::">
|
<jaxb:bindings scd="x-schema::">
|
||||||
<jaxb:schemaBindings map="false">
|
<jaxb:schemaBindings map="false">
|
||||||
<jaxb:package name="com.l2jserver.model.template"/>
|
<jaxb:package name="com.l2jserver.model.template"/>
|
||||||
@@ -43,7 +19,7 @@ Generated on: 2012.03.25 at 01:03:28 PM BRT
|
|||||||
<jaxb:class ref="com.l2jserver.model.template.AbstractTemplate"/>
|
<jaxb:class ref="com.l2jserver.model.template.AbstractTemplate"/>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
<jaxb:bindings scd="~Coordinate">
|
<jaxb:bindings scd="~Coordinate">
|
||||||
<jaxb:class ref="com.l2jserver.model.template.Coordinate"/>
|
<jaxb:class ref="com.l2jserver.model.template.TemplateCoordinate"/>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
<jaxb:bindings scd="~ActorTemplate">
|
<jaxb:bindings scd="~ActorTemplate">
|
||||||
<jaxb:class ref="com.l2jserver.model.template.ActorTemplate"/>
|
<jaxb:class ref="com.l2jserver.model.template.ActorTemplate"/>
|
||||||
@@ -52,6 +28,14 @@ Generated on: 2012.03.25 at 01:03:28 PM BRT
|
|||||||
<jaxb:class ref="com.l2jserver.model.template.CalculatorFunctionOperation"/>
|
<jaxb:class ref="com.l2jserver.model.template.CalculatorFunctionOperation"/>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
|
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/npc">
|
||||||
|
<jaxb:schemaBindings map="false">
|
||||||
|
<jaxb:package name="com.l2jserver.model.template"/>
|
||||||
|
</jaxb:schemaBindings>
|
||||||
|
<jaxb:bindings scd="tns:npc">
|
||||||
|
<jaxb:class ref="com.l2jserver.model.template.NPCTemplate"/>
|
||||||
|
</jaxb:bindings>
|
||||||
|
</jaxb:bindings>
|
||||||
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/character">
|
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/character">
|
||||||
<jaxb:schemaBindings map="false">
|
<jaxb:schemaBindings map="false">
|
||||||
<jaxb:package name="com.l2jserver.model.template"/>
|
<jaxb:package name="com.l2jserver.model.template"/>
|
||||||
@@ -60,14 +44,6 @@ Generated on: 2012.03.25 at 01:03:28 PM BRT
|
|||||||
<jaxb:class ref="com.l2jserver.model.template.CharacterTemplate"/>
|
<jaxb:class ref="com.l2jserver.model.template.CharacterTemplate"/>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/skill">
|
|
||||||
<jaxb:schemaBindings map="false">
|
|
||||||
<jaxb:package name="com.l2jserver.model.template"/>
|
|
||||||
</jaxb:schemaBindings>
|
|
||||||
<jaxb:bindings scd="tns:skill">
|
|
||||||
<jaxb:class ref="com.l2jserver.model.template.SkillTemplate"/>
|
|
||||||
</jaxb:bindings>
|
|
||||||
</jaxb:bindings>
|
|
||||||
<jaxb:bindings scd="x-schema::tns" xmlns:tns="zones">
|
<jaxb:bindings scd="x-schema::tns" xmlns:tns="zones">
|
||||||
<jaxb:schemaBindings map="false">
|
<jaxb:schemaBindings map="false">
|
||||||
<jaxb:package name="com.l2jserver.model.template"/>
|
<jaxb:package name="com.l2jserver.model.template"/>
|
||||||
@@ -79,5 +55,32 @@ Generated on: 2012.03.25 at 01:03:28 PM BRT
|
|||||||
<jaxb:class ref="com.l2jserver.model.template.ZoneType"/>
|
<jaxb:class ref="com.l2jserver.model.template.ZoneType"/>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
|
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/item">
|
||||||
|
<jaxb:schemaBindings map="false">
|
||||||
|
<jaxb:package name="com.l2jserver.model.template"/>
|
||||||
|
</jaxb:schemaBindings>
|
||||||
|
<jaxb:bindings scd="tns:item">
|
||||||
|
<jaxb:class ref="com.l2jserver.model.template.ItemTemplate"/>
|
||||||
|
</jaxb:bindings>
|
||||||
|
</jaxb:bindings>
|
||||||
|
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/skill">
|
||||||
|
<jaxb:schemaBindings map="false">
|
||||||
|
<jaxb:package name="com.l2jserver.model.template"/>
|
||||||
|
</jaxb:schemaBindings>
|
||||||
|
<jaxb:bindings scd="tns:skill">
|
||||||
|
<jaxb:class ref="com.l2jserver.model.template.SkillTemplate"/>
|
||||||
|
</jaxb:bindings>
|
||||||
|
</jaxb:bindings>
|
||||||
|
<jaxb:bindings scd="x-schema::tns" xmlns:tns="http://schemas.l2jserver2.com/teleport">
|
||||||
|
<jaxb:schemaBindings map="false">
|
||||||
|
<jaxb:package name="com.l2jserver.model.template"/>
|
||||||
|
</jaxb:schemaBindings>
|
||||||
|
<jaxb:bindings scd="~tns:TeleportationTemplate">
|
||||||
|
<jaxb:class ref="com.l2jserver.model.template.TeleportationTemplate"/>
|
||||||
|
</jaxb:bindings>
|
||||||
|
<jaxb:bindings scd="tns:teleports">
|
||||||
|
<jaxb:class ref="com.l2jserver.model.template.Teleports"/>
|
||||||
|
</jaxb:bindings>
|
||||||
|
</jaxb:bindings>
|
||||||
</jaxb:bindings>
|
</jaxb:bindings>
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
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.XmlSeeAlso;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for AbstractTemplate complex type.
|
||||||
* Java class for AbstractTemplate complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="AbstractTemplate">
|
* <complexType name="AbstractTemplate">
|
||||||
@@ -35,8 +34,15 @@ import javax.xml.bind.annotation.XmlType;
|
|||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "AbstractTemplate")
|
@XmlType(name = "AbstractTemplate")
|
||||||
@XmlSeeAlso({ ItemTemplate.class, ActorTemplate.class, SkillTemplate.class,
|
@XmlSeeAlso({
|
||||||
com.l2jserver.model.template.Teleports.Teleport.class })
|
ItemTemplate.class,
|
||||||
public abstract class AbstractTemplate implements Template {
|
ActorTemplate.class,
|
||||||
|
SkillTemplate.class,
|
||||||
|
TeleportationTemplate.class
|
||||||
|
})
|
||||||
|
public abstract class AbstractTemplate
|
||||||
|
implements Template
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
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.XmlSeeAlso;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for ActorTemplate complex type.
|
||||||
* Java class for ActorTemplate complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="ActorTemplate">
|
* <complexType name="ActorTemplate">
|
||||||
@@ -33,7 +32,13 @@ import javax.xml.bind.annotation.XmlType;
|
|||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "ActorTemplate")
|
@XmlType(name = "ActorTemplate")
|
||||||
@XmlSeeAlso({ CharacterTemplate.class, NPCTemplate.class })
|
@XmlSeeAlso({
|
||||||
public abstract class ActorTemplate extends AbstractTemplate {
|
CharacterTemplate.class,
|
||||||
|
NPCTemplate.class
|
||||||
|
})
|
||||||
|
public abstract class ActorTemplate
|
||||||
|
extends AbstractTemplate
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,22 +2,21 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for CalculatorFunction complex type.
|
||||||
* Java class for CalculatorFunction complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="CalculatorFunction">
|
* <complexType name="CalculatorFunction">
|
||||||
@@ -37,8 +36,12 @@ import javax.xml.bind.annotation.XmlType;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "CalculatorFunction", propOrder = { "set", "add", "subtract",
|
@XmlType(name = "CalculatorFunction", propOrder = {
|
||||||
"random" })
|
"set",
|
||||||
|
"add",
|
||||||
|
"subtract",
|
||||||
|
"random"
|
||||||
|
})
|
||||||
public class CalculatorFunction {
|
public class CalculatorFunction {
|
||||||
|
|
||||||
protected CalculatorFunctionOperation set;
|
protected CalculatorFunctionOperation set;
|
||||||
@@ -49,7 +52,9 @@ public class CalculatorFunction {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the set property.
|
* Gets the value of the set property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CalculatorFunctionOperation }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CalculatorFunctionOperation }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CalculatorFunctionOperation getSet() {
|
public CalculatorFunctionOperation getSet() {
|
||||||
@@ -60,7 +65,8 @@ public class CalculatorFunction {
|
|||||||
* Sets the value of the set property.
|
* Sets the value of the set property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CalculatorFunctionOperation }
|
* allowed object is
|
||||||
|
* {@link CalculatorFunctionOperation }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setSet(CalculatorFunctionOperation value) {
|
public void setSet(CalculatorFunctionOperation value) {
|
||||||
@@ -70,7 +76,9 @@ public class CalculatorFunction {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the add property.
|
* Gets the value of the add property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CalculatorFunctionOperation }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CalculatorFunctionOperation }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CalculatorFunctionOperation getAdd() {
|
public CalculatorFunctionOperation getAdd() {
|
||||||
@@ -81,7 +89,8 @@ public class CalculatorFunction {
|
|||||||
* Sets the value of the add property.
|
* Sets the value of the add property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CalculatorFunctionOperation }
|
* allowed object is
|
||||||
|
* {@link CalculatorFunctionOperation }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setAdd(CalculatorFunctionOperation value) {
|
public void setAdd(CalculatorFunctionOperation value) {
|
||||||
@@ -91,7 +100,9 @@ public class CalculatorFunction {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the subtract property.
|
* Gets the value of the subtract property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CalculatorFunctionOperation }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CalculatorFunctionOperation }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CalculatorFunctionOperation getSubtract() {
|
public CalculatorFunctionOperation getSubtract() {
|
||||||
@@ -102,7 +113,8 @@ public class CalculatorFunction {
|
|||||||
* Sets the value of the subtract property.
|
* Sets the value of the subtract property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CalculatorFunctionOperation }
|
* allowed object is
|
||||||
|
* {@link CalculatorFunctionOperation }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setSubtract(CalculatorFunctionOperation value) {
|
public void setSubtract(CalculatorFunctionOperation value) {
|
||||||
@@ -112,7 +124,9 @@ public class CalculatorFunction {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the random property.
|
* Gets the value of the random property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CalculatorFunctionOperation }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CalculatorFunctionOperation }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CalculatorFunctionOperation getRandom() {
|
public CalculatorFunctionOperation getRandom() {
|
||||||
@@ -123,7 +137,8 @@ public class CalculatorFunction {
|
|||||||
* Sets the value of the random property.
|
* Sets the value of the random property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CalculatorFunctionOperation }
|
* allowed object is
|
||||||
|
* {@link CalculatorFunctionOperation }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setRandom(CalculatorFunctionOperation value) {
|
public void setRandom(CalculatorFunctionOperation value) {
|
||||||
|
|||||||
@@ -2,25 +2,23 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for CalculatorFunctionOperation complex type.
|
||||||
* Java class for CalculatorFunctionOperation complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="CalculatorFunctionOperation">
|
* <complexType name="CalculatorFunctionOperation">
|
||||||
@@ -47,7 +45,9 @@ public class CalculatorFunctionOperation {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the order property.
|
* Gets the value of the order property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link BigInteger }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link BigInteger }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public BigInteger getOrder() {
|
public BigInteger getOrder() {
|
||||||
@@ -58,7 +58,8 @@ public class CalculatorFunctionOperation {
|
|||||||
* Sets the value of the order property.
|
* Sets the value of the order property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link BigInteger }
|
* allowed object is
|
||||||
|
* {@link BigInteger }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setOrder(BigInteger value) {
|
public void setOrder(BigInteger value) {
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
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.XmlRootElement;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||||
|
|
||||||
import com.l2jserver.model.id.template.CharacterTemplateID;
|
import com.l2jserver.model.id.template.CharacterTemplateID;
|
||||||
import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter;
|
import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for character element declaration.
|
||||||
* Java class for character element declaration.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <element name="character">
|
* <element name="character">
|
||||||
@@ -226,9 +224,14 @@ import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "stats", "collision" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"stats",
|
||||||
|
"collision"
|
||||||
|
})
|
||||||
@XmlRootElement(name = "character", namespace = "http://schemas.l2jserver2.com/character")
|
@XmlRootElement(name = "character", namespace = "http://schemas.l2jserver2.com/character")
|
||||||
public class CharacterTemplate extends ActorTemplate {
|
public class CharacterTemplate
|
||||||
|
extends ActorTemplate
|
||||||
|
{
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
protected CharacterTemplate.Stats stats;
|
protected CharacterTemplate.Stats stats;
|
||||||
@@ -241,7 +244,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the stats property.
|
* Gets the value of the stats property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Stats }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Stats }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Stats getStats() {
|
public CharacterTemplate.Stats getStats() {
|
||||||
@@ -252,7 +257,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the stats property.
|
* Sets the value of the stats property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Stats }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Stats }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setStats(CharacterTemplate.Stats value) {
|
public void setStats(CharacterTemplate.Stats value) {
|
||||||
@@ -262,7 +268,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the collision property.
|
* Gets the value of the collision property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Collision }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Collision }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Collision getCollision() {
|
public CharacterTemplate.Collision getCollision() {
|
||||||
@@ -273,7 +281,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the collision property.
|
* Sets the value of the collision property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Collision }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Collision }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setCollision(CharacterTemplate.Collision value) {
|
public void setCollision(CharacterTemplate.Collision value) {
|
||||||
@@ -283,7 +292,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the id property.
|
* Gets the value of the id property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplateID getID() {
|
public CharacterTemplateID getID() {
|
||||||
@@ -294,20 +305,19 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the id property.
|
* Sets the value of the id property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setID(CharacterTemplateID value) {
|
public void setID(CharacterTemplateID value) {
|
||||||
this.id = value;
|
this.id = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -347,7 +357,10 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "male", "female" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"male",
|
||||||
|
"female"
|
||||||
|
})
|
||||||
public static class Collision {
|
public static class Collision {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -358,7 +371,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the male property.
|
* Gets the value of the male property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Collision.Male }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Collision.Male }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Collision.Male getMale() {
|
public CharacterTemplate.Collision.Male getMale() {
|
||||||
@@ -369,7 +384,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the male property.
|
* Sets the value of the male property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Collision.Male }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Collision.Male }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setMale(CharacterTemplate.Collision.Male value) {
|
public void setMale(CharacterTemplate.Collision.Male value) {
|
||||||
@@ -379,7 +395,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the female property.
|
* Gets the value of the female property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Collision.Female }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Collision.Female }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Collision.Female getFemale() {
|
public CharacterTemplate.Collision.Female getFemale() {
|
||||||
@@ -398,13 +416,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
this.female = value;
|
this.female = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -464,13 +480,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -532,13 +546,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -693,8 +705,16 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "hp", "mp", "cp", "attack", "defense",
|
@XmlType(name = "", propOrder = {
|
||||||
"move", "base", "maxload" })
|
"hp",
|
||||||
|
"mp",
|
||||||
|
"cp",
|
||||||
|
"attack",
|
||||||
|
"defense",
|
||||||
|
"move",
|
||||||
|
"base",
|
||||||
|
"maxload"
|
||||||
|
})
|
||||||
public static class Stats {
|
public static class Stats {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -720,7 +740,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the hp property.
|
* Gets the value of the hp property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Stats.Hp }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Stats.Hp }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Stats.Hp getHp() {
|
public CharacterTemplate.Stats.Hp getHp() {
|
||||||
@@ -731,7 +753,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the hp property.
|
* Sets the value of the hp property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Stats.Hp }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Stats.Hp }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setHp(CharacterTemplate.Stats.Hp value) {
|
public void setHp(CharacterTemplate.Stats.Hp value) {
|
||||||
@@ -741,7 +764,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the mp property.
|
* Gets the value of the mp property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Stats.Mp }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Stats.Mp }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Stats.Mp getMp() {
|
public CharacterTemplate.Stats.Mp getMp() {
|
||||||
@@ -752,7 +777,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the mp property.
|
* Sets the value of the mp property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Stats.Mp }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Stats.Mp }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setMp(CharacterTemplate.Stats.Mp value) {
|
public void setMp(CharacterTemplate.Stats.Mp value) {
|
||||||
@@ -762,7 +788,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the cp property.
|
* Gets the value of the cp property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Stats.Cp }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Stats.Cp }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Stats.Cp getCp() {
|
public CharacterTemplate.Stats.Cp getCp() {
|
||||||
@@ -773,7 +801,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the cp property.
|
* Sets the value of the cp property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Stats.Cp }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Stats.Cp }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setCp(CharacterTemplate.Stats.Cp value) {
|
public void setCp(CharacterTemplate.Stats.Cp value) {
|
||||||
@@ -783,7 +812,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the attack property.
|
* Gets the value of the attack property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Stats.Attack }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Stats.Attack }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Stats.Attack getAttack() {
|
public CharacterTemplate.Stats.Attack getAttack() {
|
||||||
@@ -794,7 +825,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the attack property.
|
* Sets the value of the attack property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Stats.Attack }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Stats.Attack }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setAttack(CharacterTemplate.Stats.Attack value) {
|
public void setAttack(CharacterTemplate.Stats.Attack value) {
|
||||||
@@ -804,7 +836,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the defense property.
|
* Gets the value of the defense property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Stats.Defense }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Stats.Defense }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Stats.Defense getDefense() {
|
public CharacterTemplate.Stats.Defense getDefense() {
|
||||||
@@ -815,7 +849,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the defense property.
|
* Sets the value of the defense property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Stats.Defense }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Stats.Defense }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setDefense(CharacterTemplate.Stats.Defense value) {
|
public void setDefense(CharacterTemplate.Stats.Defense value) {
|
||||||
@@ -825,7 +860,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the move property.
|
* Gets the value of the move property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Stats.Move }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Stats.Move }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Stats.Move getMove() {
|
public CharacterTemplate.Stats.Move getMove() {
|
||||||
@@ -836,7 +873,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the move property.
|
* Sets the value of the move property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Stats.Move }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Stats.Move }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setMove(CharacterTemplate.Stats.Move value) {
|
public void setMove(CharacterTemplate.Stats.Move value) {
|
||||||
@@ -846,7 +884,9 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the base property.
|
* Gets the value of the base property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CharacterTemplate.Stats.Base }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CharacterTemplate.Stats.Base }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CharacterTemplate.Stats.Base getBase() {
|
public CharacterTemplate.Stats.Base getBase() {
|
||||||
@@ -857,7 +897,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* Sets the value of the base property.
|
* Sets the value of the base property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CharacterTemplate.Stats.Base }
|
* allowed object is
|
||||||
|
* {@link CharacterTemplate.Stats.Base }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setBase(CharacterTemplate.Stats.Base value) {
|
public void setBase(CharacterTemplate.Stats.Base value) {
|
||||||
@@ -912,13 +953,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
this.crafter = value;
|
this.crafter = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -961,7 +1000,10 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "physical", "magical" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"physical",
|
||||||
|
"magical"
|
||||||
|
})
|
||||||
public static class Attack {
|
public static class Attack {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -978,7 +1020,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the physical property.
|
* Gets the value of the physical property.
|
||||||
*
|
*
|
||||||
* @return possible object is
|
* @return
|
||||||
|
* possible object is
|
||||||
* {@link CharacterTemplate.Stats.Attack.Physical }
|
* {@link CharacterTemplate.Stats.Attack.Physical }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -994,15 +1037,15 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* {@link CharacterTemplate.Stats.Attack.Physical }
|
* {@link CharacterTemplate.Stats.Attack.Physical }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setPhysical(
|
public void setPhysical(CharacterTemplate.Stats.Attack.Physical value) {
|
||||||
CharacterTemplate.Stats.Attack.Physical value) {
|
|
||||||
this.physical = value;
|
this.physical = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the value of the magical property.
|
* Gets the value of the magical property.
|
||||||
*
|
*
|
||||||
* @return possible object is
|
* @return
|
||||||
|
* possible object is
|
||||||
* {@link CharacterTemplate.Stats.Attack.Magical }
|
* {@link CharacterTemplate.Stats.Attack.Magical }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -1070,13 +1113,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
this.accuracy = value;
|
this.accuracy = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1136,13 +1177,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1204,13 +1243,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1346,13 +1383,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1431,13 +1466,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1475,7 +1508,10 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "physical", "magical" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"physical",
|
||||||
|
"magical"
|
||||||
|
})
|
||||||
public static class Defense {
|
public static class Defense {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -1486,7 +1522,8 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the physical property.
|
* Gets the value of the physical property.
|
||||||
*
|
*
|
||||||
* @return possible object is
|
* @return
|
||||||
|
* possible object is
|
||||||
* {@link CharacterTemplate.Stats.Defense.Physical }
|
* {@link CharacterTemplate.Stats.Defense.Physical }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -1502,15 +1539,15 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
* {@link CharacterTemplate.Stats.Defense.Physical }
|
* {@link CharacterTemplate.Stats.Defense.Physical }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setPhysical(
|
public void setPhysical(CharacterTemplate.Stats.Defense.Physical value) {
|
||||||
CharacterTemplate.Stats.Defense.Physical value) {
|
|
||||||
this.physical = value;
|
this.physical = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the value of the magical property.
|
* Gets the value of the magical property.
|
||||||
*
|
*
|
||||||
* @return possible object is
|
* @return
|
||||||
|
* possible object is
|
||||||
* {@link CharacterTemplate.Stats.Defense.Magical }
|
* {@link CharacterTemplate.Stats.Defense.Magical }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -1530,13 +1567,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
this.magical = value;
|
this.magical = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1577,13 +1612,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1626,13 +1659,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1711,13 +1742,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -1777,13 +1806,11 @@ public class CharacterTemplate extends ActorTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
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.XmlSchemaType;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||||
|
|
||||||
import com.l2jserver.model.id.template.ItemTemplateID;
|
import com.l2jserver.model.id.template.ItemTemplateID;
|
||||||
import com.l2jserver.model.template.item.ArmorType;
|
import com.l2jserver.model.template.item.ArmorType;
|
||||||
import com.l2jserver.model.template.item.ItemMaterial;
|
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.ItemTypeAdapter;
|
||||||
import com.l2jserver.util.jaxb.WeaponTypeAdapter;
|
import com.l2jserver.util.jaxb.WeaponTypeAdapter;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for item element declaration.
|
||||||
* Java class for item element declaration.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <element name="item">
|
* <element name="item">
|
||||||
@@ -156,10 +154,18 @@ import com.l2jserver.util.jaxb.WeaponTypeAdapter;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "attributes", "controller", "effect",
|
@XmlType(name = "", propOrder = {
|
||||||
"etcItem", "weapon", "armor" })
|
"attributes",
|
||||||
|
"controller",
|
||||||
|
"effect",
|
||||||
|
"etcItem",
|
||||||
|
"weapon",
|
||||||
|
"armor"
|
||||||
|
})
|
||||||
@XmlRootElement(name = "item", namespace = "http://schemas.l2jserver2.com/item")
|
@XmlRootElement(name = "item", namespace = "http://schemas.l2jserver2.com/item")
|
||||||
public class ItemTemplate extends AbstractTemplate {
|
public class ItemTemplate
|
||||||
|
extends AbstractTemplate
|
||||||
|
{
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
protected ItemTemplate.Attributes attributes;
|
protected ItemTemplate.Attributes attributes;
|
||||||
@@ -181,7 +187,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the attributes property.
|
* Gets the value of the attributes property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.Attributes }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.Attributes }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.Attributes getAttributes() {
|
public ItemTemplate.Attributes getAttributes() {
|
||||||
@@ -192,7 +200,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the attributes property.
|
* Sets the value of the attributes property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.Attributes }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.Attributes }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setAttributes(ItemTemplate.Attributes value) {
|
public void setAttributes(ItemTemplate.Attributes value) {
|
||||||
@@ -202,7 +211,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the controller property.
|
* Gets the value of the controller property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.Controller }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.Controller }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.Controller getController() {
|
public ItemTemplate.Controller getController() {
|
||||||
@@ -213,7 +224,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the controller property.
|
* Sets the value of the controller property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.Controller }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.Controller }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setController(ItemTemplate.Controller value) {
|
public void setController(ItemTemplate.Controller value) {
|
||||||
@@ -223,7 +235,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the effect property.
|
* Gets the value of the effect property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.Effect }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.Effect }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.Effect getEffect() {
|
public ItemTemplate.Effect getEffect() {
|
||||||
@@ -234,7 +248,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the effect property.
|
* Sets the value of the effect property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.Effect }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.Effect }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setEffect(ItemTemplate.Effect value) {
|
public void setEffect(ItemTemplate.Effect value) {
|
||||||
@@ -244,7 +259,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the etcItem property.
|
* Gets the value of the etcItem property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.EtcItem }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.EtcItem }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.EtcItem getEtcItem() {
|
public ItemTemplate.EtcItem getEtcItem() {
|
||||||
@@ -255,7 +272,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the etcItem property.
|
* Sets the value of the etcItem property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.EtcItem }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.EtcItem }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setEtcItem(ItemTemplate.EtcItem value) {
|
public void setEtcItem(ItemTemplate.EtcItem value) {
|
||||||
@@ -265,7 +283,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the weapon property.
|
* Gets the value of the weapon property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.Weapon }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.Weapon }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.Weapon getWeapon() {
|
public ItemTemplate.Weapon getWeapon() {
|
||||||
@@ -276,7 +296,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the weapon property.
|
* Sets the value of the weapon property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.Weapon }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.Weapon }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setWeapon(ItemTemplate.Weapon value) {
|
public void setWeapon(ItemTemplate.Weapon value) {
|
||||||
@@ -286,7 +307,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the armor property.
|
* Gets the value of the armor property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.Armor }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.Armor }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.Armor getArmor() {
|
public ItemTemplate.Armor getArmor() {
|
||||||
@@ -297,7 +320,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the armor property.
|
* Sets the value of the armor property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.Armor }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.Armor }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setArmor(ItemTemplate.Armor value) {
|
public void setArmor(ItemTemplate.Armor value) {
|
||||||
@@ -307,7 +331,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the id property.
|
* Gets the value of the id property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplateID getID() {
|
public ItemTemplateID getID() {
|
||||||
@@ -318,7 +344,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the id property.
|
* Sets the value of the id property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setID(ItemTemplateID value) {
|
public void setID(ItemTemplateID value) {
|
||||||
@@ -328,7 +355,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the name property.
|
* Gets the value of the name property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getName() {
|
public String getName() {
|
||||||
@@ -339,7 +368,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the name property.
|
* Sets the value of the name property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setName(String value) {
|
public void setName(String value) {
|
||||||
@@ -349,7 +379,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the icon property.
|
* Gets the value of the icon property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getIcon() {
|
public String getIcon() {
|
||||||
@@ -360,20 +392,19 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the icon property.
|
* Sets the value of the icon property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setIcon(String value) {
|
public void setIcon(String value) {
|
||||||
this.icon = value;
|
this.icon = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -409,7 +440,10 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "cost", "equipment" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"cost",
|
||||||
|
"equipment"
|
||||||
|
})
|
||||||
public static class Armor {
|
public static class Armor {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -426,7 +460,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the cost property.
|
* Gets the value of the cost property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.Armor.Cost }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.Armor.Cost }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.Armor.Cost getCost() {
|
public ItemTemplate.Armor.Cost getCost() {
|
||||||
@@ -437,7 +473,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the cost property.
|
* Sets the value of the cost property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.Armor.Cost }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.Armor.Cost }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setCost(ItemTemplate.Armor.Cost value) {
|
public void setCost(ItemTemplate.Armor.Cost value) {
|
||||||
@@ -447,7 +484,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the equipment property.
|
* Gets the value of the equipment property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.Armor.Equipment }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.Armor.Equipment }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.Armor.Equipment getEquipment() {
|
public ItemTemplate.Armor.Equipment getEquipment() {
|
||||||
@@ -458,7 +497,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the equipment property.
|
* Sets the value of the equipment property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.Armor.Equipment }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.Armor.Equipment }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setEquipment(ItemTemplate.Armor.Equipment value) {
|
public void setEquipment(ItemTemplate.Armor.Equipment value) {
|
||||||
@@ -468,7 +508,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the weigth property.
|
* Gets the value of the weigth property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getWeigth() {
|
public String getWeigth() {
|
||||||
@@ -479,7 +521,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the weigth property.
|
* Sets the value of the weigth property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setWeigth(String value) {
|
public void setWeigth(String value) {
|
||||||
@@ -489,7 +532,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the type property.
|
* Gets the value of the type property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ArmorType getType() {
|
public ArmorType getType() {
|
||||||
@@ -500,20 +545,19 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the type property.
|
* Sets the value of the type property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setType(ArmorType value) {
|
public void setType(ArmorType value) {
|
||||||
this.type = value;
|
this.type = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -538,7 +582,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the adena property.
|
* Gets the value of the adena property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getAdena() {
|
public String getAdena() {
|
||||||
@@ -549,7 +595,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the adena property.
|
* Sets the value of the adena property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setAdena(String value) {
|
public void setAdena(String value) {
|
||||||
@@ -558,13 +605,11 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -589,7 +634,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the part property.
|
* Gets the value of the part property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getPart() {
|
public String getPart() {
|
||||||
@@ -600,7 +647,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the part property.
|
* Sets the value of the part property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setPart(String value) {
|
public void setPart(String value) {
|
||||||
@@ -611,13 +659,11 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -644,7 +690,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "cost" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"cost"
|
||||||
|
})
|
||||||
public static class Attributes {
|
public static class Attributes {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -658,7 +706,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the cost property.
|
* Gets the value of the cost property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ItemTemplate.Attributes.Cost }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ItemTemplate.Attributes.Cost }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemTemplate.Attributes.Cost getCost() {
|
public ItemTemplate.Attributes.Cost getCost() {
|
||||||
@@ -669,7 +719,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the cost property.
|
* Sets the value of the cost property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ItemTemplate.Attributes.Cost }
|
* allowed object is
|
||||||
|
* {@link ItemTemplate.Attributes.Cost }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setCost(ItemTemplate.Attributes.Cost value) {
|
public void setCost(ItemTemplate.Attributes.Cost value) {
|
||||||
@@ -679,7 +730,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the weigth property.
|
* Gets the value of the weigth property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link Integer }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link Integer }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Integer getWeigth() {
|
public Integer getWeigth() {
|
||||||
@@ -690,7 +743,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the weigth property.
|
* Sets the value of the weigth property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link Integer }
|
* allowed object is
|
||||||
|
* {@link Integer }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setWeigth(Integer value) {
|
public void setWeigth(Integer value) {
|
||||||
@@ -700,7 +754,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the material property.
|
* Gets the value of the material property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemMaterial getMaterial() {
|
public ItemMaterial getMaterial() {
|
||||||
@@ -711,20 +767,19 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the material property.
|
* Sets the value of the material property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setMaterial(ItemMaterial value) {
|
public void setMaterial(ItemMaterial value) {
|
||||||
this.material = value;
|
this.material = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -748,7 +803,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the adena property.
|
* Gets the value of the adena property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link Integer }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link Integer }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Integer getAdena() {
|
public Integer getAdena() {
|
||||||
@@ -759,7 +816,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the adena property.
|
* Sets the value of the adena property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link Integer }
|
* allowed object is
|
||||||
|
* {@link Integer }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setAdena(Integer value) {
|
public void setAdena(Integer value) {
|
||||||
@@ -770,13 +828,11 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -801,7 +857,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the defaultAction property.
|
* Gets the value of the defaultAction property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getDefaultAction() {
|
public String getDefaultAction() {
|
||||||
@@ -812,7 +870,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the defaultAction property.
|
* Sets the value of the defaultAction property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setDefaultAction(String value) {
|
public void setDefaultAction(String value) {
|
||||||
@@ -821,13 +880,11 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -857,7 +914,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the type property.
|
* Gets the value of the type property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getType() {
|
public String getType() {
|
||||||
@@ -868,7 +927,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the type property.
|
* Sets the value of the type property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setType(String value) {
|
public void setType(String value) {
|
||||||
@@ -877,13 +937,11 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -908,7 +966,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the type property.
|
* Gets the value of the type property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ItemType getType() {
|
public ItemType getType() {
|
||||||
@@ -919,7 +979,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the type property.
|
* Sets the value of the type property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setType(ItemType value) {
|
public void setType(ItemType value) {
|
||||||
@@ -928,13 +989,11 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -956,8 +1015,12 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "physicalDamage", "magicalDamage",
|
@XmlType(name = "", propOrder = {
|
||||||
"criticalChance", "physicalAttackSpeed" })
|
"physicalDamage",
|
||||||
|
"magicalDamage",
|
||||||
|
"criticalChance",
|
||||||
|
"physicalAttackSpeed"
|
||||||
|
})
|
||||||
public static class Weapon {
|
public static class Weapon {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -978,7 +1041,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the physicalDamage property.
|
* Gets the value of the physicalDamage property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CalculatorFunction }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CalculatorFunction }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CalculatorFunction getPhysicalDamage() {
|
public CalculatorFunction getPhysicalDamage() {
|
||||||
@@ -989,7 +1054,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the physicalDamage property.
|
* Sets the value of the physicalDamage property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CalculatorFunction }
|
* allowed object is
|
||||||
|
* {@link CalculatorFunction }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setPhysicalDamage(CalculatorFunction value) {
|
public void setPhysicalDamage(CalculatorFunction value) {
|
||||||
@@ -999,7 +1065,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the magicalDamage property.
|
* Gets the value of the magicalDamage property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CalculatorFunction }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CalculatorFunction }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CalculatorFunction getMagicalDamage() {
|
public CalculatorFunction getMagicalDamage() {
|
||||||
@@ -1010,7 +1078,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the magicalDamage property.
|
* Sets the value of the magicalDamage property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CalculatorFunction }
|
* allowed object is
|
||||||
|
* {@link CalculatorFunction }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setMagicalDamage(CalculatorFunction value) {
|
public void setMagicalDamage(CalculatorFunction value) {
|
||||||
@@ -1020,7 +1089,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the criticalChance property.
|
* Gets the value of the criticalChance property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CalculatorFunction }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CalculatorFunction }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CalculatorFunction getCriticalChance() {
|
public CalculatorFunction getCriticalChance() {
|
||||||
@@ -1031,7 +1102,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the criticalChance property.
|
* Sets the value of the criticalChance property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CalculatorFunction }
|
* allowed object is
|
||||||
|
* {@link CalculatorFunction }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setCriticalChance(CalculatorFunction value) {
|
public void setCriticalChance(CalculatorFunction value) {
|
||||||
@@ -1041,7 +1113,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the physicalAttackSpeed property.
|
* Gets the value of the physicalAttackSpeed property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link CalculatorFunction }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link CalculatorFunction }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public CalculatorFunction getPhysicalAttackSpeed() {
|
public CalculatorFunction getPhysicalAttackSpeed() {
|
||||||
@@ -1052,7 +1126,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the physicalAttackSpeed property.
|
* Sets the value of the physicalAttackSpeed property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link CalculatorFunction }
|
* allowed object is
|
||||||
|
* {@link CalculatorFunction }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setPhysicalAttackSpeed(CalculatorFunction value) {
|
public void setPhysicalAttackSpeed(CalculatorFunction value) {
|
||||||
@@ -1062,7 +1137,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the part property.
|
* Gets the value of the part property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getPart() {
|
public String getPart() {
|
||||||
@@ -1073,7 +1150,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the part property.
|
* Sets the value of the part property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setPart(String value) {
|
public void setPart(String value) {
|
||||||
@@ -1083,7 +1161,9 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the type property.
|
* Gets the value of the type property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public WeaponType getType() {
|
public WeaponType getType() {
|
||||||
@@ -1094,7 +1174,8 @@ public class ItemTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the type property.
|
* Sets the value of the type property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setType(WeaponType value) {
|
public void setType(WeaponType value) {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -2,30 +2,35 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlRegistry;
|
import javax.xml.bind.annotation.XmlRegistry;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This object contains factory methods for each Java content interface and Java
|
* This object contains factory methods for each
|
||||||
* element interface generated in the com.l2jserver.model.template package.
|
* Java content interface and Java element interface
|
||||||
* <p>
|
* generated in the com.l2jserver.model.template package.
|
||||||
* An ObjectFactory allows you to programatically construct new instances of the
|
* <p>An ObjectFactory allows you to programatically
|
||||||
* Java representation for XML content. The Java representation of XML content
|
* construct new instances of the Java representation
|
||||||
* can consist of schema derived interfaces and classes representing the binding
|
* for XML content. The Java representation of XML
|
||||||
* of schema type definitions, element declarations and model groups. Factory
|
* content can consist of schema derived interfaces
|
||||||
* methods for each of these are provided in this class.
|
* 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
|
@XmlRegistry
|
||||||
public class ObjectFactory {
|
public class ObjectFactory {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new ObjectFactory that can be used to create new instances of
|
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.l2jserver.model.template
|
||||||
* schema derived classes for package: com.l2jserver.model.template
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ObjectFactory() {
|
public ObjectFactory() {
|
||||||
@@ -55,14 +60,6 @@ public class ObjectFactory {
|
|||||||
return new NPCTemplate.Droplist.Item();
|
return new NPCTemplate.Droplist.Item();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an instance of {@link Teleports }
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public Teleports createTeleports() {
|
|
||||||
return new Teleports();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link Zones }
|
* Create an instance of {@link Zones }
|
||||||
*
|
*
|
||||||
@@ -88,11 +85,11 @@ public class ObjectFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link Teleports.Teleport }
|
* Create an instance of {@link TeleportationTemplate }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Teleports.Teleport createTeleportsTeleport() {
|
public TeleportationTemplate createTeleportationTemplate() {
|
||||||
return new Teleports.Teleport();
|
return new TeleportationTemplate();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -216,11 +213,11 @@ public class ObjectFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link Coordinate }
|
* Create an instance of {@link TemplateCoordinate }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Coordinate createCoordinate() {
|
public TemplateCoordinate createTemplateCoordinate() {
|
||||||
return new Coordinate();
|
return new TemplateCoordinate();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -239,6 +236,14 @@ public class ObjectFactory {
|
|||||||
return new SkillTemplate();
|
return new SkillTemplate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an instance of {@link Teleports }
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public Teleports createTeleports() {
|
||||||
|
return new Teleports();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link ZoneType.Point }
|
* Create an instance of {@link ZoneType.Point }
|
||||||
*
|
*
|
||||||
@@ -256,11 +261,11 @@ public class ObjectFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link Teleports.Teleport.Restrictions }
|
* Create an instance of {@link TeleportationTemplate.Restrictions }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Teleports.Teleport.Restrictions createTeleportsTeleportRestrictions() {
|
public TeleportationTemplate.Restrictions createTeleportationTemplateRestrictions() {
|
||||||
return new Teleports.Teleport.Restrictions();
|
return new TeleportationTemplate.Restrictions();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
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.XmlRootElement;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||||
|
|
||||||
import com.l2jserver.model.id.template.SkillTemplateID;
|
import com.l2jserver.model.id.template.SkillTemplateID;
|
||||||
import com.l2jserver.util.jaxb.SkillTemplateIDAdapter;
|
import com.l2jserver.util.jaxb.SkillTemplateIDAdapter;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for skill element declaration.
|
||||||
* Java class for skill element declaration.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <element name="skill">
|
* <element name="skill">
|
||||||
@@ -46,9 +44,13 @@ import com.l2jserver.util.jaxb.SkillTemplateIDAdapter;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "maximumLevel" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"maximumLevel"
|
||||||
|
})
|
||||||
@XmlRootElement(name = "skill", namespace = "http://schemas.l2jserver2.com/skill")
|
@XmlRootElement(name = "skill", namespace = "http://schemas.l2jserver2.com/skill")
|
||||||
public class SkillTemplate extends AbstractTemplate {
|
public class SkillTemplate
|
||||||
|
extends AbstractTemplate
|
||||||
|
{
|
||||||
|
|
||||||
protected int maximumLevel;
|
protected int maximumLevel;
|
||||||
@XmlAttribute(name = "id", required = true)
|
@XmlAttribute(name = "id", required = true)
|
||||||
@@ -80,7 +82,9 @@ public class SkillTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the id property.
|
* Gets the value of the id property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public SkillTemplateID getID() {
|
public SkillTemplateID getID() {
|
||||||
@@ -91,7 +95,8 @@ public class SkillTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the id property.
|
* Sets the value of the id property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setID(SkillTemplateID value) {
|
public void setID(SkillTemplateID value) {
|
||||||
@@ -101,7 +106,9 @@ public class SkillTemplate extends AbstractTemplate {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the name property.
|
* Gets the value of the name property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getName() {
|
public String getName() {
|
||||||
@@ -112,7 +119,8 @@ public class SkillTemplate extends AbstractTemplate {
|
|||||||
* Sets the value of the name property.
|
* Sets the value of the name property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setName(String value) {
|
public void setName(String value) {
|
||||||
|
|||||||
@@ -0,0 +1,286 @@
|
|||||||
|
//
|
||||||
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
|
// 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;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>Java class for TeleportationTemplate complex type.
|
||||||
|
*
|
||||||
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
|
*
|
||||||
|
* <pre>
|
||||||
|
* <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>
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>Java class for anonymous complex type.
|
||||||
|
*
|
||||||
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
|
*
|
||||||
|
* <pre>
|
||||||
|
* <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>
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
|
@XmlType(name = "", propOrder = {
|
||||||
|
"restriction"
|
||||||
|
})
|
||||||
|
public static class Restrictions {
|
||||||
|
|
||||||
|
@XmlElement(required = true)
|
||||||
|
protected List<String> restriction;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value of the restriction property.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* 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 <CODE>set</CODE> method for the restriction property.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* For example, to add a new item, do as follows:
|
||||||
|
* <pre>
|
||||||
|
* getRestriction().add(newItem);
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* Objects of the following type(s) are allowed in the list
|
||||||
|
* {@link String }
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public List<String> getRestriction() {
|
||||||
|
if (restriction == null) {
|
||||||
|
restriction = new ArrayList<String>();
|
||||||
|
}
|
||||||
|
return this.restriction;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -2,70 +2,32 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
import javax.xml.bind.annotation.XmlRootElement;
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
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;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
* <complexContent>
|
* <complexContent>
|
||||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||||
* <sequence>
|
* <sequence>
|
||||||
* <element name="teleport" maxOccurs="unbounded">
|
* <element name="teleport" type="{http://schemas.l2jserver2.com/teleport}TeleportationTemplate" 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>
|
|
||||||
* </sequence>
|
* </sequence>
|
||||||
* </restriction>
|
* </restriction>
|
||||||
* </complexContent>
|
* </complexContent>
|
||||||
@@ -75,25 +37,26 @@ import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "teleport" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"teleport"
|
||||||
|
})
|
||||||
@XmlRootElement(name = "teleports", namespace = "http://schemas.l2jserver2.com/teleport")
|
@XmlRootElement(name = "teleports", namespace = "http://schemas.l2jserver2.com/teleport")
|
||||||
public class Teleports {
|
public class Teleports {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
protected List<Teleports.Teleport> teleport;
|
protected List<TeleportationTemplate> teleport;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the value of the teleport property.
|
* Gets the value of the teleport property.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* This accessor method returns a reference to the live list, not a
|
* This accessor method returns a reference to the live list,
|
||||||
* snapshot. Therefore any modification you make to the returned list will
|
* not a snapshot. Therefore any modification you make to the
|
||||||
* be present inside the JAXB object. This is why there is not a
|
* returned list will be present inside the JAXB object.
|
||||||
* <CODE>set</CODE> method for the teleport property.
|
* This is why there is not a <CODE>set</CODE> method for the teleport property.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* For example, to add a new item, do as follows:
|
* For example, to add a new item, do as follows:
|
||||||
*
|
|
||||||
* <pre>
|
* <pre>
|
||||||
* getTeleport().add(newItem);
|
* getTeleport().add(newItem);
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -101,264 +64,15 @@ public class Teleports {
|
|||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* Objects of the following type(s) are allowed in the list
|
* Objects of the following type(s) are allowed in the list
|
||||||
* {@link Teleports.Teleport }
|
* {@link TeleportationTemplate }
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public List<Teleports.Teleport> getTeleport() {
|
public List<TeleportationTemplate> getTeleport() {
|
||||||
if (teleport == null) {
|
if (teleport == null) {
|
||||||
teleport = new ArrayList<Teleports.Teleport>();
|
teleport = new ArrayList<TeleportationTemplate>();
|
||||||
}
|
}
|
||||||
return this.teleport;
|
return this.teleport;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* <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>
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
@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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* <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>
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
|
||||||
@XmlType(name = "", propOrder = { "restriction" })
|
|
||||||
public static class Restrictions {
|
|
||||||
|
|
||||||
@XmlElement(required = true)
|
|
||||||
protected List<String> restriction;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the value of the restriction property.
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* 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 <CODE>set</CODE> method for the restriction property.
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* For example, to add a new item, do as follows:
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* getRestriction().add(newItem);
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* Objects of the following type(s) are allowed in the list
|
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public List<String> getRestriction() {
|
|
||||||
if (restriction == null) {
|
|
||||||
restriction = new ArrayList<String>();
|
|
||||||
}
|
|
||||||
return this.restriction;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
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.XmlAttribute;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for Coordinate complex type.
|
||||||
* Java class for Coordinate complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="Coordinate">
|
* <complexType name="Coordinate">
|
||||||
@@ -38,7 +37,7 @@ import javax.xml.bind.annotation.XmlType;
|
|||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "Coordinate")
|
@XmlType(name = "Coordinate")
|
||||||
public class Coordinate {
|
public class TemplateCoordinate {
|
||||||
|
|
||||||
@XmlAttribute(name = "x", required = true)
|
@XmlAttribute(name = "x", required = true)
|
||||||
protected int x;
|
protected int x;
|
||||||
@@ -2,27 +2,25 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for ZoneType complex type.
|
||||||
* Java class for ZoneType complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="ZoneType">
|
* <complexType name="ZoneType">
|
||||||
@@ -51,7 +49,9 @@ import javax.xml.bind.annotation.XmlType;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "ZoneType", namespace = "zones", propOrder = { "point" })
|
@XmlType(name = "ZoneType", namespace = "zones", propOrder = {
|
||||||
|
"point"
|
||||||
|
})
|
||||||
public class ZoneType {
|
public class ZoneType {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -63,14 +63,13 @@ public class ZoneType {
|
|||||||
* Gets the value of the point property.
|
* Gets the value of the point property.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* This accessor method returns a reference to the live list, not a
|
* This accessor method returns a reference to the live list,
|
||||||
* snapshot. Therefore any modification you make to the returned list will
|
* not a snapshot. Therefore any modification you make to the
|
||||||
* be present inside the JAXB object. This is why there is not a
|
* returned list will be present inside the JAXB object.
|
||||||
* <CODE>set</CODE> method for the point property.
|
* This is why there is not a <CODE>set</CODE> method for the point property.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* For example, to add a new item, do as follows:
|
* For example, to add a new item, do as follows:
|
||||||
*
|
|
||||||
* <pre>
|
* <pre>
|
||||||
* getPoint().add(newItem);
|
* getPoint().add(newItem);
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -92,7 +91,9 @@ public class ZoneType {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the id property.
|
* Gets the value of the id property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link String }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public String getId() {
|
public String getId() {
|
||||||
@@ -103,20 +104,19 @@ public class ZoneType {
|
|||||||
* Sets the value of the id property.
|
* Sets the value of the id property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link String }
|
* allowed object is
|
||||||
|
* {@link String }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setId(String value) {
|
public void setId(String value) {
|
||||||
this.id = value;
|
this.id = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
|
||||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
// 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;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
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.XmlRootElement;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained within
|
|
||||||
* this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -56,7 +55,9 @@ import javax.xml.bind.annotation.XmlType;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "castle" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"castle"
|
||||||
|
})
|
||||||
@XmlRootElement(name = "zones", namespace = "zones")
|
@XmlRootElement(name = "zones", namespace = "zones")
|
||||||
public class Zones {
|
public class Zones {
|
||||||
|
|
||||||
@@ -66,7 +67,9 @@ public class Zones {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the castle property.
|
* Gets the value of the castle property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link Zones.Castle }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link Zones.Castle }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Zones.Castle getCastle() {
|
public Zones.Castle getCastle() {
|
||||||
@@ -77,20 +80,19 @@ public class Zones {
|
|||||||
* Sets the value of the castle property.
|
* Sets the value of the castle property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link Zones.Castle }
|
* allowed object is
|
||||||
|
* {@link Zones.Castle }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setCastle(Zones.Castle value) {
|
public void setCastle(Zones.Castle value) {
|
||||||
this.castle = value;
|
this.castle = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content contained
|
|
||||||
* within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -117,7 +119,9 @@ public class Zones {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "siege" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"siege"
|
||||||
|
})
|
||||||
public static class Castle {
|
public static class Castle {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -126,7 +130,9 @@ public class Zones {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the siege property.
|
* Gets the value of the siege property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link Zones.Castle.Siege }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link Zones.Castle.Siege }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Zones.Castle.Siege getSiege() {
|
public Zones.Castle.Siege getSiege() {
|
||||||
@@ -137,20 +143,19 @@ public class Zones {
|
|||||||
* Sets the value of the siege property.
|
* Sets the value of the siege property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link Zones.Castle.Siege }
|
* allowed object is
|
||||||
|
* {@link Zones.Castle.Siege }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setSiege(Zones.Castle.Siege value) {
|
public void setSiege(Zones.Castle.Siege value) {
|
||||||
this.siege = value;
|
this.siege = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>Java class for anonymous complex type.
|
||||||
* Java class for anonymous complex type.
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||||
* The following schema fragment specifies the expected content
|
|
||||||
* contained within this class.
|
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
@@ -167,7 +172,9 @@ public class Zones {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = { "zone" })
|
@XmlType(name = "", propOrder = {
|
||||||
|
"zone"
|
||||||
|
})
|
||||||
public static class Siege {
|
public static class Siege {
|
||||||
|
|
||||||
@XmlElement(required = true)
|
@XmlElement(required = true)
|
||||||
@@ -176,7 +183,9 @@ public class Zones {
|
|||||||
/**
|
/**
|
||||||
* Gets the value of the zone property.
|
* Gets the value of the zone property.
|
||||||
*
|
*
|
||||||
* @return possible object is {@link ZoneType }
|
* @return
|
||||||
|
* possible object is
|
||||||
|
* {@link ZoneType }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ZoneType getZone() {
|
public ZoneType getZone() {
|
||||||
@@ -187,7 +196,8 @@ public class Zones {
|
|||||||
* Sets the value of the zone property.
|
* Sets the value of the zone property.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is {@link ZoneType }
|
* allowed object is
|
||||||
|
* {@link ZoneType }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void setZone(ZoneType value) {
|
public void setZone(ZoneType value) {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import com.google.inject.Inject;
|
|||||||
import com.google.inject.assistedinject.Assisted;
|
import com.google.inject.assistedinject.Assisted;
|
||||||
import com.l2jserver.model.id.TemplateID;
|
import com.l2jserver.model.id.TemplateID;
|
||||||
import com.l2jserver.model.template.SkillTemplate;
|
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.service.game.template.TemplateService;
|
||||||
import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter;
|
import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter;
|
||||||
|
|
||||||
|
|||||||
@@ -1,146 +0,0 @@
|
|||||||
/*
|
|
||||||
* This file is part of l2jserver2 <l2jserver2.com>.
|
|
||||||
*
|
|
||||||
* 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 <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
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 <a href="http://www.rogiel.com">Rogiel</a>
|
|
||||||
*/
|
|
||||||
@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<TeleportRestriction> restrictions;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Defines an teleport restriction
|
|
||||||
*
|
|
||||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
|
||||||
*/
|
|
||||||
@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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -18,12 +18,13 @@ package com.l2jserver.model.world.npc.controller.impl;
|
|||||||
|
|
||||||
import com.google.inject.Inject;
|
import com.google.inject.Inject;
|
||||||
import com.l2jserver.model.id.template.provider.TeleportationTemplateIDProvider;
|
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.L2Character;
|
||||||
import com.l2jserver.model.world.NPC;
|
import com.l2jserver.model.world.NPC;
|
||||||
import com.l2jserver.model.world.npc.BaseNPCController;
|
import com.l2jserver.model.world.npc.BaseNPCController;
|
||||||
import com.l2jserver.service.game.spawn.SpawnService;
|
import com.l2jserver.service.game.spawn.SpawnService;
|
||||||
import com.l2jserver.util.exception.L2Exception;
|
import com.l2jserver.util.exception.L2Exception;
|
||||||
|
import com.l2jserver.util.geometry.Coordinate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This controller is used to control teleporters (e.g. gatekeepers)
|
* This controller is used to control teleporters (e.g. gatekeepers)
|
||||||
@@ -48,12 +49,14 @@ public class TeleporterController extends BaseNPCController {
|
|||||||
if (args.length >= 2) {
|
if (args.length >= 2) {
|
||||||
switch (args[0]) {
|
switch (args[0]) {
|
||||||
case "goto":
|
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) {
|
if (tele == null) {
|
||||||
throw new NPCControllerException();
|
throw new NPCControllerException();
|
||||||
}
|
}
|
||||||
// TODO remove items from character inventory
|
// TODO remove items from character inventory
|
||||||
spawnService.teleport(character, tele.getCoordinate());
|
spawnService.teleport(character,
|
||||||
|
Coordinate.fromTemplateCoordinate(tele.getPoint()));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,11 +32,6 @@ import javax.xml.bind.JAXB;
|
|||||||
import javax.xml.bind.JAXBContext;
|
import javax.xml.bind.JAXBContext;
|
||||||
import javax.xml.bind.JAXBException;
|
import javax.xml.bind.JAXBException;
|
||||||
import javax.xml.bind.Unmarshaller;
|
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.Source;
|
||||||
import javax.xml.transform.stream.StreamSource;
|
import javax.xml.transform.stream.StreamSource;
|
||||||
import javax.xml.validation.SchemaFactory;
|
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.SkillTemplate;
|
||||||
import com.l2jserver.model.template.Teleports;
|
import com.l2jserver.model.template.Teleports;
|
||||||
import com.l2jserver.model.template.Template;
|
import com.l2jserver.model.template.Template;
|
||||||
import com.l2jserver.model.template.npc.TeleportationTemplate;
|
|
||||||
import com.l2jserver.service.AbstractConfigurableService;
|
import com.l2jserver.service.AbstractConfigurableService;
|
||||||
import com.l2jserver.service.AbstractService.Depends;
|
import com.l2jserver.service.AbstractService.Depends;
|
||||||
import com.l2jserver.service.ServiceStartException;
|
import com.l2jserver.service.ServiceStartException;
|
||||||
@@ -257,8 +251,11 @@ public class XMLTemplateService extends
|
|||||||
* if any error occur while processing the XML
|
* if any error occur while processing the XML
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
* if any error occur in the I/O level
|
* 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");
|
Preconditions.checkNotNull(path, "path");
|
||||||
log.debug("Loading template {}", path);
|
log.debug("Loading template {}", path);
|
||||||
final InputStream in = Files.newInputStream(path,
|
final InputStream in = Files.newInputStream(path,
|
||||||
@@ -270,12 +267,15 @@ public class XMLTemplateService extends
|
|||||||
log.debug("Template loaded: {}", template);
|
log.debug("Template loaded: {}", template);
|
||||||
if (template.getID() != null)
|
if (template.getID() != null)
|
||||||
templates.put(template.getID(), template);
|
templates.put(template.getID(), template);
|
||||||
} else if (obj instanceof TeleportationTemplateContainer) {
|
} else if (obj instanceof Teleports) {
|
||||||
for (final Template template : ((TeleportationTemplateContainer) obj).templates) {
|
for (final Template template : ((Teleports) obj).getTeleport()) {
|
||||||
log.debug("Template loaded: {}", template);
|
log.debug("Template loaded: {}", template);
|
||||||
if (template.getID() != null)
|
if (template.getID() != null)
|
||||||
templates.put(template.getID(), template);
|
templates.put(template.getID(), template);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
throw new ServiceStartException(
|
||||||
|
"Unknown template container type: " + obj);
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
// in.close();
|
// in.close();
|
||||||
@@ -301,20 +301,4 @@ public class XMLTemplateService extends
|
|||||||
unmarshaller = null;
|
unmarshaller = null;
|
||||||
context = null;
|
context = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* The teleportation template container
|
|
||||||
*
|
|
||||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
|
||||||
*/
|
|
||||||
@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<TeleportationTemplate> templates;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ package com.l2jserver.util.geometry;
|
|||||||
|
|
||||||
import org.apache.commons.math.geometry.Vector3D;
|
import org.apache.commons.math.geometry.Vector3D;
|
||||||
|
|
||||||
|
import com.l2jserver.model.template.TemplateCoordinate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents an coordinate in the game world.
|
* Represents an coordinate in the game world.
|
||||||
* <p>
|
* <p>
|
||||||
@@ -106,6 +108,19 @@ public class Coordinate {
|
|||||||
return new Coordinate(x, y, z);
|
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
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Coordinate [" + vector + "]";
|
return "Coordinate [" + vector + "]";
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with l2jserver2. If not, see <http://www.gnu.org/licenses/>.
|
* along with l2jserver2. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.l2jserver.model.template.npc;
|
package com.l2jserver.model.template;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileOutputStream;
|
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.NPCTemplateID;
|
||||||
import com.l2jserver.model.id.template.SkillTemplateID;
|
import com.l2jserver.model.id.template.SkillTemplateID;
|
||||||
import com.l2jserver.model.id.template.TeleportationTemplateID;
|
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;
|
||||||
import com.l2jserver.model.template.NPCTemplate.Droplist.Item.DropCategory;
|
import com.l2jserver.model.template.NPCTemplate.Droplist.Item.DropCategory;
|
||||||
import com.l2jserver.model.template.NPCTemplate.Skills;
|
import com.l2jserver.model.template.NPCTemplate.Skills;
|
||||||
import com.l2jserver.model.template.NPCTemplate.Talk;
|
import com.l2jserver.model.template.NPCTemplate.Talk;
|
||||||
import com.l2jserver.model.template.NPCTemplate.Talk.Chat;
|
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.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.BaseNPCController;
|
||||||
import com.l2jserver.model.world.npc.NPCController;
|
import com.l2jserver.model.world.npc.NPCController;
|
||||||
import com.l2jserver.model.world.npc.controller.impl.MonsterController;
|
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.NotImplementedNPCController;
|
||||||
import com.l2jserver.model.world.npc.controller.impl.TeleporterController;
|
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.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.OutputFormat;
|
||||||
import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
|
import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
|
||||||
|
|
||||||
@@ -76,7 +73,7 @@ public class NPCTemplateConverter {
|
|||||||
|
|
||||||
private static List<NPCTemplate> templates = CollectionFactory.newList();
|
private static List<NPCTemplate> templates = CollectionFactory.newList();
|
||||||
private static Collection<File> htmlScannedFiles;
|
private static Collection<File> htmlScannedFiles;
|
||||||
private static TeleportationTemplateContainer teleportation = new TeleportationTemplateContainer();
|
private static Teleports teleportation = new Teleports();
|
||||||
|
|
||||||
public static void main(String[] args) throws SQLException, IOException,
|
public static void main(String[] args) throws SQLException, IOException,
|
||||||
ClassNotFoundException, JAXBException {
|
ClassNotFoundException, JAXBException {
|
||||||
@@ -94,13 +91,13 @@ public class NPCTemplateConverter {
|
|||||||
"html", "htm" }, true);
|
"html", "htm" }, true);
|
||||||
|
|
||||||
final JAXBContext c = JAXBContext.newInstance(NPCTemplate.class,
|
final JAXBContext c = JAXBContext.newInstance(NPCTemplate.class,
|
||||||
TeleportationTemplateContainer.class);
|
Teleports.class);
|
||||||
|
|
||||||
final Connection conn = DriverManager.getConnection(JDBC_URL,
|
final Connection conn = DriverManager.getConnection(JDBC_URL,
|
||||||
JDBC_USERNAME, JDBC_PASSWORD);
|
JDBC_USERNAME, JDBC_PASSWORD);
|
||||||
{
|
{
|
||||||
System.out.println("Converting teleport templates...");
|
System.out.println("Converting teleport templates...");
|
||||||
teleportation.templates = CollectionFactory.newList();
|
teleportation.teleport = CollectionFactory.newList();
|
||||||
|
|
||||||
final Marshaller m = c.createMarshaller();
|
final Marshaller m = c.createMarshaller();
|
||||||
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
|
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
|
||||||
@@ -114,16 +111,18 @@ public class NPCTemplateConverter {
|
|||||||
|
|
||||||
template.id = new TeleportationTemplateID(rs.getInt("id"), null);
|
template.id = new TeleportationTemplateID(rs.getInt("id"), null);
|
||||||
template.name = rs.getString("Description");
|
template.name = rs.getString("Description");
|
||||||
template.coordinate = Coordinate.fromXYZ(rs.getInt("loc_x"),
|
TemplateCoordinate coord = new TemplateCoordinate();
|
||||||
rs.getInt("loc_y"), rs.getInt("loc_z"));
|
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.price = rs.getInt("price");
|
||||||
template.itemTemplateID = new ItemTemplateID(
|
template.item = rs.getInt("itemId");
|
||||||
rs.getInt("itemId"), null);
|
|
||||||
if (rs.getBoolean("fornoble")) {
|
if (rs.getBoolean("fornoble")) {
|
||||||
template.restrictions = Arrays
|
template.restrictions = new Restrictions();
|
||||||
.asList(TeleportRestriction.NOBLE);
|
template.restrictions.restriction = Arrays.asList("NOBLE");
|
||||||
}
|
}
|
||||||
teleportation.templates.add(template);
|
teleportation.teleport.add(template);
|
||||||
}
|
}
|
||||||
m.marshal(teleportation, getXMLSerializer(new FileOutputStream(
|
m.marshal(teleportation, getXMLSerializer(new FileOutputStream(
|
||||||
new File(target, "../teleports.xml"))));
|
new File(target, "../teleports.xml"))));
|
||||||
Reference in New Issue
Block a user