C# Class ME3Explorer.Packages.ME2Package

Inheritance: MEPackage, IMEPackage
Exibir arquivo Open project: ME3Explorer/ME3Explorer Class Usage Examples

Private Properties

Property Type Description
ME2Package System

Public Methods

Method Description
Initialize ( ) : ME2Package>.Func
ReadExports ( MemoryStream fs ) : void
ReadImports ( MemoryStream fs ) : void
ReadNames ( MemoryStream fs ) : void
addExport ( IExportEntry exportEntry ) : void
addExport ( ME2ExportEntry exportEntry ) : void
appendSave ( string newFileName ) : void

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

getClassName ( int index ) : string
getEntry ( int index ) : IEntry

gets Export or Import entry

getExport ( int index ) : IExportEntry
getObjectClass ( int index ) : string
getObjectName ( int index ) : string
isExport ( 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

Protected Methods

Method Description
AfterSave ( ) : void

Private Methods

Method Description
ME2Package ( string path ) : System

Method Details

AfterSave() protected method

protected AfterSave ( ) : void
return void

Initialize() public static method

public static Initialize ( ) : ME2Package>.Func
return ME2Package>.Func

ReadExports() public method

public ReadExports ( MemoryStream fs ) : void
fs System.IO.MemoryStream
return void

ReadImports() public method

public ReadImports ( MemoryStream fs ) : void
fs System.IO.MemoryStream
return void

ReadNames() public method

public ReadNames ( MemoryStream fs ) : void
fs System.IO.MemoryStream
return void

addExport() public method

public addExport ( IExportEntry exportEntry ) : void
exportEntry IExportEntry
return void

addExport() public method

public addExport ( ME2ExportEntry exportEntry ) : void
exportEntry ME2ExportEntry
return void

appendSave() public method

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
public appendSave ( string newFileName ) : void
newFileName string The filename to write to
return void

getClassName() public method

public getClassName ( int index ) : string
index int
return string

getEntry() public method

gets Export or Import entry
public getEntry ( int index ) : IEntry
index int unreal index
return IEntry

getExport() public method

public getExport ( int index ) : IExportEntry
index int
return IExportEntry

getObjectClass() public method

public getObjectClass ( int index ) : string
index int
return string

getObjectName() public method

public getObjectName ( int index ) : string
index int
return string

isExport() public method

public isExport ( int Index ) : bool
Index int
return bool

save() public method

save PCC to same file by reconstruction if possible, append if not
public save ( ) : void
return void

save() public method

save PCC by reconstruction if possible, append if not
public save ( string path ) : void
path string full path + file name.
return void

saveByReconstructing() public method

save PCCObject to file by reconstruction from data
public saveByReconstructing ( string path ) : void
path string full path + file name.
return void