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