Method | Description | |
---|---|---|
CheckModReadMe ( string p_strModName ) : string[] |
Check if there's a readme file for the given mod.
|
|
CheckReadMeFolder ( ) : bool |
Checks if the read me folder is already present, otherwise it tries to create it.
|
|
DeleteReadMe ( string p_strFileName ) : void |
Deletes the readme file.
|
|
GetModReadMe ( string p_strModName, string p_strFileName ) : string |
Get the ReadMe file path if it exists.
|
|
LoadReadMe ( ) : void |
Check if the readme setup file is already present.
|
|
ReadMeManager ( string p_strFilePath ) : System |
A simple constructor that initializes the ReadMeManager.
|
|
ReadVersion ( string p_strReadMePath ) : System.Version |
Reads the ReadMe manager version from the given file.
|
|
SaveReadMeConfig ( ) : void |
Save the data to the category file.
|
|
VerifyReadMeFile ( |
Verifies if the readme file exists in the archive and saves it to the ReadMe folder.
|
Method | Description | |
---|---|---|
CreateReadMeArchive ( string p_strArchiveFile, string p_strFilesToCompress ) : bool |
Creates the readme files archive for the current mod.
|
|
PurgeTempFolder ( ) : void |
Removes any file in the ReadMe/Temp folder.
|
Method | Description | |
---|---|---|
GetFileList ( |
Retrieves the list of all files in the specified folder.
|
public CheckModReadMe ( string p_strModName ) : string[] | ||
p_strModName | string | |
return | string[] |
protected CreateReadMeArchive ( string p_strArchiveFile, string p_strFilesToCompress ) : bool | ||
p_strArchiveFile | string | The archive name. |
p_strFilesToCompress | string | The list of files to compress. |
return | bool |
public DeleteReadMe ( string p_strFileName ) : void | ||
p_strFileName | string | The path where the ReadMe folder should be created. |
return | void |
public GetModReadMe ( string p_strModName, string p_strFileName ) : string | ||
p_strModName | string | |
p_strFileName | string | The mod file name. |
return | string |
public ReadMeManager ( string p_strFilePath ) : System | ||
p_strFilePath | string | The path where the ReadMe folder should be created. |
return | System |
public static ReadVersion ( string p_strReadMePath ) : System.Version | ||
p_strReadMePath | string | |
return | System.Version |
public VerifyReadMeFile ( |
||
p_tfmFileManager | ||
p_strArchivePath | string | The path to the mod archive. |
return | bool |