Package l2p.gameserver.clientpackets

Source Code of l2p.gameserver.clientpackets.RequestSkillList

package l2p.gameserver.clientpackets;

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

public final class RequestSkillList extends L2GameClientPacket
{
  private static final String _C__50_REQUESTSKILLLIST = "[C] 50 RequestSkillList";

  @Override
  protected void readImpl()
  {
    // this is just a trigger packet. it has no content
  }

  @Override
  protected void runImpl()
  {
    L2Player cha = getClient().getActiveChar();
    if(cha != null)
    {
      cha.sendPacket(new SkillList(cha));
    }
  }

  @Override
  public String getType()
  {
    return _C__50_REQUESTSKILLLIST;
  }
}
TOP

Related Classes of l2p.gameserver.clientpackets.RequestSkillList

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.