/* * Copyright (C) 2004-2014 L2J Server * * This file is part of L2J Server. * * L2J Server is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * L2J Server is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ package com.l2jserver.gameserver.model; /** * This class ... * @version $Revision: 1.3.4.1 $ $Date: 2005/03/27 15:29:32 $ */ public class L2ShortCut { public static final int TYPE_ITEM = 1; public static final int TYPE_SKILL = 2; public static final int TYPE_ACTION = 3; public static final int TYPE_MACRO = 4; public static final int TYPE_RECIPE = 5; public static final int TYPE_TPBOOKMARK = 6; private final int _slot; private final int _page; private final int _type; private final int _id; private final int _level; private final int _characterType; private int _sharedReuseGroup = -1; public L2ShortCut(int slotId, int pageId, int shortcutType, int shortcutId, int shortcutLevel, int characterType) { _slot = slotId; _page = pageId; _type = shortcutType; _id = shortcutId; _level = shortcutLevel; _characterType = characterType; } public int getId() { return _id; } public int getLevel() { return _level; } public int getPage() { return _page; } public int getSlot() { return _slot; } public int getType() { return _type; } public int getCharacterType() { return _characterType; } public int getSharedReuseGroup() { return _sharedReuseGroup; } public void setSharedReuseGroup(int g) { _sharedReuseGroup = g; } }