Exemplo n.º 1
0
        public static void Load()
        {
            try
            {
                Current        = filePath.ReadXml <LocalQuestsSettings>();
                Current.IsLoad = true;
            }
            catch (Exception ex)
            {
#if DEBUG
                Current        = GetInitialSettings();
                Current.IsLoad = false;
                System.Diagnostics.Debug.WriteLine(ex);
#endif
            }
        }
Exemplo n.º 2
0
        public static void Load()
        {
            try
            {
                Current = filePath.ReadXml<LocalQuestsSettings>();
                Current.IsLoad = true;
            }
            catch (Exception ex)
            {
#if DEBUG
                Current = GetInitialSettings();
                Current.IsLoad = false;
                System.Diagnostics.Debug.WriteLine(ex);

#endif
            }
        }