Exemple #1
0
        public static void LogMoneyAdd(MoneyAddType type, long count)
        {
            if (!TxtRecord)
            {
                return;
            }

            if (count == 0)
            {
                return;
            }

            lock (MoneyAdd)
            {
                try
                {
                    MoneyAdd[type] += count;
                }
                catch (Exception ex)
                {
                    log.Error(ex);
                }
            }
        }
Exemple #2
0
        public static void LogMoneyAdd(MoneyAddType type, long count)
        {
            if (!TxtRecord)
                return;

            if (count == 0)
                return;

            lock (MoneyAdd)
            {
                try
                {
                    MoneyAdd[type] += count;
                }
                catch (Exception ex)
                {
                    log.Error(ex);
                }
            }
        }