Пример #1
0
        private static void SendOutbidMail(Auction auction, uint newBid)
        {
            if (auction == null)
            {
                return;
            }
            Character character = World.GetCharacter(auction.BidderLowId);

            if (character != null)
            {
                AuctionHandler.SendAuctionOutbidNotification(character.Client, auction, newBid,
                                                             GetMinimumNewBidIncrement(auction));
            }
            auction.SendMail(MailAuctionAnswers.Outbid, auction.CurrentBid);
        }