Nexus.Client.ModManagement.Scripting.ModScript.ModScriptInterpreterContext.CompleteFileInstallation C# (CSharp) Method

CompleteFileInstallation() public method

Installs all files in the mod that have not been excluded from being installed.
public CompleteFileInstallation ( ) : void
return void
		public void CompleteFileInstallation()
		{
			if (m_booInstallDataFiles)
				InstallAllDataFiles();
			if (m_booInstallPlugins)
				InstallAllPlugins();
			FunctionProxy.SetRelativeLoadOrder(m_lstPluginOrder.ToArray());
		}

Usage Example

コード例 #1
0
        /// <summary>
        /// Executes the script.
        /// </summary>
        /// <returns><c>true</c> if the script completed successfully;
        /// <c>false</c> otherwise.</returns>
        public bool Execute()
        {
            ITree astScript = GenerateAst(m_strScript, false);

            if (astScript == null)
            {
                return(false);
            }
            object objValue = Run(astScript);

            while (m_booGotoSet)
            {
                m_booGotoSet   = false;
                m_booFindLabel = true;
                Run(astScript);
            }
            if (!m_booFatalErrorSet)
            {
                m_sicContext.CompleteFileInstallation();
                return(true);
            }
            return(false);
        }