コード例 #1
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("KFPersistenceManager");

            ReadConfigFile();
            ReadDustColor();
        }
コード例 #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();
        }
コード例 #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();
        }