Exemple #1
0
 public void Refund(Auction auction, long amount)
 {
     if (Mobile.Account is Account a)
     {
         a.DepositGold(amount);
         VaultLogging.LogRefund(auction, Mobile, amount);
     }
 }
Exemple #2
0
        public void Refund(Auction auction, long amount)
        {
            Account a = Mobile.Account as Account;

            if (a != null)
            {
                a.DepositGold(amount);
                VaultLogging.LogRefund(auction, Mobile, amount);
            }
        }