Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.deleteMe()


                  if (player.isFlying())
                  {
                    player.removeSkill(SkillTable.getInstance().getInfo(4289, 1));
                  }
          // notify the world about our disconnect
          player.deleteMe();

          try
                  {
            saveCharToDisk(player);
          }
View Full Code Here


    L2PcInstance player = getClient().getActiveChar();
        if (player == null) return;
    L2PcInstance target = L2PcInstance.load(_objectID);
    PcFreight freight = target.getFreight();
    getClient().getActiveChar().setActiveWarehouse(freight);
    target.deleteMe();
        ItemContainer warehouse = player.getActiveWarehouse();
        if (warehouse == null) return;
    L2FolkInstance manager = player.getLastFolkNPC();
        if ((manager == null || !player.isInsideRadius(manager, L2NpcInstance.INTERACTION_DISTANCE, false, false)) && !player.isGM()) return;
View Full Code Here

    }

    TvTEvent.onLogout(player);
    RegionBBSManager.getInstance().changeCommunityBoard();

    player.deleteMe();
    notifyFriends(player);
  }

  private void notifyFriends(L2PcInstance cha)
  {
View Full Code Here

        TvTEvent.onLogout(player);
        RegionBBSManager.getInstance().changeCommunityBoard();

        // removing player from the world
        player.deleteMe();
        L2GameClient.saveCharToDisk(client.getActiveChar());


        getClient().setActiveChar(null);
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.