Méthode | Description | |
---|---|---|
CheckCollision ( ulong ID, string>.Dictionary |
Checks for collisions between existing and generated IDs, and prints out if any were found.
|
|
Get64BitRandom ( ulong minValue, ulong maxValue ) : ulong | ||
GetFileID ( FAR3Entry Entry ) : uint |
Returns a FileID for a rogue file (file that isn't archived).
|
|
GetTypeID ( string Filetype ) : uint |
Returns the TypeID for a given filetype.
|
|
SanitizeFilename ( string Filename ) : string |
Sanitize's a file's name so it can be used in an C# enumeration.
|
|
ToID ( uint TypeID, uint FileID ) : ulong |
Converts a TypeID and FileID to a ulong that can be converted to a hex string for output as XML.
|
public static CheckCollision ( ulong ID, string>.Dictionary |
||
ID | ulong | |
UIEntries | string>.Dictionary | The entries to check. |
Résultat | bool |
public static Get64BitRandom ( ulong minValue, ulong maxValue ) : ulong | ||
minValue | ulong | |
maxValue | ulong | |
Résultat | ulong |
public static GetFileID ( FAR3Entry Entry ) : uint | ||
Entry | FAR3Entry | The entry generated for the file. |
Résultat | uint |
public static GetTypeID ( string Filetype ) : uint | ||
Filetype | string | A filetype used by the game. |
Résultat | uint |
public static SanitizeFilename ( string Filename ) : string | ||
Filename | string | The name to sanitize. |
Résultat | string |
public static ToID ( uint TypeID, uint FileID ) : ulong | ||
TypeID | uint | A TypeID from a FAR3Entry. |
FileID | uint | A FileID from a FAR3Entry. |
Résultat | ulong |