public object GetValue(string key)
            {
                XMLDictionaryPair p = Pairs.Find(x => (string)x.Key == key);

                if (p == null)
                {
                    Logging.Warn($"[XML] Couldn't find object with key {key} inside Pairs!");
                    return(null);
                }
                return(p.Value);
            }
            public object GetValue(object key)
            {
                XMLDictionaryPair p = Pairs.Find(x => x.Key == key);

                if (p == null)
                {
                    Logging.Warn($"[XML] Couldn't find object with key {key} inside Pairs! <= Can be ignored if mod doesn't crash afterwards");
                    return(null);
                }
                object value = p.Value;

                return(value);
            }
 public void Add(XMLDictionaryPair pair)
 {
     Pairs.Add(pair);
 }