Uses of Class
games.stendhal.server.entity.trade.Offer
Package
Description
-
Uses of Offer in games.stendhal.server.entity.trade
Modifier and TypeMethodDescriptionMarket.createOffer(Player offerer, Item item, Integer money, Integer number)
creates a new offer at the marketMarket.prolongOffer(Offer offer)
prolongs an offer in the market to make it available againModifier and TypeMethodDescriptionMarket.getExpiredOffers()
Market.getExpiredOffersOlderThan(int seconds)
Get a list of expired offers whose timestamp is older than specified.Market.getOffersOlderThan(int seconds)
Get a list of offers whose timestamp is older than specified.Modifier and TypeMethodDescriptionboolean
Market.acceptOffer(Offer offer, Player acceptingPlayer)
Completes a trade of an offer by transferring item to accepting player and taking the money from himboolean
void
Market.expireOffer(Offer o)
expires an offer and removes it from the available offersMarket.prolongOffer(Offer offer)
prolongs an offer in the market to make it available againvoid
Market.removeExpiredOffer(Offer offerToRemove)
removes an expired offer permanently from the marketvoid
Market.removeOffer(Offer o, Player p)
removes an offer from the market and returns the item to the user -
Uses of Offer in games.stendhal.server.maps.semos.tavern.market