Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExOlympiadUserInfo


      }
    }
  }
  public void sendPlayersStatus(L2PcInstance spec)
  {
    spec.sendPacket(new ExOlympiadUserInfo(_playerOne, 1));
    spec.sendPacket(new ExOlympiadUserInfo(_playerTwo, 2));
    spec.sendPacket(new ExOlympiadSpelledInfo(_playerOne));
    spec.sendPacket(new ExOlympiadSpelledInfo(_playerTwo));
  }
View Full Code Here


   
    if (!checkBattleStatus())
    {
      return false;
    }
    _game._playerOne.sendPacket(new ExOlympiadUserInfo(_game._playerTwo, 1));
    _game._playerTwo.sendPacket(new ExOlympiadUserInfo(_game._playerOne, 1));
    if (OlympiadManager.STADIUMS[_game._stadiumID].getSpectators() != null)
    {
      for (L2PcInstance spec : OlympiadManager.STADIUMS[_game._stadiumID].getSpectators())
      {
        _game.sendPlayersStatus(spec);
View Full Code Here

        {
          if (Config.DEBUG)
          {
            _log.fine("Send status for Olympia window of " + getObjectId() + "(" + getName() + ") to " + player.getObjectId() + "(" + player.getName() +"). CP: " + getCurrentCp() + " HP: " + getCurrentHp() + " MP: " + getCurrentMp());
          }
          player.sendPacket(new ExOlympiadUserInfo(this, 1));
        }
      }
      if(Olympiad.getInstance().getSpectators(_olympiadGameId) != null && this.isOlympiadStart())
      {
        for(L2PcInstance spectator : Olympiad.getInstance().getSpectators(_olympiadGameId))
        {
          if (spectator == null) continue;
          spectator.sendPacket(new ExOlympiadUserInfo(this, getOlympiadSide()));
        }
      }
    } 
    if(isInDuel())
    {
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.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.