L2TeleportLocation.java 2.2 KB

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