예제 #1
0
파일: Market.cs 프로젝트: Spawek/SimpliCity
 private void FinizeOfferPartiallyAndLog(SellOffer offer, int ammount, AssetsOwner buyer)
 {
     offer.FinalizeOfferPartially(buyer, ammount);
     SalesHistory.AddTodaySaleData(offer.Commodity, ammount, offer.PricePerPiece);
 }
예제 #2
0
파일: Market.cs 프로젝트: Spawek/SimpliCity
 private void FinalizeOfferAndLog(SellOffer offer, AssetsOwner buyer)
 {
     offer.FinalizeOffer(buyer);
     SalesHistory.AddTodaySaleData(offer.Commodity, offer.Ammount, offer.PricePerPiece);
 }