Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.PledgeInfo


    {
      L2Clan clan = player.getClan();
      clan.setName(args[0]);
      clan.updateClanInDB();
      clan.broadcastClanStatus(true, true, true);
      clan.broadcastToOnlineMembers(new PledgeInfo(clan));
      for(L2Player ch : L2World.getAroundPlayers(player))
      {
        if(ch != null && ch.getClan() != clan)
        {
          ch.sendPacket(new PledgeInfo(clan));
        }
      }
    }
    list();
  }
View Full Code Here


      //Util.handleIllegalPlayerAction(activeChar, "RequestPledgeInfo[40]", "Clan data for clanId " + _clanId + " is missing", 1);
      //_log.warning("Host " + getClient().getIpAddr() + " possibly sends fake packets. activeChar: " + activeChar);
      activeChar.sendActionFailed();
      return;
    }
    activeChar.sendPacket(new PledgeInfo(clan));
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.PledgeInfo

Copyright © 2018 www.massapicom. 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.