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 com.ikanow.infinit.e.data_model.index.ElasticSearchManager.deleteMe()

            if (null == eventIndex) { // (if has been previously referenced in this process space)
              eventIndex = IndexManager.getIndex(AssociationFeaturePojoIndexMap.indexName_);
            }
            eventIndex.createAlias(AssociationFeaturePojoIndexMap.indexCollectionName_);
            if (bDeleteEventFeature) {
              eventIndex.deleteMe();
              eventIndex = IndexManager.createIndex(AssociationFeaturePojoIndexMap.indexName_, null, false, null, eventGazMapping, localSettingsEvent);
            }
            //entity feature
            String gazMapping = new Gson().toJson(new EntityFeaturePojoIndexMap.Mapping(), EntityFeaturePojoIndexMap.Mapping.class)
            ElasticSearchManager entityIndex = IndexManager.createIndex(EntityFeaturePojoIndexMap.indexName_, null, false, null, gazMapping, localSettingsGaz);
    View Full Code Here

    Examples of com.ikanow.infinit.e.data_model.index.ElasticSearchManager.deleteMe()

            if (null == entityIndex) { // (if has been previously referenced in this process space)
              entityIndex = IndexManager.getIndex(EntityFeaturePojoIndexMap.indexName_);
            }
            entityIndex.createAlias(EntityFeaturePojoIndexMap.indexCollectionName_);
            if (bDeleteEntityFeature) {
              entityIndex.deleteMe();
              entityIndex = IndexManager.createIndex(EntityFeaturePojoIndexMap.indexName_, null, false, null, gazMapping, localSettingsGaz);
            }
          }
         
          //DOCS - much more complicated than anything else
    View Full Code Here

    Examples of com.ikanow.infinit.e.data_model.index.ElasticSearchManager.deleteMe()

            ElasticSearchManager docIndex = IndexManager.createIndex(sGroupIndex, DocumentPojoIndexMap.documentType_, false, null, docMapping, localSettingsGroupIndex);
            if (null == docIndex) { // index has already been referenced, hence createIndex returns null
              docIndex = IndexManager.getIndex(sGroupIndex);
            }
            if (bClearIndex) {
              docIndex.deleteMe();
              docIndex = IndexManager.createIndex(sGroupIndex, DocumentPojoIndexMap.documentType_, false, null, docMapping, localSettingsGroupIndex);
            }
            if (null != docIndex) {
              try {
                docIndex.pingIndex(); // (wait until it's created itself)
    View Full Code Here

    Examples of com.ikanow.infinit.e.data_model.index.ElasticSearchManager.deleteMe()

            docIndex.closeIndex();
          }   
        }
        else {
          ElasticSearchManager docIndex = IndexManager.getIndex(sGroupIndex);
          docIndex.deleteMe();     
        }
        //TESTED (parent, children, and personal)
       
        // Also need to delete any records indexes:
        // It's a bit more complex because we're not exactly sure which indexes exist:
    View Full Code Here

    Examples of com.ikanow.infinit.e.data_model.index.ElasticSearchManager.deleteMe()

          if (true) {
           
            // (delete the index)
            System.out.println("Deleting index...");
            elasticManager = ElasticSearchManager.getIndex(indexName, sElasticHost + ":" + sElasticPort);
            elasticManager.deleteMe();
            //(also deletes the child index - same index, different type)

            // Create the index if necessary
            String sMapping = new Gson().toJson(new DocumentPojoIndexMap.Mapping(), DocumentPojoIndexMap.Mapping.class);
    View Full Code Here

    Examples of com.ikanow.infinit.e.data_model.index.ElasticSearchManager.deleteMe()

          if ((now - then) > periodInMs*ageOutTime) {
            //DEBUG
            //System.out.println("DELETE INDEX: " + (now - then)/(periodInMs*ageOutTime));
           
            ElasticSearchManager recordsIndex = IndexManager.getIndex(index);
            recordsIndex.deleteMe();     
          }//TESTED
        }
      }//TESTED
    }
    View Full Code Here

    Examples of com.ikanow.infinit.e.data_model.index.ElasticSearchManager.deleteMe()

          System.out.print("****** FAILED: ");
          System.out.println(result.buildFailureMessage());
        }
       
        //Delete index (once testing complete)
        indexManager.deleteMe();
       
       
           
      }
    }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.communitybbs.BB.Post.deleteme()

            {
              //CPost cp = null;
              Post p = PostBBSManager.getInstance().getGPosttByTopic(t);
              if(p != null)
              {
                p.deleteme(t);
              }
              t.deleteme(f);
              parsecmd("_bbsmemo", activeChar);
              p = null;
            }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.communitybbs.BB.Topic.deleteme()

              Post p = PostBBSManager.getInstance().getGPosttByTopic(t);
              if(p != null)
              {
                p.deleteme(t);
              }
              t.deleteme(f);
              parsecmd("_bbsmemo", activeChar);
              p = null;
            }
          }
          f = null;
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DecoInstance.deleteMe()

          {
            mob.deleteMe();
          }
          if(flag != null)
          {
            flag.deleteMe();
          }
        }
      }

      public void gateControl(int val)
    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.