All pastes #23412 Raw Edit

Anonymous

public text v1 · immutable
#23412 ·published 2005-09-20 08:10 UTC
rendered paste body
/*
 * $Header: TestPacket.java, 20/09/2005 17:44:11 luisantonioa Exp $
 *
 * $Author: luisantonioa $
 * $Date: 20/09/2005 17:44:11 $
 * $Revision: 1 $
 * $Log: TestPacket.java,v $
 * Revision 1  20/09/2005 17:44:11  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.logging.Logger;

/**
 * This class ...
 * 
 * @version $Revision: 1.2 $ $Date: 2004/06/27 08:12:59 $
 */

public class TestPacket extends ServerBasePacket
{
    private static final String _S__10_TestPacket = "[S] 10 TestPacket";
    private static Logger _log = Logger.getLogger(TestPacket.class.getName());
    
    void runImpl()
    {
        
    }

    void writeImpl()
    {
        //ddh[dddhhdhhh]

        writeC(0xE9);
        writeD(10000);
        writeD(1);
        
        writeH(0x01);
        
        writeD(0x5fffffff);
        writeD(57);
        writeD(10);
        writeH(3);
        
        writeH(0x02);
        
        writeD(5073);
        writeH(5073);
        writeH(5073);
        writeH(5073);
        
        writeD(0x5fffffff);
        writeH(0x1011);
        writeH(0xffff);
        writeH(0xffff);
    }

    public String getType()
    {
        return _S__10_TestPacket;
    }

}