C# Класс KFreonLib.PCCObjects.Misc

Provides miscellaneous methods related to PCC's.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Decompress() публичный статический Метод

decompress an entire pcc file.
public static Decompress ( Stream input ) : byte[]
input Stream pcc file passed in stream format
Результат byte[]

ReorderFiles() публичный статический Метод

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.
Результат bool

ValidTexClass() публичный статический Метод

Returns true if given ClassName is a valid texture class.
public static ValidTexClass ( string ClassName ) : bool
ClassName string ClassName to validate.
Результат bool