OlympiadInfo.java 2.1 KB

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