OlympiadInfo.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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.olympiad;
  16. /**
  17. * @author JIV
  18. */
  19. public class OlympiadInfo
  20. {
  21. private final String _name;
  22. private final String _clan;
  23. private final int _clanId;
  24. private final int _classId;
  25. private final int _dmg;
  26. private final int _curPoints;
  27. private final int _diffPoints;
  28. public OlympiadInfo(String name, String clan, int clanId, int classId, int dmg, int curPoints, int diffPoints)
  29. {
  30. _name = name;
  31. _clan = clan;
  32. _clanId = clanId;
  33. _classId = classId;
  34. _dmg = dmg;
  35. _curPoints = curPoints;
  36. _diffPoints = diffPoints;
  37. }
  38. /**
  39. * @return the name the player's name.
  40. */
  41. public String getName()
  42. {
  43. return _name;
  44. }
  45. /**
  46. * @return the name the player's clan name.
  47. */
  48. public String getClanName()
  49. {
  50. return _clan;
  51. }
  52. /**
  53. * @return the name the player's clan id.
  54. */
  55. public int getClanId()
  56. {
  57. return _clanId;
  58. }
  59. /**
  60. * @return the name the player's class id.
  61. */
  62. public int getClassId()
  63. {
  64. return _classId;
  65. }
  66. /**
  67. * @return the name the player's damage.
  68. */
  69. public int getDamage()
  70. {
  71. return _dmg;
  72. }
  73. /**
  74. * @return the name the player's current points.
  75. */
  76. public int getCurrentPoints()
  77. {
  78. return _curPoints;
  79. }
  80. /**
  81. * @return the name the player's points difference since this match.
  82. */
  83. public int getDiffPoints()
  84. {
  85. return _diffPoints;
  86. }
  87. }