/// <summary>Makes sure the global configuration is good to go.</summary>
        /// <remarks>This is a static constructor. It's called once when the class is loaded by Mono.</remarks>
        static KFPersistenceManager()
        {
            writeToLogFile = false; // this makes sure that the logging thread can't start before all of the configuration is read or bad things will happen
            KFLog = new KFLogUtil("KFPersistenceManager");

            ReadConfigFile();
            ReadDustColor();
        }
Exemplo n.º 2
0
        /// <summary>Makes sure the global configuration is good to go.</summary>
        /// <remarks>This is a static constructor. It's called once when the class is loaded by Mono.</remarks>
        static KFPersistenceManager()
        {
            writeToLogFile = false;             // This makes sure that the logging thread can't start before all of the configuration is read or bad things will happen.
            KFLogInit      = new KFLogUtil();

            KFLogInit.Log(string.Format("Version: {0}", KFVersion.versionString));

            ReadConfigFile();
            ReadDustColor();
        }
Exemplo n.º 3
0
        /// <summary>Makes sure the global configuration is good to go.</summary>
        /// <remarks>This is a static constructor. It's called once when the class is loaded by Mono.</remarks>
        static KFPersistenceManager()
        {
            writeToLogFile = false; // This makes sure that the logging thread can't start before all of the configuration is read or bad things will happen
            KFLog = new KFLogUtil(strClassName);
            KFLogInit = new KFLogUtil();

            KFLogInit.Log(string.Format("Version: {0}", KFVersion.versionString));

            ReadConfigFile();
            ReadDustColor();
        }