Package lineage2.gameserver.model.instances

Examples of lineage2.gameserver.model.instances.DoorInstance.addListener()


      if (random > 15000)
      {
        message = random - 15000;
        ThreadPoolManager.getInstance().schedule(new BroadcastMessageTask(1, zone), message);
      }
      zone.addListener(_zoneListener);
    }
    _buffTask = ThreadPoolManager.getInstance().scheduleAtFixedRate(new BuffTask(), TICK_BUFF_DELAY, TICK_BUFF_DELAY);
  }
 
  /**
 
View Full Code Here


  {
    _zoneListener = new ZoneListener();
    for (String s : zones)
    {
      Zone zone = ReflectionUtils.getZone(s);
      zone.addListener(_zoneListener);
    }
  }
 
  /**
   * Method onLoad.
View Full Code Here

  {
    _zoneListener = new ZoneListener();
    Zone zone = ReflectionUtils.getZone(ZONE_NAME);
    if (zone != null)
    {
      zone.addListener(_zoneListener);
    }
  }
 
  /**
   * @author Mobius
View Full Code Here

  @Override
  public void onLoad()
  {
    _zoneListener = new ZoneListener();
    Zone zone = ReflectionUtils.getZone("[queen_ant_epic]");
    zone.addListener(_zoneListener);
  }
 
  /**
   * Method onReload.
   * @see lineage2.gameserver.scripts.ScriptFile#onReload()
View Full Code Here

  {
    _zoneListener = new ZoneListener();
    for (String s : zones)
    {
      Zone zone = ReflectionUtils.getZone(s);
      zone.addListener(_zoneListener);
    }
  }
 
  /**
   * Method onReload.
View Full Code Here

  {
    _zoneListener = new ZoneListener();
    Zone zone = ReflectionUtils.getZone(ZONE_NAME);
    if (zone != null)
    {
      zone.addListener(_zoneListener);
    }
  }
 
  /**
   * @author Mobius
View Full Code Here

  {
    _zoneListener = new ZoneListener();
    for (String s : zones)
    {
      Zone zone = ReflectionUtils.getZone(s);
      zone.addListener(_zoneListener);
    }
  }

  @Override
  public void onLoad()
View Full Code Here

  {
    _zoneListener = new ZoneListener();
    for (String s : zones)
    {
      Zone zone = ReflectionUtils.getZone(s);
      zone.addListener(_zoneListener);
    }
  }
 
  /**
   * Method onReload.
View Full Code Here

  private void init()
  {
    _zoneListener = new ZoneListener();
    Zone zone = ReflectionUtils.getZone(TELEPORT_ZONE_NAME);
    zone.addListener(_zoneListener);
  }

  @Override
  public void onLoad()
  {
View Full Code Here

    if ((_teleportZones != null) && !_teleportZones.isEmpty())
    {
      for (String s : _teleportZones.keySet())
      {
        Zone zone = ReflectionUtils.getZone(s);
        zone.addListener(_zoneListener);
      }
    }
    _regionsData[0] = new SeedRegion(new String[]
    {
      "[14_23_beastacon_for_melee_for_pc]",
View Full Code Here

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.