C# Класс Nexus.Client.Games.Fallout3.Scripting.CSharpScript.FalloutCSharpScriptFunctionProxy

Implements the functions availabe to Fallout C# scripts.
Наследование: Nexus.Client.ModManagement.Scripting.CSharpScript.CSharpScriptFunctionProxy
Показать файл Открыть проект

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

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

Auto-sorts the specified plugins.

This is, apparently, a beta function. Use with caution.

CompileResultScript ( SubRecord sr, Record &r2, string &msg ) : void

Compiles the result script.

CompileScript ( Record r2, string &msg ) : void

Compiles a script.

EditFalloutINI ( string p_strSection, string p_strKey, string p_strValue, bool p_booSaveOld ) : bool

Sets the specified value in the Fallout.ini file to the given value.

EditGeckINI ( string p_strSection, string p_strKey, string p_strValue, bool p_booSaveOld ) : bool

Sets the specified value in the GECKCustom.ini file to the given value.

EditGeckPrefsINI ( string p_strSection, string p_strKey, string p_strValue, bool p_booSaveOld ) : bool

Sets the specified value in the GECKPrefs.ini file to the given value.

EditPrefsINI ( string p_strSection, string p_strKey, string p_strValue, bool p_booSaveOld ) : bool

Sets the specified value in the FalloutPrefs.ini file to the given value.

EditShader ( int p_intPackage, string p_strShaderName, byte p_bteData ) : bool

Edits the specified shader with the specified data.

FalloutCSharpScriptFunctionProxy ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, BsaManager p_bamBsaManager, UIUtil p_uipUIProxy ) : System

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

GetAutoInsertionPoint ( string p_strPlugin ) : int

Determins where in the load order the specified plugin would be inserted if the plugins were auto-sorted.

GetBSAFileList ( string p_strBsa ) : string[]

Retrieves the list of files in the specified BSA.

GetDataFileFromBSA ( string p_strBsa, string p_strFile ) : byte[]

Gets the specified file from the specified BSA.

GetFalloutIniInt ( string p_strSection, string p_strKey ) : int

Retrieves the specified Fallout.ini value as an integer.

GetFalloutIniString ( string p_strSection, string p_strKey ) : string

Retrieves the specified Fallout.ini value as a string.

GetFalloutVersion ( ) : System.Version

Gets the version of the game that is installed.

GetGeckIniInt ( string p_strSection, string p_strKey ) : int

Retrieves the specified GECKCustom.ini value as an integer.

GetGeckIniString ( string p_strSection, string p_strKey ) : string

Retrieves the specified GECKCustom.ini value as a string.

GetGeckPrefsIniInt ( string p_strSection, string p_strKey ) : int

Retrieves the specified GECKPrefs.ini value as an integer.

GetGeckPrefsIniString ( string p_strSection, string p_strKey ) : string

Retrieves the specified GECKPrefs.ini value as a string.

GetPrefsIniInt ( string p_strSection, string p_strKey ) : int

Retrieves the specified FalloutPrefs.ini value as an integer.

GetPrefsIniString ( string p_strSection, string p_strKey ) : string

Retrieves the specified FalloutPrefs.ini value as a string.

GetRendererInfo ( string p_strValue ) : string

Gets the specified value from the RendererInfo.txt file.

IsAIActive ( ) : bool

Determines if archive invalidation is active.

IsLoadOrderAutoSorted ( ) : bool

Determines if the plugins have been auto-sorted.

ScriptExtenderPresent ( ) : bool

Indicates whether or a script extender is present.

SetupScriptCompiler ( TesPlugin p_plgPlugins ) : void

Sets up the script compiler for the given plugins.

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

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

Auto-sorts the specified plugins.
This is, apparently, a beta function. Use with caution.
public AutoSortPlugins ( string p_strPlugins ) : void
p_strPlugins string The list of plugins to auto-sort.
Результат void

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

Compiles the result script.
public CompileResultScript ( SubRecord sr, Record &r2, string &msg ) : void
sr Nexus.Client.Games.Gamebryo.Tools.TESsnip.SubRecord
r2 Nexus.Client.Games.Gamebryo.Tools.TESsnip.Record
msg string
Результат void

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

Compiles a script.
public CompileScript ( Record r2, string &msg ) : void
r2 Nexus.Client.Games.Gamebryo.Tools.TESsnip.Record
msg string
Результат void

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

Sets the specified value in the Fallout.ini file to the given value.
public EditFalloutINI ( string p_strSection, string p_strKey, string p_strValue, bool p_booSaveOld ) : 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.
p_booSaveOld bool Not used.
Результат bool

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

Sets the specified value in the GECKCustom.ini file to the given value.
public EditGeckINI ( string p_strSection, string p_strKey, string p_strValue, bool p_booSaveOld ) : 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.
p_booSaveOld bool Not used.
Результат bool

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

Sets the specified value in the GECKPrefs.ini file to the given value.
public EditGeckPrefsINI ( string p_strSection, string p_strKey, string p_strValue, bool p_booSaveOld ) : 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.
p_booSaveOld bool Not used.
Результат bool

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

Sets the specified value in the FalloutPrefs.ini file to the given value.
public EditPrefsINI ( string p_strSection, string p_strKey, string p_strValue, bool p_booSaveOld ) : 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.
p_booSaveOld bool Not used.
Результат bool

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

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

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

A simple constructor that initialies the object with the given values.
public FalloutCSharpScriptFunctionProxy ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, BsaManager p_bamBsaManager, UIUtil 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_bamBsaManager Nexus.Client.Games.Gamebryo.ModManagement.Scripting.BsaManager The manager to use to work with BSA files.
p_uipUIProxy Nexus.Client.ModManagement.Scripting.UIUtil The UI manager to use to interact with UI elements.
Результат System

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

Determins where in the load order the specified plugin would be inserted if the plugins were auto-sorted.
public GetAutoInsertionPoint ( string p_strPlugin ) : int
p_strPlugin string The name of the plugin whose auto-sort insertion /// point is to be determined.
Результат int

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

Retrieves the list of files in the specified BSA.
public GetBSAFileList ( string p_strBsa ) : string[]
p_strBsa string The BSA whose file listing is requested.
Результат string[]

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

Gets the specified file from the specified BSA.
public GetDataFileFromBSA ( string p_strBsa, string p_strFile ) : byte[]
p_strBsa string The BSA from which to extract the specified file.
p_strFile string The files to extract form the specified BSA.
Результат byte[]

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

Retrieves the specified Fallout.ini value as an integer.
public GetFalloutIniInt ( string p_strSection, string p_strKey ) : int
p_strSection string The section containing the value to retrieve.
p_strKey string The key of the value to retrieve.
Результат int

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

Retrieves the specified Fallout.ini value as a string.
public GetFalloutIniString ( string p_strSection, string p_strKey ) : string
p_strSection string The section containing the value to retrieve.
p_strKey string The key of the value to retrieve.
Результат string

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

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

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

Retrieves the specified GECKCustom.ini value as an integer.
public GetGeckIniInt ( string p_strSection, string p_strKey ) : int
p_strSection string The section containing the value to retrieve.
p_strKey string The key of the value to retrieve.
Результат int

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

Retrieves the specified GECKCustom.ini value as a string.
public GetGeckIniString ( string p_strSection, string p_strKey ) : string
p_strSection string The section containing the value to retrieve.
p_strKey string The key of the value to retrieve.
Результат string

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

Retrieves the specified GECKPrefs.ini value as an integer.
public GetGeckPrefsIniInt ( string p_strSection, string p_strKey ) : int
p_strSection string The section containing the value to retrieve.
p_strKey string The key of the value to retrieve.
Результат int

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

Retrieves the specified GECKPrefs.ini value as a string.
public GetGeckPrefsIniString ( string p_strSection, string p_strKey ) : string
p_strSection string The section containing the value to retrieve.
p_strKey string The key of the value to retrieve.
Результат string

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

Retrieves the specified FalloutPrefs.ini value as an integer.
public GetPrefsIniInt ( string p_strSection, string p_strKey ) : int
p_strSection string The section containing the value to retrieve.
p_strKey string The key of the value to retrieve.
Результат int

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

Retrieves the specified FalloutPrefs.ini value as a string.
public GetPrefsIniString ( string p_strSection, string p_strKey ) : string
p_strSection string The section containing the value to retrieve.
p_strKey string The key of the value to retrieve.
Результат string

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

Gets the specified value from the RendererInfo.txt file.
public GetRendererInfo ( string p_strValue ) : string
p_strValue string The value to retrieve from the file.
Результат string

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

Determines if archive invalidation is active.
public IsAIActive ( ) : bool
Результат bool

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

Determines if the plugins have been auto-sorted.
public IsLoadOrderAutoSorted ( ) : bool
Результат bool

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

Indicates whether or a script extender is present.
public ScriptExtenderPresent ( ) : bool
Результат bool

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

Sets up the script compiler for the given plugins.
public SetupScriptCompiler ( TesPlugin p_plgPlugins ) : void
p_plgPlugins Nexus.Client.Games.Gamebryo.Tools.TESsnip.TesPlugin The plugins for which to set up the script compiler.
Результат void