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); } } }
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); } } }