/* * $Header: MultiSellList.java, 2/08/2005 14:21:01 luisantonioa Exp $ * * $Author: luisantonioa $ * $Date: 2/08/2005 14:21:01 $ * $Revision: 1 $ * $Log: MultiSellList.java,v $ * Revision 1 2/08/2005 14:21:01 luisantonioa * Added copyright notice * * * This program 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 2, or (at your option) * any later version. * * This program 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, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */package net.sf.l2j.gameserver.serverpackets;import java.util.ArrayList;import net.sf.l2j.gameserver.model.L2MultiSell;import net.sf.l2j.gameserver.model.L2PcInstance;import net.sf.l2j.gameserver.model.L2MultiSell.MultisellEntry;/** * This class ... * * @version $Revision: 1.2 $ $Date: 2004/06/27 08:12:59 $ */public class MultiSellList extends ServerBasePacket{ private static final String _S__D0_MULTISELLLIST = "[S] D0 MultiSellList"; protected L2PcInstance _player; protected int _listId; protected ArrayList<MultisellEntry> list; public MultiSellList( L2PcInstance p, int listId ) { _player = p; _listId = listId; list = L2MultiSell.getInstance().getList(_listId); } void runImpl() { } void writeImpl() { //ddddd [dchh] [hdhdh] [hhdh] writeC(0xd0); writeD(1); writeD(1); writeD(1); writeD(1); writeD(1); writeD(1); writeC(1); writeH(1); writeH(1); writeH(1); writeD(1); writeH(1); writeD(1); writeH(1); writeH(1); writeH(1); writeD(1); writeH(1); } @Override public String getType() { return _S__D0_MULTISELLLIST; }}