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

Interpets and executes the given Morrowind Mod Script script.
Inheritance: Nexus.Client.ModManagement.Scripting.ModScript.ModScriptInterpreter
Datei anzeigen Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
MorrowindModScriptInterpreter ( Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy p_msfFunctions, string p_strScript ) : Nexus.Client.ModManagement.Scripting.ModScript

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

Protected Methods

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

Creates the context object that tracks the state of the script being executed.

Method Details

CreateInterpreterContext() protected method

Creates the context object that tracks the state of the script being executed.
protected CreateInterpreterContext ( Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy p_msfFunctions ) : ModScriptInterpreterContext
p_msfFunctions Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy The object that implements the script functions.
return Nexus.Client.ModManagement.Scripting.ModScript.ModScriptInterpreterContext

MorrowindModScriptInterpreter() public method

A simple construtor that initializes the object with the given values.
public MorrowindModScriptInterpreter ( Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy p_msfFunctions, string p_strScript ) : Nexus.Client.ModManagement.Scripting.ModScript
p_msfFunctions Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy The object that implements the script functions.
p_strScript string The script to execute.
return Nexus.Client.ModManagement.Scripting.ModScript