C# Class Nexus.Client.Games.Fallout3.Scripting.CSharpScript.FalloutCSharpScriptFunctionProxy

Implements the functions availabe to Fallout C# scripts.
Inheritance: Nexus.Client.ModManagement.Scripting.CSharpScript.CSharpScriptFunctionProxy
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode Description
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.

Method Details

AutoSortPlugins() public méthode

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.
Résultat void

CompileResultScript() public méthode

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
Résultat void

CompileScript() public méthode

Compiles a script.
public CompileScript ( Record r2, string &msg ) : void
r2 Nexus.Client.Games.Gamebryo.Tools.TESsnip.Record
msg string
Résultat void

EditFalloutINI() public méthode

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.
Résultat bool

EditGeckINI() public méthode

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.
Résultat bool

EditGeckPrefsINI() public méthode

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.
Résultat bool

EditPrefsINI() public méthode

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.
Résultat bool

EditShader() public méthode

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.
Résultat bool

FalloutCSharpScriptFunctionProxy() public méthode

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.
Résultat System

GetAutoInsertionPoint() public méthode

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.
Résultat int

GetBSAFileList() public méthode

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.
Résultat string[]

GetDataFileFromBSA() public méthode

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.
Résultat byte[]

GetFalloutIniInt() public méthode

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.
Résultat int

GetFalloutIniString() public méthode

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.
Résultat string

GetFalloutVersion() public méthode

Gets the version of the game that is installed.
public GetFalloutVersion ( ) : System.Version
Résultat System.Version

GetGeckIniInt() public méthode

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.
Résultat int

GetGeckIniString() public méthode

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.
Résultat string

GetGeckPrefsIniInt() public méthode

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.
Résultat int

GetGeckPrefsIniString() public méthode

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.
Résultat string

GetPrefsIniInt() public méthode

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.
Résultat int

GetPrefsIniString() public méthode

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.
Résultat string

GetRendererInfo() public méthode

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.
Résultat string

IsAIActive() public méthode

Determines if archive invalidation is active.
public IsAIActive ( ) : bool
Résultat bool

IsLoadOrderAutoSorted() public méthode

Determines if the plugins have been auto-sorted.
public IsLoadOrderAutoSorted ( ) : bool
Résultat bool

ScriptExtenderPresent() public méthode

Indicates whether or a script extender is present.
public ScriptExtenderPresent ( ) : bool
Résultat bool

SetupScriptCompiler() public méthode

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.
Résultat void