Exemplo n.º 1
0
        public bool RemoveMyCurrencyItem(int appId, string contextId, long currencyId, long amount)
        {
            var asset = new TradeAsset();

            asset.CreateCurrencyAsset(appId, contextId, currencyId, amount);
            return(this.ShouldUpdate(this.MyOfferedItems.RemoveCurrencyItem(asset)));
        }
Exemplo n.º 2
0
        public bool AddTheirCurrencyItem(int appId, long contextId, long currencyId, long amount)
        {
            var asset = new TradeAsset();

            asset.CreateCurrencyAsset(appId, contextId, currencyId, amount);
            return(ShouldUpdate(TheirOfferedItems.AddCurrencyItem(asset)));
        }