All pastes #19048 Raw Edit

Stuff

public text v1 · immutable
#19048 ·published 2005-08-02 03:32 UTC
rendered paste body
package net.sf.l2j.info.serverpackets;

public class MultiSellList extends ServerBasePacket
{
	private static final String _S__D0_MULTISELLLIST = "[S] D0 MultiSellList";

	void writeImpl()
	{
		
        //writeC(0xd0);
        writeD("list id"); //?? list id
        int count = writeH("count");
        //writeD("list lenght"); //list lenght
        for(int i = 0; i < count; i++)
        {
        	indent();
        	nl();
            writeD("makeID"); // makeID
            writeD("itemID"); //itemID
            writeD("type"); //itemType
            writeD("itemAmount"); //itemAmount
            int reqamount = writeD("req items amount"); //?? unknown ( Required Items Lenght ?? )
            for (int j=0; i < reqamount; i++)
            {
                writeD("req item"); //required
                writeD("req amount"); //itemCount
                writeD("unknown"); //?? unknown ( Enchant Level ?? )            	
            }
            writeD("unknown"); //?? unknown
        }		
				
	}

	@Override
	public String getType()
	{
		return _S__D0_MULTISELLLIST;
	}

}