C# Class KFreonLib.PCCObjects.Misc

Provides miscellaneous methods related to PCC's.
Exibir arquivo Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Methods

Method Description
Decompress ( Stream input ) : byte[]

decompress an entire pcc file.

ReorderFiles ( List &files, List &expIDs, string pathBIOGame, int GameVersion ) : bool

Reorders files in a Tex2D object so the first file has a proper arcname variable. THANKS PRINCE.

ValidTexClass ( string ClassName ) : bool

Returns true if given ClassName is a valid texture class.

Private Methods

Method Description
CheckSearchedTexture ( string file, int expID, string objectName, int whichgame ) : bool

Searches for PCC by name in a certain game specified by PathInclDLC. Can also use expID to narrow search if required. Return name of PCC, empty if not found.

Method Details

Decompress() public static method

decompress an entire pcc file.
public static Decompress ( Stream input ) : byte[]
input Stream pcc file passed in stream format
return byte[]

ReorderFiles() public static method

Reorders files in a Tex2D object so the first file has a proper arcname variable. THANKS PRINCE.
public static ReorderFiles ( List &files, List &expIDs, string pathBIOGame, int GameVersion ) : bool
files List List of PCC's to check.
expIDs List List of ExpID's for given PCC's.
pathBIOGame string Path to BIOGame folder.
GameVersion int Game in question.
return bool

ValidTexClass() public static method

Returns true if given ClassName is a valid texture class.
public static ValidTexClass ( string ClassName ) : bool
ClassName string ClassName to validate.
return bool