Method | Description | |
---|---|---|
BeginReadOnlyTransaction ( |
Starts a read-only transaction. This puts the Mod into read-only mode. Read-only mode can greatly increase the speed at which multiple file are extracted. |
|
DummyMod ( string p_strName, string p_strFileName ) : System |
A simple constructor that initializes the object with the given values.
|
|
DummyMod ( string p_strName, string p_strFileName, System.Version p_verMachineVersion, string p_strHumanReadableVersion, string p_strLastKnownVersion, string p_strInstallDate ) : System |
A simple constructor that initializes the object with the given values.
|
|
EndReadOnlyTransaction ( ) : void |
Ends a read-only transaction. This takes the Mod out of read-only mode. Read-only mode can greatly increase the speed at which multiple file are extracted. |
|
GetFile ( string p_strFile ) : byte[] |
Retrieves the specified file from the mod.
|
|
GetFileList ( ) : List |
Retrieves the list of files in this Mod.
|
|
GetFileList ( string p_strFolderPath, bool p_booRecurse ) : List |
Retrieves the list of all files in the specified Mod folder.
|
|
IsMatchingVersion ( ) : bool |
Determines if last known version is the same as the current version.
|
|
UpdateInfo ( IModInfo p_mifInfo, bool p_booOverwriteAllValues ) : void |
Updates the object's proerties to the values of the given IModInfo.
|
public BeginReadOnlyTransaction ( |
||
p_futFileUtil | ||
return | void |
public DummyMod ( string p_strName, string p_strFileName ) : System | ||
p_strName | string | The name of the dummy mod. |
p_strFileName | string | The filename of the dummy mod. |
return | System |
public DummyMod ( string p_strName, string p_strFileName, System.Version p_verMachineVersion, string p_strHumanReadableVersion, string p_strLastKnownVersion, string p_strInstallDate ) : System | ||
p_strName | string | The name of the dummy mod. |
p_strFileName | string | The filename of the dummy mod. |
p_verMachineVersion | System.Version | The version of the mod. |
p_strHumanReadableVersion | string | The human readable form of the mod's version. |
p_strLastKnownVersion | string | The the last known mod version. |
p_strInstallDate | string | The install date of the mod. |
return | System |
public GetFile ( string p_strFile ) : byte[] | ||
p_strFile | string | The file to retrieve. |
return | byte[] |
public GetFileList ( string p_strFolderPath, bool p_booRecurse ) : List |
||
p_strFolderPath | string | The Mod folder whose file list is to be retrieved. |
p_booRecurse | bool | Whether to return files that are in subdirectories of the given directory. |
return | List |
public UpdateInfo ( IModInfo p_mifInfo, bool p_booOverwriteAllValues ) : void | ||
p_mifInfo | IModInfo | The |
p_booOverwriteAllValues | bool | Whether to overwrite the current info values, /// or just the empty ones. |
return | void |