Package l2p.extensions.listeners.events.L2Zone

Examples of l2p.extensions.listeners.events.L2Zone.L2ZoneEnterLeaveEvent


   * @see l2p.gameserver.model.L2Zone#doLeave(l2p.gameserver.model.L2Object, boolean)
   */
  @Override
  public final void methodInvoked(MethodEvent e)
  {
    L2ZoneEnterLeaveEvent event = (L2ZoneEnterLeaveEvent) e;
    L2Zone owner = event.getOwner();
    L2Object actor = event.getArgs()[0];
    if(e.getMethodName().equals(L2ZoneObjectEnter))
    {
      objectEntered(owner, actor);
    }
    else
View Full Code Here


    if(object.inObserverMode())
    {
      return;
    }
    object.addZone(this);
    getListenerEngine().fireMethodInvoked(new L2ZoneEnterLeaveEvent(MethodCollection.L2ZoneObjectEnter, this, new L2Object[] {object}));
    checkEffects(object, true);
    addZoneStats((L2Character) object);
    if(object.isPlayer())
    {
      ((L2Player) object).doZoneCheck(_entering_message_no);
View Full Code Here

    if(object.inObserverMode())
    {
      return;
    }
    object.removeZone(this);
    getListenerEngine().fireMethodInvoked(new L2ZoneEnterLeaveEvent(MethodCollection.L2ZoneObjectLeave, this, new L2Object[] {object}));
    checkEffects(object, false);
    removeZoneStats((L2Character) object);
    if(object.isPlayer())
    {
      ((L2Player) object).doZoneCheck(_leaving_message_no);
View Full Code Here

TOP

Related Classes of l2p.extensions.listeners.events.L2Zone.L2ZoneEnterLeaveEvent

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.