C# 클래스 Nexus.Client.Games.Fallout3.Scripting.CSharpScript.FalloutCSharpScriptFunctionProxy

Implements the functions availabe to Fallout C# scripts.
상속: Nexus.Client.ModManagement.Scripting.CSharpScript.CSharpScriptFunctionProxy
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
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