Свойство | Тип | Описание | |
---|---|---|---|
Loaded | bool | ||
bDLCStored | bool | ||
header | byte[] |
Свойство | Тип | Описание | |
---|---|---|---|
getData | void |
Метод | Описание | |
---|---|---|
FindNameOrAdd ( string n ) : int | ||
UDKFile ( ) : System | ||
UDKFile ( string udkFilePath, bool fullFileInMemory = false ) : System |
UDKFile class constructor. It also load namelist, importlist and exportinfo (not exportdata) from udk file
|
|
addExport ( ExportEntry exportEntry ) : void | ||
addImport ( |
||
addName ( string n ) : void | ||
appendSave ( string newFileName, bool attemptOverwrite, int HeadeNameOffset = 34 ) : string |
This method is an alternate way of saving PCCs Instead of reconstructing the PCC from the data taken, it instead copies across the existing data, appends new exports, updates the export list, changes the namelist location and updates the value in the header
|
|
canClone ( ) : bool | ||
findName ( string nameToFind ) : int |
Checks whether a name exists in the PCC and returns its index If it doesn't exist returns -1
|
|
getClassName ( int index ) : string | ||
getEntry ( int index ) : IEntry |
gets Export or Import entry
|
|
getMetadataString ( ) : string | ||
getName ( int index ) : string | ||
getObjectClass ( int index ) : string | ||
getObjectName ( int index ) : string | ||
isExport ( int index ) : bool | ||
isImport ( int index ) : bool | ||
isName ( int index ) : bool | ||
save ( ) : void |
save PCC to same file by reconstruction if possible, append if not
|
|
save ( string path ) : void |
save PCC by reconstruction if possible, append if not
|
|
saveByReconstructing ( string path ) : void |
save PCCObject to file by reconstruction from data
|
Метод | Описание | |
---|---|---|
getData ( int offset, ExportEntry exp = null ) : void |
given export data offset, the function recovers it from the file.
|
public UDKFile ( string udkFilePath, bool fullFileInMemory = false ) : System | ||
udkFilePath | string | full path + file name of desired udk file. |
fullFileInMemory | bool | |
Результат | System |
public addExport ( ExportEntry exportEntry ) : void | ||
exportEntry | ExportEntry | |
Результат | void |
public addImport ( |
||
importEntry | ||
Результат | void |
public appendSave ( string newFileName, bool attemptOverwrite, int HeadeNameOffset = 34 ) : string | ||
newFileName | string | The filename to write to |
attemptOverwrite | bool | Do you wish to attempt to overwrite the existing export |
HeadeNameOffset | int | |
Результат | string |
public findName ( string nameToFind ) : int | ||
nameToFind | string | The name of the string to find |
Результат | int |
public getClassName ( int index ) : string | ||
index | int | |
Результат | string |
public getEntry ( int index ) : IEntry | ||
index | int | unreal index |
Результат | IEntry |
public getObjectClass ( int index ) : string | ||
index | int | |
Результат | string |
public getObjectName ( int index ) : string | ||
index | int | |
Результат | string |
public save ( string path ) : void | ||
path | string | full path + file name. |
Результат | void |
public saveByReconstructing ( string path ) : void | ||
path | string | full path + file name. |
Результат | void |