Package l2p.gameserver.clientpackets

Source Code of l2p.gameserver.clientpackets.RequestListPartyMatchingWaitingRoom

package l2p.gameserver.clientpackets;

import java.util.logging.Logger;

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

/**
* Format: dddd
*/
public class RequestListPartyMatchingWaitingRoom extends L2GameClientPacket
{
  protected static final Logger _log = Logger.getLogger(RequestListPartyMatchingWaitingRoom.class.getName());
  @SuppressWarnings("unused")
  private int _minLevel, _maxLevel, _page, _unk;

  @Override
  protected void readImpl()
  {
    _page = readD();
    _minLevel = readD();
    _maxLevel = readD();
    _unk = readD(); // всегда 1?
  }

  @Override
  protected void runImpl()
  {
    L2Player activeChar = getClient().getActiveChar();
    if(activeChar == null)
    {
      return;
    }
    activeChar.sendPacket(new ExListPartyMatchingWaitingRoom(activeChar, _minLevel, _maxLevel, _page));
  }
}
TOP

Related Classes of l2p.gameserver.clientpackets.RequestListPartyMatchingWaitingRoom

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.