Examples of deleteMe()

  • com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.deleteMe()
    Manage the delete task of a L2PcInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).

    Actions :

  • If the L2PcInstance is in observer mode, set its position to its position before entering in observer mode
  • Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
  • Stop the HP/MP/CP Regeneration task
  • Cancel Crafting, Attak or Cast
  • Remove the L2PcInstance from the world
  • Stop Party and Unsummon Pet
  • Update database with items in its inventory and remove them from the world
  • Remove all L2Object from _knownObjects and _knownPlayer of the L2Character then cancel Attak or Cast and notify AI
  • Close the connection with the client


  • com.l2jfrozen.gameserver.model.actor.instance.L2SiegeGuardInstance.deleteMe()
  • l2p.gameserver.model.L2Object.deleteMe()
    Удаляет объект из мира вообще. Не путать с decayMe. Обьект после deleteMe подлежит сборке мусора. Если попытаться использовать объект после deleteMe будет большая фигня!!!
  • l2p.gameserver.model.L2Summon.deleteMe()
  • l2p.gameserver.model.entity.vehicle.L2AirShip.deleteMe()
  • l2p.gameserver.model.instances.L2NpcInstance.deleteMe()
  • l2p.gameserver.model.instances.L2SiegeHeadquarterInstance.deleteMe()
  • l2p.gameserver.model.items.L2ItemInstance.deleteMe()
  • lineage2.gameserver.model.GameObject.deleteMe()
    Method deleteMe.
  • lineage2.gameserver.model.instances.MonsterInstance.deleteMe()
    Method deleteMe.
  • lineage2.gameserver.model.instances.NpcInstance.deleteMe()
    Method deleteMe.
  • lineage2.gameserver.model.instances.TrapInstance.deleteMe()
    Method deleteMe.
  • lineage2.gameserver.model.items.ItemInstance.deleteMe()
    Method deleteMe.
  • net.sf.l2j.gameserver.communitybbs.BB.Post.deleteme()
  • net.sf.l2j.gameserver.communitybbs.BB.Topic.deleteme()
    @param f
  • net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.deleteMe()
    Remove PROPERLY the L2NpcInstance from the world.

    Actions :

  • Remove the L2NpcInstance from the world and update its spawn object
  • Remove all L2Object from _knownObjects and _knownPlayer of the L2NpcInstance then cancel Attak or Cast and notify AI
  • Remove L2Object object from _allObjects of L2World


  • Caution : This method DOESN'T SEND Server->Client packets to players

  • net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.deleteMe()
    Manage the delete task of a L2PcInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
    Actions :
  • If the L2PcInstance is in observer mode, set its position to its position before entering in observer mode
  • Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
  • Stop the HP/MP/CP Regeneration task
  • Cancel Crafting, Attak or Cast
  • Remove the L2PcInstance from the world
  • Stop Party and Unsummon Pet
  • Update database with items in its inventory and remove them from the world
  • Remove all L2Object from _knownObjects and _knownPlayer of the L2Character then cancel Attak or Cast and notify AI
  • Close the connection with the client

  • net.sf.l2j.gameserver.model.actor.instance.L2SiegeGuardInstance.deleteMe()
  • npc.model.MeleonInstance.deleteMe()
  • npc.model.SquashInstance.deleteMe()

  • Examples of l2p.gameserver.model.instances.L2NpcInstance.deleteMe()

            isQuest.deleteMe();
          }
          isQuest = L2ObjectsStorage.getByNpcId(VultusSonOfVoltarQuestMonster);
          if(isQuest != null)
          {
            isQuest.deleteMe();
          }
          QuestTimer timer = st.getQuestTimer("Wait1");
          if(timer != null)
          {
            timer.cancel();
    View Full Code Here

    Examples of l2p.gameserver.model.instances.L2NpcInstance.deleteMe()

        {
          //Велосипед, но нужно удалить всех 4 одинаковых мобов
          L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(EnkuOrcOverlordQuestMonster);
          if(isQuest != null)
          {
            isQuest.deleteMe();
          }
          isQuest = L2ObjectsStorage.getByNpcId(EnkuOrcOverlordQuestMonster);
          if(isQuest != null)
          {
            isQuest.deleteMe();
    View Full Code Here

    Examples of l2p.gameserver.model.instances.L2NpcInstance.deleteMe()

            isQuest.deleteMe();
          }
          isQuest = L2ObjectsStorage.getByNpcId(EnkuOrcOverlordQuestMonster);
          if(isQuest != null)
          {
            isQuest.deleteMe();
          }
          isQuest = L2ObjectsStorage.getByNpcId(EnkuOrcOverlordQuestMonster);
          if(isQuest != null)
          {
            isQuest.deleteMe();
    View Full Code Here

    Examples of l2p.gameserver.model.instances.L2NpcInstance.deleteMe()

            isQuest.deleteMe();
          }
          isQuest = L2ObjectsStorage.getByNpcId(EnkuOrcOverlordQuestMonster);
          if(isQuest != null)
          {
            isQuest.deleteMe();
          }
          isQuest = L2ObjectsStorage.getByNpcId(EnkuOrcOverlordQuestMonster);
          if(isQuest != null)
          {
            isQuest.deleteMe();
    View Full Code Here

    Examples of l2p.gameserver.model.instances.L2SiegeHeadquarterInstance.deleteMe()

          L2SiegeHeadquarterInstance outpost = siegeClan.getHeadquarter();
          if(outpost == null)
          {
            return;
          }
          outpost.deleteMe();
          siegeClan.setHeadquarter(null);
        }
      }
    }
    View Full Code Here

    Examples of l2p.gameserver.model.items.L2ItemInstance.deleteMe()

              for(L2Skill skill : skills)
              {
                altUseSkill(skill, this);
              }
            }
            target.deleteMe();
            return;
          }
          if(!target.pickupMe(this))
          {
            owner.sendActionFailed();
    View Full Code Here

    Examples of lineage2.gameserver.model.GameObject.deleteMe()

              ((NpcInstance) npc1).doDie(player);
            }
            if (cond == 6)
            {
              player.sendPacket(new ExShowScreenMessage(NpcString.GRUDGE_OF_YE_SAGIRA_VICTIMS_HAVE_BEEN_RELIEVED_WITH_YOUR_TEARS, 4500, ScreenMessageAlign.TOP_CENTER));
              npc1.deleteMe();
            }
          }
          else if ((dist >= 70) && ((target == corps1) || (target == corps2) || (target == corps3) || (target == corps4)))
          {
            player.sendPacket(new ExShowScreenMessage(NpcString.YOU_ARE_TOO_FAR_FROM_CORPSE_TO_SHOW_YOUR_CONDOLENCES, 4500, ScreenMessageAlign.TOP_CENTER));
    View Full Code Here

    Examples of lineage2.gameserver.model.instances.MonsterInstance.deleteMe()

            _mob.abortCast(true, false);
            _mob.setHeading(PositionUtils.getHeadingTo(_mob, _follower));
            _mob.doCast(SkillTable.getInstance().getInfo(4485, 1), _follower, false);
            _mob.setCurrentHp(_mob.getCurrentHp() + _follower.getCurrentHp(), false);
            _follower.doDie(_follower);
            _follower.deleteMe();
          }
        }
        super.onEvtAttacked(attacker, damage);
      }
     
    View Full Code Here

    Examples of lineage2.gameserver.model.instances.NpcInstance.deleteMe()

      @Override
      public void onEvtDead(Creature killer)
      {
        final NpcInstance actor = getActor();
        super.onEvtDead(killer);
        actor.deleteMe();
        ThreadPoolManager.getInstance().schedule(new RunnableImpl()
        {
          @Override
          public void runImpl()
          {
    View Full Code Here

    Examples of lineage2.gameserver.model.instances.TrapInstance.deleteMe()

          if ((target != null) && target.isTrap())
          {
            TrapInstance trap = (TrapInstance) target;
            if (trap.getLevel() <= getPower())
            {
              trap.deleteMe();
            }
          }
        }
        if (isSSPossible())
        {
    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.