Package l2p.gameserver.clientpackets

Source Code of l2p.gameserver.clientpackets.RequestExRqItemLink

package l2p.gameserver.clientpackets;

import l2p.gameserver.model.L2Player;
import l2p.gameserver.serverpackets.ExRpItemLink;

public class RequestExRqItemLink extends L2GameClientPacket
{
  // format: (ch)d
  int _item;

  @Override
  public void readImpl()
  {
    _item = readD();
  }

  @Override
  public void runImpl()
  {
    L2Player activeChar = getClient().getActiveChar();
    if(activeChar != null)
    {
      activeChar.sendPacket(new ExRpItemLink(_item));
    }
  }
}
TOP

Related Classes of l2p.gameserver.clientpackets.RequestExRqItemLink

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.