Method | 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. |
return | bool |
public static Get64BitRandom ( ulong minValue, ulong maxValue ) : ulong | ||
minValue | ulong | |
maxValue | ulong | |
return | ulong |
public static GetFileID ( FAR3Entry Entry ) : uint | ||
Entry | FAR3Entry | The entry generated for the file. |
return | uint |
public static GetTypeID ( string Filetype ) : uint | ||
Filetype | string | A filetype used by the game. |
return | uint |
public static SanitizeFilename ( string Filename ) : string | ||
Filename | string | The name to sanitize. |
return | string |
public static ToID ( uint TypeID, uint FileID ) : ulong | ||
TypeID | uint | A TypeID from a FAR3Entry. |
FileID | uint | A FileID from a FAR3Entry. |
return | ulong |