C# Class Nexus.Client.Games.DragonAge2.Scripting.ModScript.DragonAge2ModScriptInterpreter

Interpets and executes the given The DragonAge 2 Mod Script script.
Inheritance: Nexus.Client.ModManagement.Scripting.ModScript.ModScriptInterpreter
Mostra file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
DragonAge2ModScriptInterpreter ( 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

DragonAge2ModScriptInterpreter() public method

A simple construtor that initializes the object with the given values.
public DragonAge2ModScriptInterpreter ( 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