virtual void DrawSavingsMoney(SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal=false)
virtual bool Accepts(Item item)
virtual long CombineStacks([Out] bool overFlowing, params long[] coinCounts)
virtual void GetPriceText(string[] lines, int currentLine, long price)
virtual void GetItemExpectedPrice(Item item, [Out] long calcForSelling, [Out] long calcForBuying)
void ItemCacheRestore(List< Tuple< Point, Item > > cache, List< Item[]> inventories)
virtual bool TryPurchasing(long price, List< Item[]> inv, List< Point > slotCoins, List< Point > slotsEmpty, List< Point > slotEmptyBank, List< Point > slotEmptyBank2, List< Point > slotEmptyBank3, List< Point > slotEmptyBank4)
void SetCurrencyCap(long cap)
virtual long CountCurrency([Out] bool overFlowing, Item[] inv, params int[] ignoreSlots)
int SortByHighest(Tuple< int, int > valueA, Tuple< int, int > valueB)
Dictionary< int, int > _valuePerUnit
void Include(int coin, int howMuchIsItWorth)
List< Tuple< Point, Item > > ItemCacheCreate(List< Item[]> inventories)