Esempio n. 1
0
        public bool LoadSettings()
        {
            if (Settings.Html5)
            {
                return(false);
            }

            if (System.IO.File.Exists(CONFIG_FILE))
            {
                //We don't have a save to load
                return(false);
            }

            return(StaticSerializer.Load(typeof(Settings), CONFIG_FILE));
        }
Esempio n. 2
0
 //Save/Load
 public bool SaveSettings()
 {
     return(StaticSerializer.Save(typeof(Settings), CONFIG_FILE));
 }