package l2p.gameserver.clientpackets;
import l2p.gameserver.model.L2Player;
import l2p.gameserver.serverpackets.FinishRotating;
/**
* format: cdd
*/
public class FinishRotatingC extends L2GameClientPacket
{
private int _degree;
@SuppressWarnings("unused")
private int _unknown;
@Override
public void readImpl()
{
_degree = readD();
_unknown = readD();
}
@Override
public void runImpl()
{
L2Player activeChar = getClient().getActiveChar();
if(activeChar == null)
{
return;
}
activeChar.broadcastPacket(new FinishRotating(activeChar, _degree, 0));
}
}