L2TeleportLocation.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /*
  2. * This program is free software: you can redistribute it and/or modify it under
  3. * the terms of the GNU General Public License as published by the Free Software
  4. * Foundation, either version 3 of the License, or (at your option) any later
  5. * version.
  6. *
  7. * This program is distributed in the hope that it will be useful, but WITHOUT
  8. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  10. * details.
  11. *
  12. * You should have received a copy of the GNU General Public License along with
  13. * this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. package com.l2jserver.gameserver.model;
  16. /**
  17. * This class ...
  18. *
  19. * @version $Revision: 1.2.4.1 $ $Date: 2005/03/27 15:29:32 $
  20. */
  21. public class L2TeleportLocation
  22. {
  23. private int _teleId;
  24. private int _locX;
  25. private int _locY;
  26. private int _locZ;
  27. private int _price;
  28. private boolean _forNoble;
  29. private int _itemId;
  30. /**
  31. * @param id
  32. */
  33. public void setTeleId(int id)
  34. {
  35. _teleId = id;
  36. }
  37. /**
  38. * @param locX
  39. */
  40. public void setLocX(int locX)
  41. {
  42. _locX = locX;
  43. }
  44. /**
  45. * @param locY
  46. */
  47. public void setLocY(int locY)
  48. {
  49. _locY = locY;
  50. }
  51. /**
  52. * @param locZ
  53. */
  54. public void setLocZ(int locZ)
  55. {
  56. _locZ = locZ;
  57. }
  58. /**
  59. * @param price
  60. */
  61. public void setPrice(int price)
  62. {
  63. _price = price;
  64. }
  65. /**
  66. * @param val
  67. */
  68. public void setIsForNoble(boolean val)
  69. {
  70. _forNoble = val;
  71. }
  72. /**
  73. * @param val
  74. */
  75. public void setItemId(int val)
  76. {
  77. _itemId = val;
  78. }
  79. /**
  80. * @return
  81. */
  82. public int getTeleId()
  83. {
  84. return _teleId;
  85. }
  86. /**
  87. * @return
  88. */
  89. public int getLocX()
  90. {
  91. return _locX;
  92. }
  93. /**
  94. * @return
  95. */
  96. public int getLocY()
  97. {
  98. return _locY;
  99. }
  100. /**
  101. * @return
  102. */
  103. public int getLocZ()
  104. {
  105. return _locZ;
  106. }
  107. /**
  108. * @return
  109. */
  110. public int getPrice()
  111. {
  112. return _price;
  113. }
  114. /**
  115. * @return
  116. */
  117. public boolean getIsForNoble()
  118. {
  119. return _forNoble;
  120. }
  121. /**
  122. * @return
  123. */
  124. public int getItemId()
  125. {
  126. return _itemId;
  127. }
  128. }