CMObject, Tickable, CMLibrary, ShoppingLibrary, java.lang.Cloneable, java.lang.Comparable<CMObject>public class CoffeeShops extends StdLibrary implements ShoppingLibrary
idConverterisDebugging, name, serviceClient, tickStatusSTATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET| Constructor | Description |
|---|---|
CoffeeShops() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<Environmental> |
addRealEstateTitles(java.util.List<Environmental> productsV,
MOB buyer,
CoffeeShop shop,
Room myRoom) |
Adjusts the given inventory of a shopkeepers shop by adding external inventory, which might include
new real estate titles, or existing titles to real estate, ships, and the like.
|
protected Pair<java.lang.Double,java.lang.String>[] |
alternateParseItemPricingAdjustments(java.lang.String factors) |
|
void |
auctionNotify(MOB M,
java.lang.String resp,
java.lang.String regardingItem) |
Sends a notification to the given stakeholder in an auction for the given
item.
|
java.lang.String[] |
bid(MOB mob,
double bid,
java.lang.String bidCurrency,
AuctionData auctionData,
Item I,
java.util.List<java.lang.String> auctionAnnounces) |
Submits a new bid for an item by the given mob, of the given
amount of the given currency to the given auction for the
given item.
|
void |
cancelAuction(java.lang.String auctionHouse,
AuctionData data) |
Cancels the given auction.
|
boolean |
doISellThis(Environmental thisThang,
ShopKeeper shop) |
Returns whether the given shopkeeper shop sells the given thing
normally.
|
AuctionData |
fetchAuctionByItemName(java.lang.String named,
java.lang.String auctionHouse) |
Returns auction data for the auction for an item of the given name
in the given auction house.
|
java.lang.String |
findInnRoom(InnKey key,
java.lang.String addThis,
Room R) |
Given an inn key, and a starting room, this will return
the directions to follow to reach the room.
|
java.util.List<Environmental> |
getAllShopkeepers(Room here,
MOB notMOB) |
Returns all the shopkeeper hosts accessible by anyone in
the given room.
|
java.lang.String |
getAuctionInventory(MOB seller,
MOB buyer,
Auctioneer auction,
java.lang.String itemName) |
Returns the formal auction listing of all items for the given auctioneer's auction house.
|
java.util.Enumeration<AuctionData> |
getAuctions(java.lang.Object ofLike,
java.lang.String auctionHouse) |
Returns an enumeration of all active auctions in the given auction house,
of the given name
|
java.lang.String |
getListForMask(java.lang.String targetMessage) |
Checks a BUY message for an english embedded 'FOR' message, which
can affect the assignment of purchased private property.
|
java.lang.String |
getListInventory(MOB seller,
MOB buyer,
java.util.List<? extends Environmental> rawInventory,
int limit,
ShopKeeper shop,
java.lang.String mask) |
Formats and returns a displayable inventory for a shopkeeper.
|
protected double |
getProductCount(Environmental product) |
|
double |
getSalesTax(Room homeRoom,
MOB seller) |
Returns the applicable sales tax percentage for the given seller from the
given room.
|
protected java.lang.String |
getSellableElectronicsName(MOB viewerM,
Electronics E) |
|
ShopKeeper |
getShopKeeper(Environmental E) |
Given a potential shopkeeper host, this will return
the shopkeeper shop itself.
|
protected double |
getStockSizeDevaluation(ShopKeeper shop,
Environmental product,
double number) |
|
protected Ability |
getTrainableAbility(MOB teacher,
Ability A) |
|
java.lang.String |
getViewDescription(MOB viewerM,
Environmental E,
java.util.Set<ShopKeeper.ViewType> flags) |
Returns the official view message for the given item and viewer
mob.
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
boolean |
ignoreIfNecessary(MOB mob,
java.lang.String ignoreMask,
MOB whoIgnores) |
Returns whether the given ignorer (usually a shopkeeper mob) is ignoring
the given mob for most purposes.
|
protected boolean |
isLotTooLarge(ShopKeeper shop,
Environmental product) |
|
protected double |
itemPriceFactor(Environmental product,
Room R,
java.lang.String[] priceFactors,
boolean pawnTo) |
|
Pair<java.lang.Long,TimeClock.TimePeriod> |
parseBudget(java.lang.String budget) |
Parses the given budget string into a data structure
showing the amount of base currency, and how often
that amount is reset for the purpose of making
purchases.
|
MOB |
parseBuyingFor(MOB buyer,
java.lang.String message) |
Given a BUY message string, will look for the FOR syntax
and return the mob in the same room as the agent buyer
with that name, or null.
|
double[] |
parseDevalueRate(java.lang.String factors) |
Parses a rate of devaluation for each purchase, preceded
optionally by a special rate just for raw resources.
|
java.lang.String[] |
parseItemPricingAdjustments(java.lang.String factors) |
Parses the given list of factors into a set of factors.
|
protected java.lang.String[] |
parsePrejudiceFactors(java.lang.String factors) |
|
boolean |
pawnEvaluation(MOB buyerShopM,
MOB sellerCustM,
Environmental product,
ShopKeeper shop,
double maxToPay,
double maxEverPaid,
boolean sellNotValue) |
Evaluates a proposed sale of an item to a shopkeeper by a player/mob
Returns whether the sale can go forth.
|
ShopKeeper.ShopPrice |
pawningPrice(MOB buyerShopM,
MOB sellerCustM,
Environmental product,
ShopKeeper shopKeeper,
CoffeeShop shop) |
Gives the value of an item that might be sold to a shopkeeper by a player/mob.
|
protected int |
plus(int range,
int hash) |
|
protected int |
plusOrMinus(int range,
int hash,
boolean lieBool) |
|
protected double |
prejudiceFactor(MOB customer,
java.lang.String factors,
boolean pawnTo) |
|
protected double |
prejudiceValueFromPart(MOB customer,
boolean pawnTo,
java.lang.String part) |
|
void |
purchaseAbility(Ability A,
MOB seller,
ShopKeeper shop,
MOB mobFor) |
Completes the purchase of the given ability from the given seller to the given
buyer mob.
|
boolean |
purchaseItems(Item baseProduct,
java.util.List<Environmental> products,
MOB seller,
MOB mobFor) |
Completes the purchase of the given item from the given seller to the given
buyer mob.
|
boolean |
purchaseMOB(MOB product,
MOB seller,
ShopKeeper shop,
MOB mobFor) |
Completes the purchase of the given follower mob from the given seller to the given
buyer mob.
|
double |
rawSpecificGoldPrice(Environmental product,
CoffeeShop shop) |
|
void |
returnMoney(MOB to,
java.lang.String currency,
double amt) |
A manipulator of the given players money.
|
void |
saveAuction(AuctionData data,
java.lang.String auctionHouse,
boolean updateOnly) |
Update the given AuctionData (an auction) for the given auctionHouse.
|
boolean |
sellEvaluation(MOB sellerShopM,
MOB buyerCustM,
Environmental product,
ShopKeeper shop,
boolean buyNotView) |
Evaluates a potential sale of an item from a shopkeeper to a player/npc.
|
ShopKeeper.ShopPrice |
sellingPrice(MOB sellerShopM,
MOB buyerCustM,
Environmental product,
ShopKeeper shopKeeper,
CoffeeShop shop,
boolean includeSalesTax) |
Gives the price of an item that might be sold to a player/mob by a shopkeeper.
|
protected boolean |
shopKeeperItemTypeCheck(Environmental E,
int dealCode,
ShopKeeper shopKeeper) |
|
protected boolean |
shownInInventory(MOB seller,
MOB buyer,
Environmental product,
ShopKeeper shopKeeper) |
|
java.lang.String |
storeKeeperString(CoffeeShop shop,
ShopKeeper keeper) |
Returns a brief plain ordinary camel-cased description of what kind
of shopkeeper this is: Miscellaneous Magic Items, General Items, etc.
|
void |
transactMoneyOnly(MOB sellerM,
MOB buyerM,
ShopKeeper shop,
Environmental product,
boolean sellerGetsPaid) |
Part of a shopkeeper selling an item to a player/mob is the transaction of the price.
|
double |
transactPawn(MOB shopkeeper,
MOB pawner,
ShopKeeper shop,
Environmental product) |
Does the transaction where a player/mob sells an item to a shopkeeper.
|
activate, getServiceClient, L, propertiesLoaded, shutdowncopyOf, initializeClass, name, newInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate, checkDatabase, compareTo, copyOf, getServiceClient, getTickStatus, initializeClass, L, name, newInstance, propertiesLoaded, setThreadStatus, shutdown, tickpublic java.lang.String ID()
CMObjectID in interface CMObjectID in class StdLibrarypublic ShopKeeper getShopKeeper(Environmental E)
ShoppingLibrarygetShopKeeper in interface ShoppingLibraryE - the potential shopkeeper hostpublic java.util.List<Environmental> getAllShopkeepers(Room here, MOB notMOB)
ShoppingLibrarygetAllShopkeepers in interface ShoppingLibraryhere - the room to find shopkeepernotMOB - an exception, or null for no exceptionsprotected java.lang.String getSellableElectronicsName(MOB viewerM, Electronics E)
protected int plusOrMinus(int range,
int hash,
boolean lieBool)
protected int plus(int range,
int hash)
public java.lang.String getViewDescription(MOB viewerM, Environmental E, java.util.Set<ShopKeeper.ViewType> flags)
ShoppingLibrarygetViewDescription in interface ShoppingLibraryviewerM - the mob viewing the iremE - the item being viewedflags - the level of information returnedShopKeeper.ViewTypeprotected boolean shownInInventory(MOB seller, MOB buyer, Environmental product, ShopKeeper shopKeeper)
public double rawSpecificGoldPrice(Environmental product, CoffeeShop shop)
protected double prejudiceValueFromPart(MOB customer, boolean pawnTo, java.lang.String part)
protected double prejudiceFactor(MOB customer, java.lang.String factors, boolean pawnTo)
protected double itemPriceFactor(Environmental product, Room R, java.lang.String[] priceFactors, boolean pawnTo)
public ShopKeeper.ShopPrice sellingPrice(MOB sellerShopM, MOB buyerCustM, Environmental product, ShopKeeper shopKeeper, CoffeeShop shop, boolean includeSalesTax)
ShoppingLibrarysellingPrice in interface ShoppingLibrarysellerShopM - the shopkeeper mobbuyerCustM - the player buyer mobproduct - the proposed produce to sell to the shopshopKeeper - the shop itselfshop - the inventory object of the shopincludeSalesTax - true to include sales tax in the price, false otherwiseShoppingLibrary.transactMoneyOnly(MOB, MOB, ShopKeeper, Environmental, boolean),
ShoppingLibrary.sellEvaluation(MOB, MOB, Environmental, ShopKeeper, boolean),
ShoppingLibrary.getSalesTax(Room, MOB)public java.lang.String[] parseItemPricingAdjustments(java.lang.String factors)
ShoppingLibraryparseItemPricingAdjustments in interface ShoppingLibraryfactors - the raw factors stringShoppingLibrary.parseDevalueRate(String),
ShoppingLibrary.parseBudget(String)protected java.lang.String[] parsePrejudiceFactors(java.lang.String factors)
protected Pair<java.lang.Double,java.lang.String>[] alternateParseItemPricingAdjustments(java.lang.String factors)
public Pair<java.lang.Long,TimeClock.TimePeriod> parseBudget(java.lang.String budget)
ShoppingLibraryparseBudget in interface ShoppingLibrarybudget - the encoded budget string (amount time period)ShoppingLibrary.parseDevalueRate(String),
ShoppingLibrary.parseItemPricingAdjustments(String)public double[] parseDevalueRate(java.lang.String factors)
ShoppingLibraryparseDevalueRate in interface ShoppingLibraryfactors - the rate of devaluation(s)ShoppingLibrary.parseItemPricingAdjustments(String),
ShoppingLibrary.parseBudget(String)protected double getStockSizeDevaluation(ShopKeeper shop, Environmental product, double number)
protected boolean isLotTooLarge(ShopKeeper shop, Environmental product)
protected double getProductCount(Environmental product)
public ShopKeeper.ShopPrice pawningPrice(MOB buyerShopM, MOB sellerCustM, Environmental product, ShopKeeper shopKeeper, CoffeeShop shop)
ShoppingLibrarypawningPrice in interface ShoppingLibrarybuyerShopM - the shopkeeper mobsellerCustM - the player seller mobproduct - the proposed produce to sell to the shopshopKeeper - the shop itselfshop - the inventory object of the shopShoppingLibrary.transactPawn(MOB, MOB, ShopKeeper, Environmental),
ShoppingLibrary.pawnEvaluation(MOB, MOB, Environmental, ShopKeeper, double, double, boolean)public double getSalesTax(Room homeRoom, MOB seller)
ShoppingLibrarygetSalesTax in interface ShoppingLibraryhomeRoom - the room the shopkeeper is originally fromseller - the seller him or herselfShoppingLibrary.transactMoneyOnly(MOB, MOB, ShopKeeper, Environmental, boolean),
ShoppingLibrary.sellEvaluation(MOB, MOB, Environmental, ShopKeeper, boolean),
ShoppingLibrary.sellingPrice(MOB, MOB, Environmental, ShopKeeper, CoffeeShop, boolean)public boolean pawnEvaluation(MOB buyerShopM, MOB sellerCustM, Environmental product, ShopKeeper shop, double maxToPay, double maxEverPaid, boolean sellNotValue)
ShoppingLibrarypawnEvaluation in interface ShoppingLibrarybuyerShopM - the shopkeeper mobsellerCustM - the player seller mobproduct - the proposed produce to sell to the shopshop - the shop itselfmaxToPay - money the shopkeeper has remainingmaxEverPaid - the overall budget of the shopkeepersellNotValue - true if a sale is proposed, and false for a valuationShoppingLibrary.transactPawn(MOB, MOB, ShopKeeper, Environmental),
ShoppingLibrary.pawningPrice(MOB, MOB, Environmental, ShopKeeper, CoffeeShop)public boolean sellEvaluation(MOB sellerShopM, MOB buyerCustM, Environmental product, ShopKeeper shop, boolean buyNotView)
ShoppingLibrarysellEvaluation in interface ShoppingLibrarysellerShopM - the mob doing the sellingbuyerCustM - the player or mob doing the buyingproduct - the product to potentiall sell to the buyershop - the actual shopbuyNotView - true if a buy is requested, false for a viewShoppingLibrary.transactMoneyOnly(MOB, MOB, ShopKeeper, Environmental, boolean),
ShoppingLibrary.getSalesTax(Room, MOB),
ShoppingLibrary.sellingPrice(MOB, MOB, Environmental, ShopKeeper, CoffeeShop, boolean)public java.lang.String getListInventory(MOB seller, MOB buyer, java.util.List<? extends Environmental> rawInventory, int limit, ShopKeeper shop, java.lang.String mask)
ShoppingLibrarygetListInventory in interface ShoppingLibraryseller - the seller mob who speaksbuyer - the buyer mob who is ... buyingrawInventory - the inventory of the seller to showlimit - 0, or maximum number of rows to displayshop - the ShopKeeper objectmask - null, or a name substring mask for items to showShoppingLibrary.getListInventory(MOB, MOB, List, int, ShopKeeper, String),
ShoppingLibrary.getListForMask(String)public java.lang.String findInnRoom(InnKey key, java.lang.String addThis, Room R)
ShoppingLibraryfindInnRoom in interface ShoppingLibrarykey - the key to find the room foraddThis - a word to prefix the directions withR - the room starting frompublic MOB parseBuyingFor(MOB buyer, java.lang.String message)
ShoppingLibraryparseBuyingFor in interface ShoppingLibrarybuyer - the agent buyer in the roommessage - the buy message stringpublic double transactPawn(MOB shopkeeper, MOB pawner, ShopKeeper shop, Environmental product)
ShoppingLibrarytransactPawn in interface ShoppingLibraryshopkeeper - the shopkeeper mob being sold topawner - the player/mob selling an itemshop - the shopkeeper objectproduct - the product sold to the shopkeeperShoppingLibrary.pawnEvaluation(MOB, MOB, Environmental, ShopKeeper, double, double, boolean),
ShoppingLibrary.pawningPrice(MOB, MOB, Environmental, ShopKeeper, CoffeeShop)public void transactMoneyOnly(MOB sellerM, MOB buyerM, ShopKeeper shop, Environmental product, boolean sellerGetsPaid)
ShoppingLibrarytransactMoneyOnly in interface ShoppingLibrarysellerM - the seller mob who wants moneybuyerM - the buyer mob who is losing moneyshop - the shop itselfproduct - the product being sold, whose value constitutes the pricesellerGetsPaid - true to add the money to the shopkeepersShoppingLibrary.sellEvaluation(MOB, MOB, Environmental, ShopKeeper, boolean),
ShoppingLibrary.getSalesTax(Room, MOB),
ShoppingLibrary.sellingPrice(MOB, MOB, Environmental, ShopKeeper, CoffeeShop, boolean)public boolean purchaseItems(Item baseProduct, java.util.List<Environmental> products, MOB seller, MOB mobFor)
ShoppingLibrarypurchaseItems in interface ShoppingLibrarybaseProduct - the item being purchasedproducts - all items in the item productseller - the sellermobFor - the buyerShoppingLibrary.purchaseAbility(Ability, MOB, ShopKeeper, MOB),
ShoppingLibrary.purchaseMOB(MOB, MOB, ShopKeeper, MOB)public boolean purchaseMOB(MOB product, MOB seller, ShopKeeper shop, MOB mobFor)
ShoppingLibrarypurchaseMOB in interface ShoppingLibraryproduct - the follower mob being purchasedseller - the sellershop - the seller's shopmobFor - the buyerShoppingLibrary.purchaseAbility(Ability, MOB, ShopKeeper, MOB),
ShoppingLibrary.purchaseItems(Item, List, MOB, MOB)public void purchaseAbility(Ability A, MOB seller, ShopKeeper shop, MOB mobFor)
ShoppingLibrarypurchaseAbility in interface ShoppingLibraryA - the ability being purchasedseller - the sellershop - the seller's shopmobFor - the buyerShoppingLibrary.purchaseMOB(MOB, MOB, ShopKeeper, MOB),
ShoppingLibrary.purchaseItems(Item, List, MOB, MOB)public java.util.List<Environmental> addRealEstateTitles(java.util.List<Environmental> productsV, MOB buyer, CoffeeShop shop, Room myRoom)
ShoppingLibraryaddRealEstateTitles in interface ShoppingLibraryproductsV - the existing inventorybuyer - the buyer who wants to see the inventoryshop - the shop inventory objectmyRoom - the room where the shopkeeper ispublic boolean ignoreIfNecessary(MOB mob, java.lang.String ignoreMask, MOB whoIgnores)
ShoppingLibraryignoreIfNecessary in interface ShoppingLibrarymob - the mob who might be ignoredignoreMask - the zappermask determining if the mob is ignoredwhoIgnores - the mob who might be ignoringpublic java.lang.String storeKeeperString(CoffeeShop shop, ShopKeeper keeper)
ShoppingLibrarystoreKeeperString in interface ShoppingLibraryshop - coffee shop inventory to checkkeeper - the actual coffee shopprotected boolean shopKeeperItemTypeCheck(Environmental E, int dealCode, ShopKeeper shopKeeper)
public boolean doISellThis(Environmental thisThang, ShopKeeper shop)
ShoppingLibrarydoISellThis in interface ShoppingLibrarythisThang - the thing to see if its ordinary stockshop - the actual shop to check for a good matchpublic void returnMoney(MOB to, java.lang.String currency, double amt)
ShoppingLibraryreturnMoney in interface ShoppingLibraryto - the mob who is getting or losing moneycurrency - the currency to add/removeamt - the amount to add/removepublic java.lang.String[] bid(MOB mob, double bid, java.lang.String bidCurrency, AuctionData auctionData, Item I, java.util.List<java.lang.String> auctionAnnounces)
ShoppingLibrarybid in interface ShoppingLibrarymob - the bidder mobbid - the bidding amount in base valuebidCurrency - the bidding currencyauctionData - the auction data for the auction bid onI - the item bid on (why not use from auction data?)auctionAnnounces - list to put channel messages intoAuctionData,
ShoppingLibrary.auctionNotify(MOB, String, String),
ShoppingLibrary.saveAuction(AuctionData, String, boolean),
ShoppingLibrary.cancelAuction(String, AuctionData),
ShoppingLibrary.fetchAuctionByItemName(String, String),
ShoppingLibrary.getAuctions(Object, String),
ShoppingLibrary.getAuctionInventory(MOB, MOB, Auctioneer, String)public AuctionData fetchAuctionByItemName(java.lang.String named, java.lang.String auctionHouse)
ShoppingLibraryfetchAuctionByItemName in interface ShoppingLibrarynamed - the item name, or partial matchauctionHouse - the auction house to search inAuctionData,
ShoppingLibrary.auctionNotify(MOB, String, String),
ShoppingLibrary.saveAuction(AuctionData, String, boolean),
ShoppingLibrary.cancelAuction(String, AuctionData),
ShoppingLibrary.getAuctions(Object, String),
ShoppingLibrary.getAuctionInventory(MOB, MOB, Auctioneer, String),
ShoppingLibrary.bid(MOB, double, String, AuctionData, Item, List)public void saveAuction(AuctionData data, java.lang.String auctionHouse, boolean updateOnly)
ShoppingLibrarysaveAuction in interface ShoppingLibrarydata - the AuctionData to updateauctionHouse - the auction house the data belongs toupdateOnly - true for update, false when creatingAuctionData,
ShoppingLibrary.auctionNotify(MOB, String, String),
ShoppingLibrary.cancelAuction(String, AuctionData),
ShoppingLibrary.fetchAuctionByItemName(String, String),
ShoppingLibrary.getAuctions(Object, String),
ShoppingLibrary.getAuctionInventory(MOB, MOB, Auctioneer, String),
ShoppingLibrary.bid(MOB, double, String, AuctionData, Item, List)public java.util.Enumeration<AuctionData> getAuctions(java.lang.Object ofLike, java.lang.String auctionHouse)
ShoppingLibrarygetAuctions in interface ShoppingLibraryofLike - null, or a name to matchauctionHouse - the auction house to return auctions fromAuctionData,
ShoppingLibrary.auctionNotify(MOB, String, String),
ShoppingLibrary.saveAuction(AuctionData, String, boolean),
ShoppingLibrary.cancelAuction(String, AuctionData),
ShoppingLibrary.fetchAuctionByItemName(String, String),
ShoppingLibrary.getAuctionInventory(MOB, MOB, Auctioneer, String),
ShoppingLibrary.bid(MOB, double, String, AuctionData, Item, List)public java.lang.String getListForMask(java.lang.String targetMessage)
ShoppingLibrarygetListForMask in interface ShoppingLibrarytargetMessage - the target message stringShoppingLibrary.getListInventory(MOB, MOB, List, int, ShopKeeper, String),
ShoppingLibrary.getListForMask(String)public java.lang.String getAuctionInventory(MOB seller, MOB buyer, Auctioneer auction, java.lang.String itemName)
ShoppingLibrarygetAuctionInventory in interface ShoppingLibraryseller - the seller mob, which is not necessarily the auction housebuyer - the buyer doing the listingauction - the auction house object itselfitemName - the null or the name of the item interested inAuctionData,
ShoppingLibrary.auctionNotify(MOB, String, String),
ShoppingLibrary.saveAuction(AuctionData, String, boolean),
ShoppingLibrary.cancelAuction(String, AuctionData),
ShoppingLibrary.fetchAuctionByItemName(String, String),
ShoppingLibrary.getAuctions(Object, String),
ShoppingLibrary.bid(MOB, double, String, AuctionData, Item, List)public void auctionNotify(MOB M, java.lang.String resp, java.lang.String regardingItem)
ShoppingLibraryauctionNotify in interface ShoppingLibraryM - the recipient of the messageresp - the messageregardingItem - the item up for auctionAuctionData,
ShoppingLibrary.saveAuction(AuctionData, String, boolean),
ShoppingLibrary.cancelAuction(String, AuctionData),
ShoppingLibrary.fetchAuctionByItemName(String, String),
ShoppingLibrary.getAuctions(Object, String),
ShoppingLibrary.getAuctionInventory(MOB, MOB, Auctioneer, String),
ShoppingLibrary.bid(MOB, double, String, AuctionData, Item, List),
ShoppingLibrary.auctionNotify(MOB, String, String)public void cancelAuction(java.lang.String auctionHouse,
AuctionData data)
ShoppingLibrarycancelAuction in interface ShoppingLibraryauctionHouse - the auction house the data belongs todata - the AuctionData to deleteAuctionData,
ShoppingLibrary.saveAuction(AuctionData, String, boolean),
ShoppingLibrary.fetchAuctionByItemName(String, String),
ShoppingLibrary.getAuctions(Object, String),
ShoppingLibrary.getAuctionInventory(MOB, MOB, Auctioneer, String),
ShoppingLibrary.bid(MOB, double, String, AuctionData, Item, List),
ShoppingLibrary.auctionNotify(MOB, String, String)