Package com.l2jfrozen.gameserver.network.serverpackets

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


        }
        else if(object instanceof L2BoatInstance)
        {
          if(!_activeChar.isInBoat() && object != _activeChar.getBoat())
          {
            _activeChar.sendPacket(new VehicleInfo((L2BoatInstance) object));
            ((L2BoatInstance) object).sendVehicleDeparture(_activeChar);
          }
        }
        else if(object instanceof L2StaticObjectInstance)
        {
View Full Code Here


      else if(object instanceof L2BoatInstance)
      {
        if(!active_char.isInBoat())
          if(object != active_char.getBoat())
          {
            active_char.sendPacket(new VehicleInfo((L2BoatInstance) object));
            ((L2BoatInstance) object).sendVehicleDeparture(active_char);
          }
      }
      else if(object instanceof L2StaticObjectInstance)
      {
View Full Code Here

    Collection<L2PcInstance> knownPlayers = getKnownList().getKnownPlayers().values();
    _cycle = 1;
    beginCycle();
    if(knownPlayers == null || knownPlayers.isEmpty())
      return;
    VehicleInfo vi = new VehicleInfo(this);
    for(L2PcInstance player : knownPlayers)
    {
      player.sendPacket(vi);
    }
    knownPlayers = null;
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.VehicleInfo

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.