Beispiel #1
0
 private void UpdateKPRPCJSON(EntryConfig _conf)
 {
     // if the config is identical to an empty (default) config, only update if a JSON string already exists
     if (!_conf.Equals(new EntryConfig()) || _strings.GetKeys().Contains("KPRPC JSON"))
     {
         changeAdvancedString("KPRPC JSON", Jayrock.Json.Conversion.JsonConvert.ExportToString(_conf), true);
     }
 }
 private void UpdateKPRPCJSON(EntryConfig _conf)
 {
     // if the config is identical to an empty (default) config, only update if a JSON string already exists
     if (!_conf.Equals(new EntryConfig()) || _strings.GetKeys().Contains("KPRPC JSON"))
         changeAdvancedString("KPRPC JSON", Jayrock.Json.Conversion.JsonConvert.ExportToString(_conf), true);
 }