L2ShortCut.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 net.sf.l2j.gameserver.model;
  16. /**
  17. * This class ...
  18. *
  19. * @version $Revision: 1.3.4.1 $ $Date: 2005/03/27 15:29:32 $
  20. */
  21. public class L2ShortCut
  22. {
  23. public final static int TYPE_ITEM = 1;
  24. public final static int TYPE_SKILL = 2;
  25. public final static int TYPE_ACTION = 3;
  26. public final static int TYPE_MACRO = 4;
  27. public final static int TYPE_RECIPE = 5;
  28. private final int _slot;
  29. private final int _page;
  30. private final int _type;
  31. private final int _id;
  32. private final int _level;
  33. public L2ShortCut(int slotId, int pageId, int shortcutType,
  34. int shortcutId, int shortcutLevel, int unknown)
  35. {
  36. _slot = slotId;
  37. _page = pageId;
  38. _type = shortcutType;
  39. _id = shortcutId;
  40. _level = shortcutLevel;
  41. //_unk = unknown;
  42. }
  43. public int getId()
  44. {
  45. return _id;
  46. }
  47. public int getLevel()
  48. {
  49. return _level;
  50. }
  51. public int getPage()
  52. {
  53. return _page;
  54. }
  55. public int getSlot()
  56. {
  57. return _slot;
  58. }
  59. public int getType()
  60. {
  61. return _type;
  62. }
  63. }