public static void LogGoldAdd(GoldAddType type, long count) { if (!TxtRecord) { return; } if (count == 0) { return; } lock (GoldAdd) { try { GoldAdd[type] += count; } catch (Exception ex) { log.Error(ex); } } }
public static void LogGoldAdd(GoldAddType type, long count) { if (!TxtRecord) return; if (count == 0) return; lock (GoldAdd) { try { GoldAdd[type] += count; } catch (Exception ex) { log.Error(ex); } } }