Esempio n. 1
0
        public static void AutoexecStartup()
        {
            var args = new RealmServerCmdArgs(null, false, null);
            var file = AutoExecDir + AutoExecStartupFile;

            if (File.Exists(file))
            {
                // execute auto exec on separate thread
                ThreadPool.QueueUserWorkItem(stateInfo => Instance.ExecFile(file, args));
            }
        }
Esempio n. 2
0
        public static void AutoexecStartup()
        {
            RealmServerCmdArgs args = new RealmServerCmdArgs(null, false, null);
            string             file = AutoExecDir + AutoExecStartupFile;

            if (!File.Exists(file))
            {
                return;
            }
            ThreadPool.QueueUserWorkItem(
                stateInfo => Instance.ExecFile(file, args));
        }