Examples of prolongOffer()


Examples of games.stendhal.server.entity.trade.Market.prolongOffer()

    }
   
    private boolean prolongOffer(Player player, Offer o) {
      Market market = TradeCenterZoneConfigurator.getShopFromZone(player.getZone());
      if (market != null) {
        if (market.prolongOffer(o) != null) {
          String messageNumberOfOffers = "You now have put "+Integer.valueOf(market.countOffersOfPlayer(player)).toString()+" offers.";
          player.sendPrivateText(messageNumberOfOffers);
         
          return true;
        }
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.