Examples of cancelAuction()


Examples of l2p.gameserver.model.entity.Auction.Auction.cancelAuction()

        {
          clanhall.changeOwner(player.getClan());
          Auction auction = AuctionManager.getInstance().getAuction(clanhall.getId());
          if(auction != null)
          {
            auction.cancelAuction();
          }
          _log.fine("ClanHall " + clanhall.getName() + "(id: " + clanhall.getId() + ") owned by clan " + player.getClan().getName());
        }
        break;
      case admin_clanhalldel:
View Full Code Here

Examples of l2p.gameserver.model.entity.Auction.Auction.cancelAuction()

      if(auction != null)
      {
        Calendar penalty = Calendar.getInstance();
        penalty.add(Calendar.DAY_OF_MONTH, 7);
        ServerVariables.set("auction_penalty_ch" + auction.getId(), penalty.getTimeInMillis());
        auction.cancelAuction();
        player.sendMessage(new CustomMessage("l2p.gameserver.model.instances.L2AuctioneerInstance.CanceledAuction", player));
      }
      return;
    }
    else if(actualCommand.equalsIgnoreCase("sale2"))
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.