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

The base class for the Fallout variant of C# scripts.
상속: CSharpBaseScript
파일 보기 프로젝트 열기: 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.

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.

GetFileFromFomod ( string p_strFile ) : byte[]

Retrieves the specified file from the mod.

GetFommVersion ( ) : System.Version

Gets the version of the mod manager.

GetFomodFileList ( ) : string[]

Retrieves the list of files in the mod.

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.

InstallFileFromFomod ( string p_strFile ) : bool

Installs the speified file from the mod to the file system.

InstallFileFromFomod ( string p_strFrom, string p_strTo ) : bool

Installs the specified file from the mod to the specified location on the file system.

IsAIActive ( ) : bool

Determines if archive invalidation is active.

IsLoadOrderAutoSorted ( ) : bool

Determines if the plugins have been auto-sorted.

ScriptExtenderPresent ( ) : bool

Indicates whether or not 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 static AutoSortPlugins ( string p_strPlugins ) : void
p_strPlugins string The list of plugins to auto-sort.
리턴 void

CompileResultScript() 공개 정적인 메소드

Compiles the result script.
public static 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 static 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 static 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 static 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 static 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 static 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 static 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

GetAutoInsertionPoint() 공개 정적인 메소드

Determins where in the load order the specified plugin would be inserted if the plugins were auto-sorted.
public static 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 static 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 static 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 static 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 static 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 static GetFalloutVersion ( ) : System.Version
리턴 System.Version

GetFileFromFomod() 공개 정적인 메소드

Retrieves the specified file from the mod.
public static GetFileFromFomod ( string p_strFile ) : byte[]
p_strFile string The file to retrieve.
리턴 byte[]

GetFommVersion() 공개 정적인 메소드

Gets the version of the mod manager.
public static GetFommVersion ( ) : System.Version
리턴 System.Version

GetFomodFileList() 공개 정적인 메소드

Retrieves the list of files in the mod.
public static GetFomodFileList ( ) : string[]
리턴 string[]

GetGeckIniInt() 공개 정적인 메소드

Retrieves the specified GECKCustom.ini value as an integer.
public static 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 static 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 static 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 static 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 static 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 static 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 static GetRendererInfo ( string p_strValue ) : string
p_strValue string The value to retrieve from the file.
리턴 string

InstallFileFromFomod() 공개 정적인 메소드

Installs the speified file from the mod to the file system.
public static InstallFileFromFomod ( string p_strFile ) : bool
p_strFile string The path of the file to install.
리턴 bool

InstallFileFromFomod() 공개 정적인 메소드

Installs the specified file from the mod to the specified location on the file system.
public static InstallFileFromFomod ( string p_strFrom, string p_strTo ) : bool
p_strFrom string The path of the file in the mod to install.
p_strTo string The path on the file system where the file is to be created.
리턴 bool

IsAIActive() 공개 정적인 메소드

Determines if archive invalidation is active.
public static IsAIActive ( ) : bool
리턴 bool

IsLoadOrderAutoSorted() 공개 정적인 메소드

Determines if the plugins have been auto-sorted.
public static IsLoadOrderAutoSorted ( ) : bool
리턴 bool

ScriptExtenderPresent() 공개 정적인 메소드

Indicates whether or not a script extender is present.
public static ScriptExtenderPresent ( ) : bool
리턴 bool

SetupScriptCompiler() 공개 정적인 메소드

Sets up the script compiler for the given plugins.
public static 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