Property | Type | Description | |
---|---|---|---|
Loaded | bool | ||
bDLCStored | bool | ||
header | byte[] |
Property | Type | Description | |
---|---|---|---|
getData | void |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 | |
return | System |
public addExport ( ExportEntry exportEntry ) : void | ||
exportEntry | ExportEntry | |
return | void |
public addImport ( |
||
importEntry | ||
return | 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 | |
return | string |
public findName ( string nameToFind ) : int | ||
nameToFind | string | The name of the string to find |
return | int |
public getEntry ( int index ) : IEntry | ||
index | int | unreal index |
return | IEntry |
public save ( string path ) : void | ||
path | string | full path + file name. |
return | void |
public saveByReconstructing ( string path ) : void | ||
path | string | full path + file name. |
return | void |