Exemple #1
0
        public static void UpdatePrice(AggregateListing listing, HotItem hotItem)
        {
            hotItem.BuyVolume = listing.BuyOffers.Quantity;
            hotItem.BuyPrice  = listing.BuyOffers.UnitPrice;

            hotItem.SaleVolume = listing.SellOffers.Quantity;
            hotItem.SellPrice  = listing.SellOffers.UnitPrice;

            hotItem.UpdatePriceChanged();
        }
        public static void UpdatePrice(AggregateListing listing, HotItem hotItem)
        {
            hotItem.BuyVolume = listing.BuyOffers.Quantity;
            hotItem.BuyPrice = listing.BuyOffers.UnitPrice;

            hotItem.SaleVolume = listing.SellOffers.Quantity;
            hotItem.SellPrice = listing.SellOffers.UnitPrice;

            hotItem.UpdatePriceChanged();
        }