C# Class Nexus.Client.Games.Morrowind.Scripting.ModScript.MorrowindModScriptInterpreterContext

Provides the function context to use when executing Morrowind Mod Script scripts.
Inheritance: Nexus.Client.ModManagement.Scripting.ModScript.ModScriptInterpreterContext
Mostrar archivo Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
MorrowindModScriptInterpreterContext ( Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy p_msfFunctions ) : Nexus.Client.ModManagement.Scripting.ModScript

A simple construtor that initializes the object with the given dependencies.

ReadRendererInfo ( string p_strVariableName, string p_strRendererValue ) : void

Reads the specified value from the renderer info file and stores it in the specified variable.

Method Details

MorrowindModScriptInterpreterContext() public method

A simple construtor that initializes the object with the given dependencies.
public MorrowindModScriptInterpreterContext ( Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy p_msfFunctions ) : Nexus.Client.ModManagement.Scripting.ModScript
p_msfFunctions Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy The object that proxies the script function calls /// out of the sandbox.
return Nexus.Client.ModManagement.Scripting.ModScript

ReadRendererInfo() public method

Reads the specified value from the renderer info file and stores it in the specified variable.
public ReadRendererInfo ( string p_strVariableName, string p_strRendererValue ) : void
p_strVariableName string The name of the variable in which to store the value.
p_strRendererValue string The key of the value to return.
return void