C# Class ME3Explorer.Packages.ME2Package

Inheritance: MEPackage, IMEPackage
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Private Properties

Свойство Type Description
ME2Package System

Méthodes publiques

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

Méthodes protégées

Méthode Description
AfterSave ( ) : void

Private Methods

Méthode Description
ME2Package ( string path ) : System

Method Details

AfterSave() protected méthode

protected AfterSave ( ) : void
Résultat void

Initialize() public static méthode

public static Initialize ( ) : ME2Package>.Func
Résultat ME2Package>.Func

ReadExports() public méthode

public ReadExports ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

ReadImports() public méthode

public ReadImports ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

ReadNames() public méthode

public ReadNames ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

addExport() public méthode

public addExport ( IExportEntry exportEntry ) : void
exportEntry IExportEntry
Résultat void

addExport() public méthode

public addExport ( ME2ExportEntry exportEntry ) : void
exportEntry ME2ExportEntry
Résultat void

appendSave() public méthode

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
Résultat void

getClassName() public méthode

public getClassName ( int index ) : string
index int
Résultat string

getEntry() public méthode

gets Export or Import entry
public getEntry ( int index ) : IEntry
index int unreal index
Résultat IEntry

getExport() public méthode

public getExport ( int index ) : IExportEntry
index int
Résultat IExportEntry

getObjectClass() public méthode

public getObjectClass ( int index ) : string
index int
Résultat string

getObjectName() public méthode

public getObjectName ( int index ) : string
index int
Résultat string

isExport() public méthode

public isExport ( int Index ) : bool
Index int
Résultat bool

save() public méthode

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

save() public méthode

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

saveByReconstructing() public méthode

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