示例#1
0
        public String compileConfigArguments(Userconfig usercfg)
        {
            String args = "";

            if (usercfg.arma3Config_showScriptError)
            {
                args += "-showScriptErrors ";
            }

            if (usercfg.arma3Config_emptyStartWorld)
            {
                args += "-world=empty ";
            }

            if (usercfg.arma3Config_noPause)
            {
                args += "-noPause ";
            }

            if (usercfg.arma3Config_noStartScreen)
            {
                args += "-nosplash ";
                args += "-skipintro ";
            }

            if (usercfg.arma3Config_stopMultiCore)
            {
                args += "-noCB ";
            }

            if (usercfg.arma3Config_extraThread != 0)
            {
                args += "-exThreads=";
                args += usercfg.arma3Config_extraThread;
                args += " ";
            }

            return args;
        }
示例#2
0
 public Manager()
 {
     this.userConfig = new Userconfig();
     this.userConfig.Initialize();
     this.userConfig.Read();
 }
示例#3
0
 public Manager()
 {
     this.userConfig = new Userconfig();
     this.userConfig.Initialize();
     this.userConfig.Read();
 }