root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/model/templates/portal/PortalTemplate.java
| 1448 | 1514 | ||
|---|---|---|---|
19 | import javax.xml.bind.annotation.XmlAccessType; | 19 | import javax.xml.bind.annotation.XmlAccessType; |
20 | import javax.xml.bind.annotation.XmlAccessorType; | 20 | import javax.xml.bind.annotation.XmlAccessorType; |
21 | import javax.xml.bind.annotation.XmlAttribute; | 21 | import javax.xml.bind.annotation.XmlAttribute; |
22 | import javax.xml.bind.annotation.XmlElement; | ||
22 | import javax.xml.bind.annotation.XmlType; | 23 | import javax.xml.bind.annotation.XmlType; |
23 | 24 | ||
25 | import com.aionemu.gameserver.model.Race; | ||
26 | |||
24 | /** | 27 | /** |
25 | * @author ATracer | 28 | * @author ATracer |
26 | * | 29 | * |
... | ... | ||
31 | { | 34 | { |
32 | @XmlAttribute(name = "npcid") | 35 | @XmlAttribute(name = "npcid") |
33 | protected int npcId; | 36 | protected int npcId; |
34 | @XmlAttribute(name = "mapid") | ||
35 | protected int mapId; | ||
36 | @XmlAttribute(name = "x") | ||
37 | protected float x; | ||
38 | @XmlAttribute(name = "y") | ||
39 | protected float y; | ||
40 | @XmlAttribute(name = "z") | ||
41 | protected float z; | ||
42 | @XmlAttribute(name = "instance") | 37 | @XmlAttribute(name = "instance") |
43 | protected boolean instance; | 38 | protected boolean instance; |
44 | @XmlAttribute(name = "minlevel") | 39 | @XmlAttribute(name = "minlevel") |
45 | protected int minLevel; | 40 | protected int minLevel; |
46 | @XmlAttribute(name = "maxlevel") | 41 | @XmlAttribute(name = "maxlevel") |
47 | protected int maxLevel; | 42 | protected int maxLevel; |
48 | @XmlAttribute(name = "item_id") | 43 | @XmlAttribute(name = "group") |
49 | protected boolean group; | 44 | protected boolean group; |
45 | @XmlAttribute(name = "race") | ||
46 | protected Race race; | ||
47 | @XmlElement(name = "entrypoint") | ||
48 | protected EntryPoint entryPoint; | ||
49 | @XmlElement(name = "exitpoint") | ||
50 | protected ExitPoint exitPoint; | ||
50 | /** | 51 | /** |
51 | * @return the npcId | 52 | * @return the npcId |
52 | */ | 53 | */ |
... | ... | ||
55 | return npcId; | 56 | return npcId; |
56 | } | 57 | } |
57 | /** | 58 | /** |
58 | * @return the mapId | ||
59 | */ | ||
60 | public int getMapId() | ||
61 | { | ||
62 | return mapId; | ||
63 | } | ||
64 | /** | ||
65 | * @return the x | ||
66 | */ | ||
67 | public float getX() | ||
68 | { | ||
69 | return x; | ||
70 | } | ||
71 | /** | ||
72 | * @return the y | ||
73 | */ | ||
74 | public float getY() | ||
75 | { | ||
76 | return y; | ||
77 | } | ||
78 | /** | ||
79 | * @return the z | ||
80 | */ | ||
81 | public float getZ() | ||
82 | { | ||
83 | return z; | ||
84 | } | ||
85 | /** | ||
86 | * @return the instance | 59 | * @return the instance |
87 | */ | 60 | */ |
88 | public boolean isInstance() | 61 | public boolean isInstance() |
... | ... | ||
110 | { | 83 | { |
111 | return group; | 84 | return group; |
112 | } | 85 | } |
86 | /** | ||
87 | * @return the race | ||
88 | */ | ||
89 | public Race getRace() | ||
90 | { | ||
91 | return race; | ||
92 | } | ||
93 | /** | ||
94 | * @return the entryPoint | ||
95 | */ | ||
96 | public EntryPoint getEntryPoint() | ||
97 | { | ||
98 | return entryPoint; | ||
99 | } | ||
100 | /** | ||
101 | * @return the exitPoint | ||
102 | */ | ||
103 | public ExitPoint getExitPoint() | ||
104 | { | ||
105 | return exitPoint; | ||
106 | } | ||
113 | } | 107 | } |
Download diff