Package l2p.gameserver.clientpackets

Source Code of l2p.gameserver.clientpackets.RequestKeyMapping

package l2p.gameserver.clientpackets;

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

public class RequestKeyMapping extends L2GameClientPacket
{
  @Override
  protected void readImpl()
  {
  }

  @Override
  protected void runImpl()
  {
    L2Player player = getClient().getActiveChar();
    if(player != null)
    {
      player.sendPacket(new ExUISetting(player.getKeyBindings()));
    }
  }
}
TOP

Related Classes of l2p.gameserver.clientpackets.RequestKeyMapping

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.