com.planet_ink.coffee_mud.Libraries.interfaces
Interface ShoppingLibrary

All Superinterfaces:
java.lang.Cloneable, CMLibrary, CMObject, java.lang.Comparable<CMObject>
All Known Implementing Classes:
CoffeeShops

public interface ShoppingLibrary
extends CMLibrary


Method Summary
 java.util.List<Environmental> addRealEstateTitles(java.util.List<Environmental> V, MOB buyer, CoffeeShop shop, Room myRoom)
           
 void auctionNotify(MOB M, java.lang.String resp, java.lang.String regardingItem)
           
 java.lang.String[] bid(MOB mob, double bid, java.lang.String bidCurrency, Auctioneer.AuctionData auctionData, Item I, java.util.List<java.lang.String> auctionAnnounces)
           
 void cancelAuction(java.lang.String auctionHouse, Auctioneer.AuctionData data)
           
 double devalue(ShopKeeper shop, Environmental product)
           
 boolean doISellThis(Environmental thisThang, ShopKeeper shop)
           
 java.lang.String findInnRoom(InnKey key, java.lang.String addThis, Room R)
           
 java.util.List<Environmental> getAllShopkeepers(Room here, MOB notMOB)
           
 java.lang.String getAuctionInventory(MOB seller, MOB buyer, Auctioneer auction, java.lang.String mask)
           
 java.util.List<Auctioneer.AuctionData> getAuctions(java.lang.Object ofLike, java.lang.String auctionHouse)
           
 Auctioneer.AuctionData getEnumeratedAuction(java.lang.String named, java.lang.String auctionHouse)
           
 java.lang.String getListForMask(java.lang.String targetMessage)
           
 java.lang.String getListInventory(MOB seller, MOB buyer, java.util.List<? extends Environmental> inventory, int limit, ShopKeeper shop, java.lang.String mask)
           
 double getSalesTax(Room homeRoom, MOB seller)
           
 ShopKeeper getShopKeeper(Environmental E)
           
 java.lang.String getViewDescription(Environmental E)
           
 boolean ignoreIfNecessary(MOB mob, java.lang.String ignoreMask, MOB whoIgnores)
           
 MOB parseBuyingFor(MOB buyer, java.lang.String message)
           
 ShopKeeper.ShopPrice pawningPrice(MOB seller, MOB buyer, Environmental product, ShopKeeper shop)
           
 double prejudiceFactor(MOB customer, java.lang.String factors, boolean sellTo)
           
 double prejudiceValueFromPart(MOB customer, boolean sellTo, java.lang.String part)
           
 void purchaseAbility(Ability A, MOB seller, ShopKeeper shop, MOB mobFor)
           
 boolean purchaseItems(Item baseProduct, java.util.List<Environmental> products, MOB seller, MOB mobFor)
           
 boolean purchaseMOB(MOB product, MOB seller, ShopKeeper shop, MOB mobFor)
           
 double rawSpecificGoldPrice(Environmental product, CoffeeShop shop, double numberOfThem)
           
 void returnMoney(MOB to, java.lang.String currency, double amt)
           
 void saveAuction(Auctioneer.AuctionData data, java.lang.String auctionHouse, boolean updateOnly)
           
 ShopKeeper.ShopPrice sellingPrice(MOB seller, MOB buyer, Environmental product, ShopKeeper shop, boolean includeSalesTax)
           
 boolean standardBuyEvaluation(MOB seller, MOB buyer, Environmental product, ShopKeeper shop, boolean buyNotView)
           
 boolean standardSellEvaluation(MOB seller, MOB buyer, Environmental product, ShopKeeper shop, double maxToPay, double maxEverPaid, boolean sellNotValue)
           
 java.lang.String storeKeeperString(CoffeeShop shop)
           
 void transactMoneyOnly(MOB seller, MOB buyer, ShopKeeper shop, Environmental product, boolean sellerGetsPaid)
           
 double transactPawn(MOB shopkeeper, MOB pawner, ShopKeeper shop, Environmental product)
           
 
Methods inherited from interface com.planet_ink.coffee_mud.Libraries.interfaces.CMLibrary
activate, getServiceClient, propertiesLoaded, shutdown
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject
copyOf, ID, initializeClass, name, newInstance
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getShopKeeper

ShopKeeper getShopKeeper(Environmental E)

getAllShopkeepers

java.util.List<Environmental> getAllShopkeepers(Room here,
                                                MOB notMOB)

getViewDescription

java.lang.String getViewDescription(Environmental E)

rawSpecificGoldPrice

double rawSpecificGoldPrice(Environmental product,
                            CoffeeShop shop,
                            double numberOfThem)

prejudiceValueFromPart

double prejudiceValueFromPart(MOB customer,
                              boolean sellTo,
                              java.lang.String part)

prejudiceFactor

double prejudiceFactor(MOB customer,
                       java.lang.String factors,
                       boolean sellTo)

sellingPrice

ShopKeeper.ShopPrice sellingPrice(MOB seller,
                                  MOB buyer,
                                  Environmental product,
                                  ShopKeeper shop,
                                  boolean includeSalesTax)

devalue

double devalue(ShopKeeper shop,
               Environmental product)

pawningPrice

ShopKeeper.ShopPrice pawningPrice(MOB seller,
                                  MOB buyer,
                                  Environmental product,
                                  ShopKeeper shop)

getSalesTax

double getSalesTax(Room homeRoom,
                   MOB seller)

standardSellEvaluation

boolean standardSellEvaluation(MOB seller,
                               MOB buyer,
                               Environmental product,
                               ShopKeeper shop,
                               double maxToPay,
                               double maxEverPaid,
                               boolean sellNotValue)

standardBuyEvaluation

boolean standardBuyEvaluation(MOB seller,
                              MOB buyer,
                              Environmental product,
                              ShopKeeper shop,
                              boolean buyNotView)

getListInventory

java.lang.String getListInventory(MOB seller,
                                  MOB buyer,
                                  java.util.List<? extends Environmental> inventory,
                                  int limit,
                                  ShopKeeper shop,
                                  java.lang.String mask)

findInnRoom

java.lang.String findInnRoom(InnKey key,
                             java.lang.String addThis,
                             Room R)

parseBuyingFor

MOB parseBuyingFor(MOB buyer,
                   java.lang.String message)

transactPawn

double transactPawn(MOB shopkeeper,
                    MOB pawner,
                    ShopKeeper shop,
                    Environmental product)

transactMoneyOnly

void transactMoneyOnly(MOB seller,
                       MOB buyer,
                       ShopKeeper shop,
                       Environmental product,
                       boolean sellerGetsPaid)

purchaseItems

boolean purchaseItems(Item baseProduct,
                      java.util.List<Environmental> products,
                      MOB seller,
                      MOB mobFor)

purchaseMOB

boolean purchaseMOB(MOB product,
                    MOB seller,
                    ShopKeeper shop,
                    MOB mobFor)

purchaseAbility

void purchaseAbility(Ability A,
                     MOB seller,
                     ShopKeeper shop,
                     MOB mobFor)

addRealEstateTitles

java.util.List<Environmental> addRealEstateTitles(java.util.List<Environmental> V,
                                                  MOB buyer,
                                                  CoffeeShop shop,
                                                  Room myRoom)

ignoreIfNecessary

boolean ignoreIfNecessary(MOB mob,
                          java.lang.String ignoreMask,
                          MOB whoIgnores)

storeKeeperString

java.lang.String storeKeeperString(CoffeeShop shop)

doISellThis

boolean doISellThis(Environmental thisThang,
                    ShopKeeper shop)

bid

java.lang.String[] bid(MOB mob,
                       double bid,
                       java.lang.String bidCurrency,
                       Auctioneer.AuctionData auctionData,
                       Item I,
                       java.util.List<java.lang.String> auctionAnnounces)

returnMoney

void returnMoney(MOB to,
                 java.lang.String currency,
                 double amt)

getAuctionInventory

java.lang.String getAuctionInventory(MOB seller,
                                     MOB buyer,
                                     Auctioneer auction,
                                     java.lang.String mask)

getListForMask

java.lang.String getListForMask(java.lang.String targetMessage)

getAuctions

java.util.List<Auctioneer.AuctionData> getAuctions(java.lang.Object ofLike,
                                                   java.lang.String auctionHouse)

getEnumeratedAuction

Auctioneer.AuctionData getEnumeratedAuction(java.lang.String named,
                                            java.lang.String auctionHouse)

auctionNotify

void auctionNotify(MOB M,
                   java.lang.String resp,
                   java.lang.String regardingItem)

cancelAuction

void cancelAuction(java.lang.String auctionHouse,
                   Auctioneer.AuctionData data)

saveAuction

void saveAuction(Auctioneer.AuctionData data,
                 java.lang.String auctionHouse,
                 boolean updateOnly)