package l2p.gameserver.clientpackets;
import l2p.gameserver.model.L2Player;
import l2p.gameserver.serverpackets.ExGetBookMarkInfo;
public class RequestDeleteBookMarkSlot extends L2GameClientPacket
{
private int slot;
@Override
public void readImpl()
{
slot = readD();
}
@Override
public void runImpl()
{
L2Player activeChar = getClient().getActiveChar();
if(activeChar != null)
{
//TODO Msg.THE_SAVED_TELEPORT_LOCATION_WILL_BE_DELETED_DO_YOU_WISH_TO_CONTINUE
activeChar.bookmarks.remove(slot);
activeChar.sendPacket(new ExGetBookMarkInfo(activeChar));
}
}
}