C# Class Nexus.Client.Games.DarkSouls2.Scripting.ModScript.DarkSouls2ModScriptInterpreter

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

Public Methods

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

DarkSouls2ModScriptInterpreter() public method

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