C# Класс Nexus.Client.Games.Morrowind.Scripting.ModScript.MorrowindModScriptFunctionProxy

Implements the functions availabe to the Morrowind variant of Mod Script scripts.
The proxy allows sandboxed scripts to call functions that can perform actions outside of the sandbox. All values in Mod Script are strings. Thus, all parameters to the functions are strings. If they represent another datatype, the functions must convert the values before using them. There are a few exceptions, where some methods accept non-string parameters. This is becuase these methods are called by the interpreter, and not from the interpreted code.
Наследование: Nexus.Client.ModManagement.Scripting.ModScript.ModScriptFunctionProxy
Показать файл Открыть проект

Открытые методы

Метод Описание
ConflictsWith ( string p_strModName ) : void

Indicates that the mod being installed conflicts with the specified mod.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWith ( string p_strModName, string p_strComment ) : void

Indicates that the mod being installed conflicts with the specified mod.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWith ( string p_strModName, string p_strComment, string p_strLevel ) : void

Indicates that the mod being installed conflicts with the specified mod.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWith ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion ) : void

Indicates that the mod being installed conflicts with the specified mod.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWith ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment ) : void

Indicates that the mod being installed conflicts with the specified mod.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWith ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment, string p_strLevel ) : void

Indicates that the mod being installed conflicts with the specified mod.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWithRegex ( string p_strModNameRegex ) : void

Indicates that the mod being installed conflicts with the specified mods.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWithRegex ( string p_strModNameRegex, string p_strComment ) : void

Indicates that the mod being installed conflicts with the specified mods.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWithRegex ( string p_strModNameRegex, string p_strComment, string p_strLevel ) : void

Indicates that the mod being installed conflicts with the specified mods.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWithRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion ) : void

Indicates that the mod being installed conflicts with the specified mods.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWithRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment ) : void

Indicates that the mod being installed conflicts with the specified mods.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

ConflictsWithRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment, string p_strLevel ) : void

Indicates that the mod being installed conflicts with the specified mods.

This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

DependsOn ( string p_strModName ) : void

Indicates that the mod being installed depends on the specified mod.

This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

DependsOn ( string p_strModName, string p_strComment ) : void

Indicates that the mod being installed depends on the specified mod.

This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

DependsOn ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion ) : void

Indicates that the mod being installed depends on the specified mod.

This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

DependsOn ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment ) : void

Indicates that the mod being installed depends on the specified mod.

This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

DependsOnRegex ( string p_strModNameRegex ) : void

Indicates that the mod being installed depends on the specified mods.

This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

DependsOnRegex ( string p_strModNameRegex, string p_strComment ) : void

Indicates that the mod being installed depends on the specified mods.

This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

DependsOnRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion ) : void

Indicates that the mod being installed depends on the specified mods.

This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

DependsOnRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment ) : void

Indicates that the mod being installed depends on the specified mods.

This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.

EditINI ( string p_strSection, string p_strKey, string p_strValue ) : bool

Sets the specified value in the Morrowind Ini file to the given value.

EditShader ( string p_intPackage, string p_strShaderName, string p_strNewDataFilePath ) : bool

Edits the specified shader with the specified data.

GetScriptExtenderVersion ( ) : System.Version

Gets the version of the script extender that is installed.

MorrowindModScriptFunctionProxy ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, ModScriptUIUtil p_uipUIProxy ) : System

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

MorrowindNewerThan ( string p_strGameVersion ) : bool

Determines if the current game version is greater than the given version.

This is an alis for ModScriptFunctionProxy.GameNewerThan(string). It exists to maintain compatibility with old Mod Scripts.

ReadRendererInfo ( string p_strRendererValue ) : string

Reads the specified value from the renderer info file.

RegisterBSA ( string p_strBsaPath ) : void

Registers the BSA in the game's BSA list.

ScriptExtenderNewerThan ( string p_strGameVersion ) : bool

Determines if the installed script extender version is greater than the given version.

ScriptExtenderPresent ( ) : bool

Determines if the script extender is installed.

UnregisterBSA ( string p_strBsaPath ) : void

Unregisters the BSA in the game's BSA list.

Приватные методы

Метод Описание
GetBSAList ( ) : List

Gets the list of BSA files in the INI file.

Описание методов

ConflictsWith() публичный Метод

Indicates that the mod being installed conflicts with the specified mod.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWith ( string p_strModName ) : void
p_strModName string The exact name of the mod with which the mod being isntalled conflicts.
Результат void

ConflictsWith() публичный Метод

Indicates that the mod being installed conflicts with the specified mod.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWith ( string p_strModName, string p_strComment ) : void
p_strModName string The exact name of the mod with which the mod being isntalled conflicts.
p_strComment string The comment to display in the conflict report.
Результат void

ConflictsWith() публичный Метод

Indicates that the mod being installed conflicts with the specified mod.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWith ( string p_strModName, string p_strComment, string p_strLevel ) : void
p_strModName string The exact name of the mod with which the mod being isntalled conflicts.
p_strComment string The comment to display in the conflict report.
p_strLevel string How severe the mod conflict is.
Результат void

ConflictsWith() публичный Метод

Indicates that the mod being installed conflicts with the specified mod.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWith ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion ) : void
p_strModName string The exact name of the mod with which the mod being isntalled conflicts.
p_strMinMajorVersion string The major version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
Результат void

ConflictsWith() публичный Метод

Indicates that the mod being installed conflicts with the specified mod.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWith ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment ) : void
p_strModName string The exact name of the mod with which the mod being isntalled conflicts.
p_strMinMajorVersion string The major version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strComment string The comment to display in the conflict report.
Результат void

ConflictsWith() публичный Метод

Indicates that the mod being installed conflicts with the specified mod.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWith ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment, string p_strLevel ) : void
p_strModName string The exact name of the mod with which the mod being isntalled conflicts.
p_strMinMajorVersion string The major version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strComment string The comment to display in the conflict report.
p_strLevel string How severe the mod conflict is.
Результат void

ConflictsWithRegex() публичный Метод

Indicates that the mod being installed conflicts with the specified mods.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWithRegex ( string p_strModNameRegex ) : void
p_strModNameRegex string The regex pattern matching the names of the mods with which the mod being isntalled conflicts.
Результат void

ConflictsWithRegex() публичный Метод

Indicates that the mod being installed conflicts with the specified mods.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWithRegex ( string p_strModNameRegex, string p_strComment ) : void
p_strModNameRegex string The regex pattern matching the names of the mods with which the mod being isntalled conflicts.
p_strComment string The comment to display in the conflict report.
Результат void

ConflictsWithRegex() публичный Метод

Indicates that the mod being installed conflicts with the specified mods.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWithRegex ( string p_strModNameRegex, string p_strComment, string p_strLevel ) : void
p_strModNameRegex string The regex pattern matching the names of the mods with which the mod being isntalled conflicts.
p_strComment string The comment to display in the conflict report.
p_strLevel string How severe the mod conflict is.
Результат void

ConflictsWithRegex() публичный Метод

Indicates that the mod being installed conflicts with the specified mods.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWithRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion ) : void
p_strModNameRegex string The regex pattern matching the names of the mods with which the mod being isntalled conflicts.
p_strMinMajorVersion string The major version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
Результат void

ConflictsWithRegex() публичный Метод

Indicates that the mod being installed conflicts with the specified mods.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWithRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment ) : void
p_strModNameRegex string The regex pattern matching the names of the mods with which the mod being isntalled conflicts.
p_strMinMajorVersion string The major version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strComment string The comment to display in the conflict report.
Результат void

ConflictsWithRegex() публичный Метод

Indicates that the mod being installed conflicts with the specified mods.
This has no effect on the running of the script, but displays a conflict message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public ConflictsWithRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment, string p_strLevel ) : void
p_strModNameRegex string The regex pattern matching the names of the mods with which the mod being isntalled conflicts.
p_strMinMajorVersion string The major version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod with which the mod /// being installed conflicts. Ignored if 0 and is also 0.
p_strComment string The comment to display in the conflict report.
p_strLevel string How severe the mod conflict is.
Результат void

DependsOn() публичный Метод

Indicates that the mod being installed depends on the specified mod.
This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public DependsOn ( string p_strModName ) : void
p_strModName string The exact name of the mod on which the mod being isntalled depends.
Результат void

DependsOn() публичный Метод

Indicates that the mod being installed depends on the specified mod.
This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public DependsOn ( string p_strModName, string p_strComment ) : void
p_strModName string The exact name of the mod on which the mod being isntalled depends.
p_strComment string The comment to display in the conflict report.
Результат void

DependsOn() публичный Метод

Indicates that the mod being installed depends on the specified mod.
This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public DependsOn ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion ) : void
p_strModName string The exact name of the mod on which the mod being isntalled depends.
p_strMinMajorVersion string The major version number of the minimum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
Результат void

DependsOn() публичный Метод

Indicates that the mod being installed depends on the specified mod.
This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public DependsOn ( string p_strModName, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment ) : void
p_strModName string The exact name of the mod on which the mod being isntalled depends.
p_strMinMajorVersion string The major version number of the minimum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strComment string The comment to display in the conflict report.
Результат void

DependsOnRegex() публичный Метод

Indicates that the mod being installed depends on the specified mods.
This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public DependsOnRegex ( string p_strModNameRegex ) : void
p_strModNameRegex string The regex pattern matching the names of the mods on which the mod being isntalled depends.
Результат void

DependsOnRegex() публичный Метод

Indicates that the mod being installed depends on the specified mods.
This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public DependsOnRegex ( string p_strModNameRegex, string p_strComment ) : void
p_strModNameRegex string The regex pattern matching the names of the mods on which the mod being isntalled depends.
p_strComment string The comment to display in the conflict report.
Результат void

DependsOnRegex() публичный Метод

Indicates that the mod being installed depends on the specified mods.
This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public DependsOnRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion ) : void
p_strModNameRegex string The regex pattern matching the names of the mods on which the mod being isntalled depends.
p_strMinMajorVersion string The major version number of the minimum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
Результат void

DependsOnRegex() публичный Метод

Indicates that the mod being installed depends on the specified mods.
This has no effect on the running of the script, but displays a message in the mod manager's conflict report. This method is ignored, as the mod manager no longer has a conflict report.
public DependsOnRegex ( string p_strModNameRegex, string p_strMinMajorVersion, string p_strMinMinorVersion, string p_strMaxMajorVersion, string p_strMaxMinorVersion, string p_strComment ) : void
p_strModNameRegex string The regex pattern matching the names of the mods on which the mod being isntalled depends.
p_strMinMajorVersion string The major version number of the minimum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMinMinorVersion string The minor version number of the minimum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMaxMajorVersion string The major version number of the maximum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strMaxMinorVersion string The minor version number of the maximum version of the mod on which the mod /// being installed depends. Ignored if 0 and is also 0.
p_strComment string The comment to display in the conflict report.
Результат void

EditINI() публичный Метод

Sets the specified value in the Morrowind Ini file to the given value.
public EditINI ( string p_strSection, string p_strKey, string p_strValue ) : bool
p_strSection string The section in the Ini file to edit.
p_strKey string The key in the Ini file to edit.
p_strValue string The value to which to set the key.
Результат bool

EditShader() публичный Метод

Edits the specified shader with the specified data.
public EditShader ( string p_intPackage, string p_strShaderName, string p_strNewDataFilePath ) : bool
p_intPackage string The package containing the shader to edit.
p_strShaderName string The shader to edit.
p_strNewDataFilePath string The path to the mod file containing the value to which to edit the shader.
Результат bool

GetScriptExtenderVersion() публичный Метод

Gets the version of the script extender that is installed.
public GetScriptExtenderVersion ( ) : System.Version
Результат System.Version

MorrowindModScriptFunctionProxy() публичный Метод

A simple constructor that initializes the object with the given values.
public MorrowindModScriptFunctionProxy ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, ModScriptUIUtil p_uipUIProxy ) : System
p_modMod IMod The mod for which the script is running.
p_gmdGameMode IGameMode The game mode currently being managed.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
p_igpInstallers Nexus.Client.ModManagement.InstallerGroup The utility class to use to install the mod items.
p_uipUIProxy Nexus.Client.ModManagement.Scripting.ModScript.ModScriptUIUtil The UI manager to use to interact with UI elements.
Результат System

MorrowindNewerThan() публичный Метод

Determines if the current game version is greater than the given version.
This is an alis for ModScriptFunctionProxy.GameNewerThan(string). It exists to maintain compatibility with old Mod Scripts.
public MorrowindNewerThan ( string p_strGameVersion ) : bool
p_strGameVersion string The version to which to compare the game's version.
Результат bool

ReadRendererInfo() публичный Метод

Reads the specified value from the renderer info file.
public ReadRendererInfo ( string p_strRendererValue ) : string
p_strRendererValue string The key of the value to return.
Результат string

RegisterBSA() публичный Метод

Registers the BSA in the game's BSA list.
public RegisterBSA ( string p_strBsaPath ) : void
p_strBsaPath string The BSA to register.
Результат void

ScriptExtenderNewerThan() публичный Метод

Determines if the installed script extender version is greater than the given version.
public ScriptExtenderNewerThan ( string p_strGameVersion ) : bool
p_strGameVersion string The version to which to compare the script extender's version.
Результат bool

ScriptExtenderPresent() публичный Метод

Determines if the script extender is installed.
public ScriptExtenderPresent ( ) : bool
Результат bool

UnregisterBSA() публичный Метод

Unregisters the BSA in the game's BSA list.
public UnregisterBSA ( string p_strBsaPath ) : void
p_strBsaPath string The BSA to unregister.
Результат void