Esempio n. 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;
        }
Esempio n. 2
0
 public Manager()
 {
     this.userConfig = new Userconfig();
     this.userConfig.Initialize();
     this.userConfig.Read();
 }
Esempio n. 3
0
 public Manager()
 {
     this.userConfig = new Userconfig();
     this.userConfig.Initialize();
     this.userConfig.Read();
 }