C# Class KFreonLib.PCCObjects.Misc

Provides miscellaneous methods related to PCC's.
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

ReorderFiles() public static méthode

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.
Résultat bool

ValidTexClass() public static méthode

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