Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.ExOlympiadUserInfo


    // ExEventMatchUserInfo
    if(sender != null)
    {
      if(receiver != null)
      {
        receiver.sendPacket(new ExOlympiadUserInfo(sender, sender.getOlympiadSide()));
      }
      else
      {
        broadcastPacket(new ExOlympiadUserInfo(sender, sender.getOlympiadSide()), !onlyToSpectators, true);
      }
    }
    else
    {
      // Рассылаем информацию о первой команде
      for(L2Player player : _team1.getPlayers())
      {
        if(receiver != null)
        {
          receiver.sendPacket(new ExOlympiadUserInfo(player, player.getOlympiadSide()));
        }
        else
        {
          broadcastPacket(new ExOlympiadUserInfo(player, player.getOlympiadSide()), !onlyToSpectators, true);
        }
      }
      // Рассылаем информацию о второй команде
      for(L2Player player : _team2.getPlayers())
      {
        if(receiver != null)
        {
          receiver.sendPacket(new ExOlympiadUserInfo(player, player.getOlympiadSide()));
        }
        else
        {
          broadcastPacket(new ExOlympiadUserInfo(player, player.getOlympiadSide()), !onlyToSpectators, true);
        }
      }
    }
  }
View Full Code Here


    for(TeamMember member : _members)
    {
      L2Player player = member.getPlayer();
      if(player != null)
      {
        player.broadcastPacket(new ExOlympiadUserInfo(player, player.getOlympiadSide()));
      }
    }
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.ExOlympiadUserInfo

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.