Package l2p.gameserver.loginservercon.lspackets

Source Code of l2p.gameserver.loginservercon.lspackets.BanIPList

package l2p.gameserver.loginservercon.lspackets;

import l2p.gameserver.loginservercon.AttLS;
import l2p.util.BannedIp;
import l2p.util.GArray;

public class BanIPList extends LoginServerBasePacket
{
  GArray<BannedIp> baniplist = new GArray<BannedIp>();

  public BanIPList(byte[] decrypt, AttLS loginServer)
  {
    super(decrypt, loginServer);
  }

  @Override
  public void read()
  {
    int size = readD();
    for(int i = 0; i < size; i++)
    {
      BannedIp ip = new BannedIp();
      ip.ip = readS();
      ip.admin = readS();
      baniplist.add(ip);
    }
  }
}
TOP

Related Classes of l2p.gameserver.loginservercon.lspackets.BanIPList

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.