1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-09 08:52:51 +00:00

NPC Chatting

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-25 02:38:15 -03:00
parent ad6a2e89d2
commit 7033518023
21 changed files with 613 additions and 75 deletions

View File

@@ -50,6 +50,8 @@ public class ItemTemplate extends AbstractTemplate<Item> {
@XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
protected ItemTemplateID id;
@XmlAttribute(name = "name")
protected String name;
@XmlElement(name = "weight")
protected int weight = 0;
@XmlElement(name = "price")
@@ -81,6 +83,13 @@ public class ItemTemplate extends AbstractTemplate<Item> {
return new Item(id);
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @return the weight
*/