Beispiel #1
0
        public static void LogMoneyRemove(MoneyRemoveType type, long count)
        {
            if (!TxtRecord)
            {
                return;
            }

            if (count == 0)
            {
                return;
            }

            lock (MoneyRemove)
            {
                try
                {
                    MoneyRemove[type] += count;
                }
                catch (Exception ex)
                {
                    log.Error(ex);
                }
            }
        }
Beispiel #2
0
        public static void LogMoneyRemove(MoneyRemoveType type, long count)
        {
            if (!TxtRecord)
                return;

            if (count == 0)
                return;

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